diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-17 10:09:52 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-17 10:09:52 +0200 |
commit | 4a7cfffd5757a7cf50b03b13b88940ca7c49c335 (patch) | |
tree | 1f3fe39fb98f7a9605386b5911918085d69ffa52 /writerperfect/util | |
parent | f0c1021dd4b55465e595f8dcec2cf00eb3494fe0 (diff) |
Boilerplate code for Visio import filter module
Diffstat (limited to 'writerperfect/util')
-rw-r--r-- | writerperfect/util/makefile.mk | 36 | ||||
-rw-r--r-- | writerperfect/util/visiofilter.component | 8 |
2 files changed, 43 insertions, 1 deletions
diff --git a/writerperfect/util/makefile.mk b/writerperfect/util/makefile.mk index d5d296d22a1b..de385690b219 100644 --- a/writerperfect/util/makefile.mk +++ b/writerperfect/util/makefile.mk @@ -81,7 +81,6 @@ SHL2STDLIBS+= \ $(SALLIB) \ $(XMLOFFLIB) \ $(LIBWPS) \ - $(LIBWPG) \ $(LIBWPD) SHL2TARGET = msworks$(DLLPOSTFIX) @@ -118,6 +117,35 @@ SHL3LIBS = $(LIB3TARGET) SHL3VERSIONMAP = $(SOLARENV)/src/component.map DEF3NAME = $(SHL3TARGET) +LIB4TARGET= $(SLB)$/wpgimport.lib +LIB4FILES= \ + $(SLB)$/stream.lib \ + $(SLB)$/filter.lib \ + $(SLB)$/vpsimp.lib +SHL4LIBS=$(LIB4TARGET) +SHL4STDLIBS+= \ + $(SVLLIB) \ + $(SOTLIB) \ + $(SO2LIB) \ + $(SVTOOLLIB) \ + $(UNOTOOLSLIB) \ + $(TOOLSLIB) \ + $(COMPHELPERLIB) \ + $(UCBHELPERLIB) \ + $(CPPUHELPERLIB) \ + $(CPPULIB) \ + $(SALLIB) \ + $(XMLOFFLIB) \ + $(LIBVISIO) \ + $(LIBWPG) \ + $(LIBWPD) + +SHL4TARGET = visioimport$(DLLPOSTFIX) +SHL4IMPLIB = i$(SHL4TARGET) +SHL4LIBS = $(LIB4TARGET) +SHL4VERSIONMAP = $(SOLARENV)/src/component.map +DEF3NAME = $(SHL4TARGET) + .INCLUDE : target.mk ALLTAR : $(MISC)/wpft.component $(MISC)/wpgfilter.component $(MISC)/msworksfilter.component @@ -139,3 +167,9 @@ $(MISC)/msworksfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xsl $(XSLTPROC) --nonet --stringparam uri \ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ $(SOLARENV)/bin/createcomponent.xslt msworksfilter.component + +$(MISC)/visiofilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + visiofilter.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt visiofilter.component diff --git a/writerperfect/util/visiofilter.component b/writerperfect/util/visiofilter.component new file mode 100644 index 000000000000..6b19b2801f06 --- /dev/null +++ b/writerperfect/util/visiofilter.component @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component loader="com.sun.star.loader.SharedLibrary" + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.comp.Draw.VisioImportFilter"> + <service name="com.sun.star.document.ImportFilter"/> + <service name="com.sun.star.document.ExtendedTypeDetection"/> + </implementation> +</component> |