diff --git a/idl/XBatchConverter.idl b/idl/XBatchConverter.idl new file mode 100644 index 0000000..cd8f72e --- /dev/null +++ b/idl/XBatchConverter.idl @@ -0,0 +1,52 @@ +#ifndef __org_openoffice_da_writer2xhtml_XBatchConverter_idl__ +#define __org_openoffice_da_writer2xhtml_XBatchConverter_idl__ +#include +#include + +module org { module openoffice { module da { module writer2xhtml { + +// This interface is an IDL version of the java interface (writer2latex.api.BatchHandler) +interface XBatchHandler : com::sun::star::uno::XInterface +{ + + // method org::openoffice::da::writer2xhtml::XBatchHandler::startConversion + void startConversion (); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::endConversion + void endConversion (); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::startDirectory + void startDirectory ( [in] string sName ); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::endDirectory + void endDirectory ( [in] string sName, [in] boolean bSuccess ); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::startFile + void startFile ( [in] string sName ); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::endFile + void endFile ( [in] string sName, [in] boolean bSuccess ); + + // method org::openoffice::da::writer2xhtml::XBatchHandler::cancel + boolean cancel (); + +}; + +// This interface is an IDL version of the java interface (writer2latex.api.BatchConverter) +interface XBatchConverter : com::sun::star::uno::XInterface +{ + + // method org::openoffice::da::writer2xhtml::XBatchConverter::convert + void convert ( [in] string sSourceURL, + [in] string sTargetURL, + [in] sequence< com::sun::star::beans::PropertyValue > lArguments, + [in] XBatchHandler handler ); + +} ; + + +}; }; }; }; + +#endif + + \ No newline at end of file diff --git a/idl/org/libreoffice/example/Writer2latex.idl b/idl/org/libreoffice/example/Writer2latex.idl new file mode 100644 index 0000000..c93c1b5 --- /dev/null +++ b/idl/org/libreoffice/example/Writer2latex.idl @@ -0,0 +1,12 @@ +#ifndef __org_libreoffice_example_writer2latex_idl__ +#define __org_libreoffice_example_writer2latex_idl__ + +#include +module org { module libreoffice { module example { + + service Writer2latex : org::libreoffice::example::XWriter2latex { + + }; + + }; }; }; +#endif diff --git a/idl/org/libreoffice/example/XWriter2latex.idl b/idl/org/libreoffice/example/XWriter2latex.idl new file mode 100644 index 0000000..53f10c7 --- /dev/null +++ b/idl/org/libreoffice/example/XWriter2latex.idl @@ -0,0 +1,11 @@ +#ifndef __org_libreoffice_example_xwriter2latex_idl__ +#define __org_libreoffice_example_xwriter2latex_idl__ + +module org { module libreoffice { module example { + + interface XWriter2latex { + + }; + + }; }; }; +#endif diff --git a/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latex.java b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latex.java new file mode 100644 index 0000000..3ddf6fd --- /dev/null +++ b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latex.java @@ -0,0 +1,13 @@ +package org.libreoffice.example; + + +/** +* org/libreoffice/example/XWriter2latex.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from XWriter2latex.idl +* Friday, 7 July 2017 12:51:34 o'clock MSK +*/ + +public interface XWriter2latex extends XWriter2latexOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity +{ +} // interface XWriter2latex diff --git a/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHelper.java b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHelper.java new file mode 100644 index 0000000..91f682b --- /dev/null +++ b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHelper.java @@ -0,0 +1,85 @@ +package org.libreoffice.example; + + +/** +* org/libreoffice/example/XWriter2latexHelper.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from XWriter2latex.idl +* Friday, 7 July 2017 12:51:34 o'clock MSK +*/ + +abstract public class XWriter2latexHelper +{ + private static String _id = "IDL:org/libreoffice/example/XWriter2latex:1.0"; + + public static void insert (org.omg.CORBA.Any a, org.libreoffice.example.XWriter2latex that) + { + org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); + a.type (type ()); + write (out, that); + a.read_value (out.create_input_stream (), type ()); + } + + public static org.libreoffice.example.XWriter2latex extract (org.omg.CORBA.Any a) + { + return read (a.create_input_stream ()); + } + + private static org.omg.CORBA.TypeCode __typeCode = null; + synchronized public static org.omg.CORBA.TypeCode type () + { + if (__typeCode == null) + { + __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.libreoffice.example.XWriter2latexHelper.id (), "XWriter2latex"); + } + return __typeCode; + } + + public static String id () + { + return _id; + } + + public static org.libreoffice.example.XWriter2latex read (org.omg.CORBA.portable.InputStream istream) + { + return narrow (istream.read_Object (_XWriter2latexStub.class)); + } + + public static void write (org.omg.CORBA.portable.OutputStream ostream, org.libreoffice.example.XWriter2latex value) + { + ostream.write_Object ((org.omg.CORBA.Object) value); + } + + public static org.libreoffice.example.XWriter2latex narrow (org.omg.CORBA.Object obj) + { + if (obj == null) + return null; + else if (obj instanceof org.libreoffice.example.XWriter2latex) + return (org.libreoffice.example.XWriter2latex)obj; + else if (!obj._is_a (id ())) + throw new org.omg.CORBA.BAD_PARAM (); + else + { + org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); + org.libreoffice.example._XWriter2latexStub stub = new org.libreoffice.example._XWriter2latexStub (); + stub._set_delegate(delegate); + return stub; + } + } + + public static org.libreoffice.example.XWriter2latex unchecked_narrow (org.omg.CORBA.Object obj) + { + if (obj == null) + return null; + else if (obj instanceof org.libreoffice.example.XWriter2latex) + return (org.libreoffice.example.XWriter2latex)obj; + else + { + org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); + org.libreoffice.example._XWriter2latexStub stub = new org.libreoffice.example._XWriter2latexStub (); + stub._set_delegate(delegate); + return stub; + } + } + +} diff --git a/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHolder.java b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHolder.java new file mode 100644 index 0000000..c4fb96b --- /dev/null +++ b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexHolder.java @@ -0,0 +1,38 @@ +package org.libreoffice.example; + +/** +* org/libreoffice/example/XWriter2latexHolder.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from XWriter2latex.idl +* Friday, 7 July 2017 12:51:34 o'clock MSK +*/ + +public final class XWriter2latexHolder implements org.omg.CORBA.portable.Streamable +{ + public org.libreoffice.example.XWriter2latex value = null; + + public XWriter2latexHolder () + { + } + + public XWriter2latexHolder (org.libreoffice.example.XWriter2latex initialValue) + { + value = initialValue; + } + + public void _read (org.omg.CORBA.portable.InputStream i) + { + value = org.libreoffice.example.XWriter2latexHelper.read (i); + } + + public void _write (org.omg.CORBA.portable.OutputStream o) + { + org.libreoffice.example.XWriter2latexHelper.write (o, value); + } + + public org.omg.CORBA.TypeCode _type () + { + return org.libreoffice.example.XWriter2latexHelper.type (); + } + +} diff --git a/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexOperations.java b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexOperations.java new file mode 100644 index 0000000..b9d88e6 --- /dev/null +++ b/idl/org/libreoffice/example/org/libreoffice/example/XWriter2latexOperations.java @@ -0,0 +1,13 @@ +package org.libreoffice.example; + + +/** +* org/libreoffice/example/XWriter2latexOperations.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from XWriter2latex.idl +* Friday, 7 July 2017 12:51:34 o'clock MSK +*/ + +public interface XWriter2latexOperations +{ +} // interface XWriter2latexOperations diff --git a/idl/org/libreoffice/example/org/libreoffice/example/_XWriter2latexStub.java b/idl/org/libreoffice/example/org/libreoffice/example/_XWriter2latexStub.java new file mode 100644 index 0000000..be92938 --- /dev/null +++ b/idl/org/libreoffice/example/org/libreoffice/example/_XWriter2latexStub.java @@ -0,0 +1,50 @@ +package org.libreoffice.example; + + +/** +* org/libreoffice/example/_XWriter2latexStub.java . +* Generated by the IDL-to-Java compiler (portable), version "3.2" +* from XWriter2latex.idl +* Friday, 7 July 2017 12:51:34 o'clock MSK +*/ + +public class _XWriter2latexStub extends org.omg.CORBA.portable.ObjectImpl implements org.libreoffice.example.XWriter2latex +{ + + // Type-specific CORBA::Object operations + private static String[] __ids = { + "IDL:org/libreoffice/example/XWriter2latex:1.0"}; + + public String[] _ids () + { + return (String[])__ids.clone (); + } + + private void readObject (java.io.ObjectInputStream s) throws java.io.IOException + { + String str = s.readUTF (); + String[] args = null; + java.util.Properties props = null; + org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props); + try { + org.omg.CORBA.Object obj = orb.string_to_object (str); + org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate (); + _set_delegate (delegate); + } finally { + orb.destroy() ; + } + } + + private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException + { + String[] args = null; + java.util.Properties props = null; + org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props); + try { + String str = orb.object_to_string (this); + s.writeUTF (str); + } finally { + orb.destroy() ; + } + } +} // class _XWriter2latexStub diff --git a/idl/org/openoffice/da/writer2latex/XW2LStarMathConverter.class b/idl/org/openoffice/da/writer2latex/XW2LStarMathConverter.class new file mode 100644 index 0000000..20fc93e Binary files /dev/null and b/idl/org/openoffice/da/writer2latex/XW2LStarMathConverter.class differ diff --git a/idl/org/openoffice/da/writer2xhtml/XBatchConverter.class b/idl/org/openoffice/da/writer2xhtml/XBatchConverter.class new file mode 100644 index 0000000..a10c1c0 Binary files /dev/null and b/idl/org/openoffice/da/writer2xhtml/XBatchConverter.class differ diff --git a/idl/org/openoffice/da/writer2xhtml/XBatchHandler.class b/idl/org/openoffice/da/writer2xhtml/XBatchHandler.class new file mode 100644 index 0000000..24990d7 Binary files /dev/null and b/idl/org/openoffice/da/writer2xhtml/XBatchHandler.class differ diff --git a/idl/writer2xhtml.rdb b/idl/writer2xhtml.rdb new file mode 100644 index 0000000..ba0a189 Binary files /dev/null and b/idl/writer2xhtml.rdb differ