summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/util
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-04-01 22:31:53 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-04-01 22:31:53 +0100
commita6411b0e71ef45c365a4751d1a3b60565735d076 (patch)
tree41a57ba472b3e87db495db9583eda85a8f41aea5 /lotuswordpro/util
parentBranch libreoffice-3-4 (diff)
downloadcore-a6411b0e71ef45c365a4751d1a3b60565735d076.tar.gz
core-a6411b0e71ef45c365a4751d1a3b60565735d076.zip
register lotuswordpro filter component
Diffstat (limited to 'lotuswordpro/util')
-rw-r--r--lotuswordpro/util/lwpfilter.component8
-rw-r--r--lotuswordpro/util/makefile.mk8
2 files changed, 16 insertions, 0 deletions
diff --git a/lotuswordpro/util/lwpfilter.component b/lotuswordpro/util/lwpfilter.component
new file mode 100644
index 000000000000..030c75992ff6
--- /dev/null
+++ b/lotuswordpro/util/lwpfilter.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.Writer.LotusWordProImportFilter">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+</component>
diff --git a/lotuswordpro/util/makefile.mk b/lotuswordpro/util/makefile.mk
index 7b34a03fa64e..640ba297ae75 100644
--- a/lotuswordpro/util/makefile.mk
+++ b/lotuswordpro/util/makefile.mk
@@ -35,3 +35,11 @@ SHL1VERSIONMAP=$(TARGET).map
DEF1NAME=$(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/lwpfilter.component
+
+$(MISC)/lwpfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ lwpfilter.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt lwpfilter.component