View | Details | Raw Unified | Return to issue 97690
Collapse All | Expand All

(-)misc/build/writer2latex05/build.xml-old (-8 / +5 lines)
Lines 7-15 Link Here
7
-->
7
-->
8
<project name="w2l" default="help" basedir=".">
8
<project name="w2l" default="help" basedir=".">
9
9
10
    <!-- set this property to the location of your SO/OOo installation -->
11
	<property name="OFFICE_HOME" location="c:/programmer/sun/staroffice 8"/>
12
13
    <description>writer2latex - build file</description>
10
    <description>writer2latex - build file</description>
14
11
15
    <target name="help" description="Displays usage information">
12
    <target name="help" description="Displays usage information">
Lines 40-46 Link Here
40
    <property name="target.lib" location="target/lib"/>
37
    <property name="target.lib" location="target/lib"/>
41
    <!-- classpath for the application; needs java-uno classes -->
38
    <!-- classpath for the application; needs java-uno classes -->
42
    <path id="main.class.path"> 
39
    <path id="main.class.path"> 
43
        <filelist dir="${OFFICE_HOME}/program/classes"
40
        <filelist dir="${solar.jar}"
44
            files="jurt.jar,unoil.jar,ridl.jar,juh.jar"/>
41
            files="jurt.jar,unoil.jar,ridl.jar,juh.jar"/>
45
    </path> 
42
    </path> 
46
43
Lines 85-91 Link Here
85
                <attribute name="Main-Class" value="writer2latex.Application"/>
85
                <attribute name="Main-Class" value="writer2latex.Application"/>
86
                <!-- OOo needs this to register the filter: -->
86
                <!-- OOo needs this to register the filter: -->
87
                <attribute name="RegistrationClassName" value="writer2latex.filter.W2LExportFilter" />
87
                <attribute name="RegistrationClassName" value="writer2latex.filter.W2LExportFilter" />
88
                <attribute name="Class-Path" value="jaxp.jar parser.jar"/>
88
                <attribute name="Class-Path" value="jaxp.jar jaxp_parser_impl.jar"/>
89
            </manifest>
89
            </manifest>
90
        </jar>
90
        </jar>
91
    </target>
91
    </target>
92
-- misc/build/writer2latex05/source/writer2latex/office/ImageLoader.java       2007-04-17 09:30:42.000000000 +0200
92
++ misc/build/writer2latex05/source/writer2latex/office/ImageLoader.java        2007-11-20 21:18:32.000000000 +0100
Lines 107-114 Link Here
107
                }
107
                }
108
                // TODO: Use another base64 decoder. This one is "nonstandard"
108
                // TODO: Use another base64 decoder. This one is "nonstandard"
109
                try {
109
                try {
110
                    blob = new sun.misc.BASE64Decoder().decodeBuffer(buf.toString());
110
                   blob = org.apache.xerces.impl.dv.util.Base64.decode(buf.toString());
111
                } catch (IOException e) {
111
                } catch (Exception e) {
112
                    System.err.println("Oops - error converting base64");
112
                    System.err.println("Oops - error converting base64");
113
                }
113
                }
114
                sMIME = MIMETypes.getMagicMIMEType(blob);
114
                sMIME = MIMETypes.getMagicMIMEType(blob);
(-)source/oxt/writer2latex/w2l_types.xcu (-2 lines)
Lines 9-15 Link Here
9
		<prop oor:name="Extensions"><value>bib</value></prop>
9
		<prop oor:name="Extensions"><value>bib</value></prop>
10
		<prop oor:name="MediaType"/>
10
		<prop oor:name="MediaType"/>
11
		<prop oor:name="Preferred"><value>false</value></prop>
11
		<prop oor:name="Preferred"><value>false</value></prop>
12
		<prop oor:name="PreferredFilter"><value>BibTeX Data File</value></prop>
13
		<prop oor:name="UIName">
12
		<prop oor:name="UIName">
14
			<value>BibTeX Data File</value>
13
			<value>BibTeX Data File</value>
15
		</prop>
14
		</prop>
Lines 22-28 Link Here
22
		<prop oor:name="Extensions"><value>tex</value></prop>
21
		<prop oor:name="Extensions"><value>tex</value></prop>
23
		<prop oor:name="MediaType"/>
22
		<prop oor:name="MediaType"/>
24
		<prop oor:name="Preferred"><value>false</value></prop>
23
		<prop oor:name="Preferred"><value>false</value></prop>
25
		<prop oor:name="PreferredFilter"><value>LaTeX File</value></prop>
26
		<prop oor:name="UIName">
24
		<prop oor:name="UIName">
27
			<value>LaTeX 2e</value>
25
			<value>LaTeX 2e</value>
28
		</prop>
26
		</prop>
(-)source/oxt/writer2xhtml/w2x_types.xcu (-3 lines)
Lines 9-15 Link Here
9
		<prop oor:name="Extensions"><value>html</value></prop>
9
		<prop oor:name="Extensions"><value>html</value></prop>
10
		<prop oor:name="MediaType"/>
10
		<prop oor:name="MediaType"/>
11
		<prop oor:name="Preferred"><value>false</value></prop>
11
		<prop oor:name="Preferred"><value>false</value></prop>
12
		<prop oor:name="PreferredFilter"><value>XHTML 1.0 strict File</value></prop>
13
		<prop oor:name="UIName">
12
		<prop oor:name="UIName">
14
			<value>XHTML 1.0 strict</value>
13
			<value>XHTML 1.0 strict</value>
15
		</prop>
14
		</prop>
Lines 22-28 Link Here
22
		<prop oor:name="Extensions"><value>xhtml</value></prop>
21
		<prop oor:name="Extensions"><value>xhtml</value></prop>
23
		<prop oor:name="MediaType"/>
22
		<prop oor:name="MediaType"/>
24
		<prop oor:name="Preferred"><value>false</value></prop>
23
		<prop oor:name="Preferred"><value>false</value></prop>
25
		<prop oor:name="PreferredFilter"><value>XHTML 1.1 plus MathML 2.0 File</value></prop>
26
		<prop oor:name="UIName">
24
		<prop oor:name="UIName">
27
			<value>XHTML 1.1 + MathML 2.0</value>
25
			<value>XHTML 1.1 + MathML 2.0</value>
28
		</prop>
26
		</prop>
Lines 35-41 Link Here
35
		<prop oor:name="Extensions"><value>xml</value></prop>
33
		<prop oor:name="Extensions"><value>xml</value></prop>
36
		<prop oor:name="MediaType"/>
34
		<prop oor:name="MediaType"/>
37
		<prop oor:name="Preferred"><value>false</value></prop>
35
		<prop oor:name="Preferred"><value>false</value></prop>
38
		<prop oor:name="PreferredFilter"><value>XHTML 1.1 plus MathML 2.0 (xsl) File</value></prop>
39
		<prop oor:name="UIName">
36
		<prop oor:name="UIName">
40
			<value>XHTML 1.1 + MathML 2.0 (xsl)</value>
37
			<value>XHTML 1.1 + MathML 2.0 (xsl)</value>
41
		</prop>
38
		</prop>

Return to issue 97690