diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-19 12:54:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-25 14:48:22 +0200 |
commit | 25113cd050d931b0e195fda6d6da9864a575070e (patch) | |
tree | 7cc24d82131f0285572519c08c0bd16560fff9c3 /filter | |
parent | 9fcd47b5f6555d368320d6b008cb4645c96de648 (diff) |
convert java XSL transformer into extension
Change-Id: Ided6c480969764073056830722c8996e0df52285
Diffstat (limited to 'filter')
-rw-r--r-- | filter/Extension_xslt2_transformer.mk | 18 | ||||
-rw-r--r-- | filter/Module_filter.mk | 1 | ||||
-rw-r--r-- | filter/source/xsltfilter/components.rdb | 8 | ||||
-rw-r--r-- | filter/source/xsltfilter/description-en-US.txt | 1 | ||||
-rw-r--r-- | filter/source/xsltfilter/description.xml | 28 | ||||
-rw-r--r-- | filter/source/xsltfilter/manifest.xml | 6 |
6 files changed, 62 insertions, 0 deletions
diff --git a/filter/Extension_xslt2_transformer.mk b/filter/Extension_xslt2_transformer.mk new file mode 100644 index 000000000000..ab239d8f8759 --- /dev/null +++ b/filter/Extension_xslt2_transformer.mk @@ -0,0 +1,18 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Extension_Extension,xslt2-transformer,filter/source/xsltfilter)) + +$(eval $(call gb_Extension_add_files,xslt2-transformer,,\ + $(call gb_Jar_get_outdir_target,saxon9) \ + $(call gb_Jar_get_outdir_target,XSLTFilter) \ + $(SRCDIR)/filter/source/xsltfilter/components.rdb \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Module_filter.mk b/filter/Module_filter.mk index 99bebb5c55d8..603cec9f14b3 100644 --- a/filter/Module_filter.mk +++ b/filter/Module_filter.mk @@ -74,6 +74,7 @@ endif ifneq ($(SOLAR_JAVA),) $(eval $(call gb_Module_add_targets,filter,\ + Extension_xslt2_transformer \ Jar_XSLTFilter \ Jar_XSLTValidate \ )) diff --git a/filter/source/xsltfilter/components.rdb b/filter/source/xsltfilter/components.rdb new file mode 100644 index 000000000000..080cb7adb871 --- /dev/null +++ b/filter/source/xsltfilter/components.rdb @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<components xmlns="http://openoffice.org/2010/uno-components"> + <component loader="com.sun.star.loader.Java2" uri="./XSLTFilter.jar"> + <implementation name="XSLTransformer"> + <service name="com.sun.star.comp.JAXTHelper"/> + </implementation> + </component> +</components> diff --git a/filter/source/xsltfilter/description-en-US.txt b/filter/source/xsltfilter/description-en-US.txt new file mode 100644 index 000000000000..88c8abf0194f --- /dev/null +++ b/filter/source/xsltfilter/description-en-US.txt @@ -0,0 +1 @@ +The xslt2-transformer implements a transformer for XSLT import/export filters with support for XSLT 2.0. diff --git a/filter/source/xsltfilter/description.xml b/filter/source/xsltfilter/description.xml new file mode 100644 index 000000000000..ae6abcb677b2 --- /dev/null +++ b/filter/source/xsltfilter/description.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<description + + xmlns="http://openoffice.org/extensions/description/2006" + xmlns:dep="http://libreoffice.org/extensions/description/2011" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <identifier value="org.libreoffice.JavaXSLT2Transformer"/> + + <dependencies> + <dep:LibreOffice-minimal-version value="3.7"/> + </dependencies> + + <version value="1.0.0"/> + + <publisher> + <name xlink:href="http://www.documentfoundation.org" lang="en-US">The Document Foundation</name> + </publisher> + + <display-name> + <name lang="en-US">XSLT 2.0 transformer</name> + </display-name> + + <extension-description> + <src xlink:href="description-en-US.txt" lang="en-US" /> + </extension-description> + +</description> diff --git a/filter/source/xsltfilter/manifest.xml b/filter/source/xsltfilter/manifest.xml new file mode 100644 index 000000000000..a443e6548923 --- /dev/null +++ b/filter/source/xsltfilter/manifest.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> +<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> + <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components" + manifest:full-path="components.rdb"/> +</manifest:manifest> |