1 --- filter/source/svg/svgfilter.hxx.orig 2003-08-09 19:28:05.000000000 -0700
2 +++ filter/source/svg/svgfilter.hxx 2003-08-09 21:45:14.000000000 -0700
4 #ifndef _COM_SUN_STAR_DOCUMENT_XFILTER_HPP_
5 #include <com/sun/star/document/XFilter.hpp>
8 #ifndef _COM_SUN_STAR_DOCUMENT_XIMPORTER_HPP_
9 #include <com/sun/star/document/XImporter.hpp>
12 #ifndef _COM_SUN_STAR_DOCUMENT_XEXPORTER_HPP_
13 #include <com/sun/star/document/XExporter.hpp>
16 #ifndef _CPPUHELPER_IMPLBASE1_HXX_
17 #include <cppuhelper/implbase1.hxx>
20 #ifndef _CPPUHELPER_IMPLBASE5_HXX_
21 #include <cppuhelper/implbase5.hxx>
24 +#ifndef _CPPUHELPER_IMPLBASE4_HXX_
25 +#include <cppuhelper/implbase4.hxx>
28 #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
29 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
32 #include <svx/svdxcgv.hxx>
33 #include <svx/svdobj.hxx>
34 #include <xmloff/xmlexp.hxx>
36 #include <sj2/jnihelp.hxx>
38 #include "svgfilter.hxx"
39 #include "svgscript.hxx"
43 class SVGActionWriter;
46 class SVGFilter : public cppu::WeakImplHelper5 < XFilter,
52 +class SVGFilter : public cppu::WeakImplHelper4 < XFilter,
58 typedef ::std::hash_map< Reference< XInterface >, ObjectRepresentation, HashReferenceXInterface > ObjectMap;
62 Reference< XMultiServiceFactory > mxMSF;
63 Reference< XComponent > mxSrcDoc;
65 Reference< XComponent > mxDstDoc;
67 SvXMLElementExport* mpSVGDoc;
68 SVGExport* mpSVGExport;
69 SVGFontExport* mpSVGFontExport;
70 SVGActionWriter* mpSVGWriter;
71 sal_Bool mbPresentation;
74 sal_Bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException);
77 sal_Bool implExport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException);
78 Reference< XDocumentHandler > implCreateExportDocumentHandler( const Reference< XOutputStream >& rxOStm );
80 virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) throw(RuntimeException);
81 virtual void SAL_CALL cancel( ) throw (RuntimeException);
85 virtual void SAL_CALL setTargetDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException);
89 virtual void SAL_CALL setSourceDocument( const Reference< XComponent >& xDoc ) throw(IllegalArgumentException, RuntimeException);
90 --- filter/source/svg/makefile.mk.orig 2003-08-09 20:06:22.000000000 -0700
91 +++ filter/source/svg/makefile.mk 2003-08-09 20:07:54.000000000 -0700
94 SLOFILES= $(SLO)$/svguno.obj \
95 $(SLO)$/svgfilter.obj \
96 - $(SLO)$/svgimport.obj \
97 $(SLO)$/svgexport.obj \
98 $(SLO)$/svgfontexport.obj \
100 +.IF "$(SOLAR_JAVA)"!=""
101 +SLOFILES+= $(SLO)$/svgimport.obj
104 # --- Library -----------------------------------
119 +.IF "$(SOLAR_JAVA)"!=""
125 SHL1IMPLIB= i$(SHL1TARGET)
126 --- filter/source/svg/svgfilter.cxx.orig 2003-08-09 20:03:37.000000000 -0700
127 +++ filter/source/svg/svgfilter.cxx 2003-08-09 21:46:50.000000000 -0700
130 pFocusWindow->EnterWait();
134 bRet = implImport( rDescriptor );
135 - else if( mxSrcDoc.is() )
138 + if( mxSrcDoc.is() )
139 bRet = implExport( rDescriptor );
142 @@ -126,11 +129,13 @@
144 // -----------------------------------------------------------------------------
147 void SAL_CALL SVGFilter::setTargetDocument( const Reference< XComponent >& xDoc )
148 throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException)
154 // -----------------------------------------------------------------------------