diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-20 10:28:56 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-25 14:48:23 +0200 |
commit | ca0ea73a4ab104031a16b5bac7a9bb6e57c77ba0 (patch) | |
tree | 2db5bf3254573d5f64ff4197a1d57382249f947c /offapi | |
parent | 25113cd050d931b0e195fda6d6da9864a575070e (diff) |
rework selection of transformer for an XSLT filter
Change-Id: I765762f11813c6b612416a8db2707bf94114c876
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 9 | ||||
-rw-r--r-- | offapi/com/sun/star/xml/xslt/XSLT2Transformer.idl | 30 | ||||
-rw-r--r-- | offapi/com/sun/star/xml/xslt/XSLTTransformer.idl | 32 | ||||
-rw-r--r-- | offapi/com/sun/star/xml/xslt/XXSLTTransformer.idl | 36 |
4 files changed, 107 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index c590daca339d..e8ca1fdabdee 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -326,6 +326,10 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/sax,\ Parser \ Writer \ )) +$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/xslt,\ + XSLTTransformer \ + XSLT2Transformer \ +)) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star,\ @@ -4272,6 +4276,11 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/xml/xpath,\ XXPathExtension \ XXPathObject \ )) + +$(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/xml/xslt,\ + XXSLTTransformer \ +)) + $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/xsd,\ DataTypeClass \ WhiteSpaceTreatment \ diff --git a/offapi/com/sun/star/xml/xslt/XSLT2Transformer.idl b/offapi/com/sun/star/xml/xslt/XSLT2Transformer.idl new file mode 100644 index 000000000000..1f7502eb321e --- /dev/null +++ b/offapi/com/sun/star/xml/xslt/XSLT2Transformer.idl @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_COM_SUN_STAR_XML_XSLT_XSLT2TRANSFORMER_IDL +#define INCLUDED_COM_SUN_STAR_XML_XSLT_XSLT2TRANSFORMER_IDL + +#include <com/sun/star/xml/xslt/XXSLTTransformer.idl> + +module com { module sun { module star { module xml { module xslt { + +/** Get XSLT filter transformer supporting XSLT 2.0. + + @since LibreOffice 3.7 + */ +service XSLT2Transformer : XXSLTTransformer +{ + create([in] sequence<any> args); +}; + +}; }; }; }; }; + +#endif // INCLUDED_COM_SUN_STAR_XML_XSLT_XSLT2TRANSFORMER_IDL + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/xml/xslt/XSLTTransformer.idl b/offapi/com/sun/star/xml/xslt/XSLTTransformer.idl new file mode 100644 index 000000000000..0130531bd755 --- /dev/null +++ b/offapi/com/sun/star/xml/xslt/XSLTTransformer.idl @@ -0,0 +1,32 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_COM_SUN_STAR_XML_XSLT_XSLTTRANSFORMER_IDL +#define INCLUDED_COM_SUN_STAR_XML_XSLT_XSLTTRANSFORMER_IDL + +#include <com/sun/star/xml/xslt/XXSLTTransformer.idl> + +module com { module sun { module star { module xml { module xslt { + +/** Get unspecified XSLT filter transformer. + + <p>It is not safe to expect support for any features except XSLT 1.0 . + + @since LibreOffice 3.7 + */ +service XSLTTransformer : XXSLTTransformer +{ + create([in] sequence<any> args); +}; + +}; }; }; }; }; + +#endif // INCLUDED_COM_SUN_STAR_XML_XSLT_XSLTTRANSFORMER_IDL + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/xml/xslt/XXSLTTransformer.idl b/offapi/com/sun/star/xml/xslt/XXSLTTransformer.idl new file mode 100644 index 000000000000..2b0e3246e852 --- /dev/null +++ b/offapi/com/sun/star/xml/xslt/XXSLTTransformer.idl @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_COM_SUN_STAR_XML_XSLT_XXSLTTRANSFORMER_IDL +#define INCLUDED_COM_SUN_STAR_XML_XSLT_XXSLTTRANSFORMER_IDL + +#include <com/sun/star/io/XActiveDataControl.idl> +#include <com/sun/star/io/XActiveDataSink.idl> +#include <com/sun/star/io/XActiveDataSource.idl> +#include <com/sun/star/lang/XInitialization.idl> + +module com { module sun { module star { module xml { module xslt { + +/** An interface for XSLT transformers. + + @since LibreOffice 3.7 + */ +interface XXSLTTransformer +{ + interface com::sun::star::io::XActiveDataControl; + interface com::sun::star::io::XActiveDataSink; + interface com::sun::star::io::XActiveDataSource; + interface com::sun::star::lang::XInitialization; +}; + +}; }; }; }; }; + +#endif // INCLUDED_COM_SUN_STAR_XML_XSLT_XXSLTTRANSFORMER_IDL + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |