Kaydet (Commit) 25113cd0 authored tarafından David Tardon's avatar David Tardon

convert java XSL transformer into extension

Change-Id: Ided6c480969764073056830722c8996e0df52285
üst 9fcd47b5
# -*- 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:
......@@ -74,6 +74,7 @@ endif
ifneq ($(SOLAR_JAVA),)
$(eval $(call gb_Module_add_targets,filter,\
Extension_xslt2_transformer \
Jar_XSLTFilter \
Jar_XSLTValidate \
))
......
<?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>
The xslt2-transformer implements a transformer for XSLT import/export filters with support for XSLT 2.0.
<?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>
<?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>
......@@ -294,7 +294,6 @@ my_components += component/framework/util/lomenubar
.IF "$(SOLAR_JAVA)" == "TRUE"
my_components += \
component/xmerge/source/bridge/XMergeBridge \
component/filter/source/xsltfilter/XSLTFilter.jar \
component/filter/source/xsltvalidate/XSLTValidate \
component/scripting/java/ScriptFramework \
component/scripting/java/ScriptProviderForJava \
......
......@@ -157,9 +157,6 @@ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
$(if $(filter YES,$(SYSTEM_HSQLDB)),\
-DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
) \
$(if $(filter YES,$(SYSTEM_SAXON)),\
-DSAXON_JAR=\""$(call gb_Helper_make_path,$(SAXON_JAR))"\" \
) \
$(if $(filter-out YES,$(WITH_MOZILLA)),\
-DWITHOUT_MOZILLA \
) \
......
......@@ -1257,9 +1257,6 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Classpath_Urls
#ifdef SYSTEM_HSQLDB
ValueList1 = HSQLDB_JAR;
#endif
#ifdef SYSTEM_SAXON
ValueList2 = SAXON_JAR;
#endif
End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Bin_Dir
......
......@@ -1442,7 +1442,6 @@ STD_LIB_FILE( gid_File_Lib_Textfd, textfd )
STD_LIB_FILE( gid_File_Lib_Odfflatxml, odfflatxml )
#ifdef SOLAR_JAVA
STD_JAR_FILE( gid_File_Jar_Xsltfilter, XSLTFilter )
STD_JAR_FILE( gid_File_Jar_Xsltvalidate, XSLTValidate )
#endif
......
......@@ -472,12 +472,6 @@ End
#endif
#ifdef SOLAR_JAVA
#ifndef SYSTEM_SAXON
STD_JAR_FILE( gid_File_Jar_Saxon, saxon9 )
#endif
#endif
#ifndef AIX
#ifndef DISABLE_PYUNO
......
......@@ -137,7 +137,6 @@ Module gid_Module_Root_Files_3
Default = YES;
Styles = (HIDDEN_ROOT);
Files = (gid_File_Dat_Root3,
gid_File_Jar_Saxon,
gid_File_Jar_Unoil,
gid_File_Jar_Hsqldb,
gid_File_Jar_Hsqldb_Sdbc,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment