diff options
Diffstat (limited to 'xmlscript')
52 files changed, 58 insertions, 12 deletions
diff --git a/xmlscript/dtd/dialog.dtd b/xmlscript/dtd/dialog.dtd index 020ceedd5a5e..020ceedd5a5e 100644..100755 --- a/xmlscript/dtd/dialog.dtd +++ b/xmlscript/dtd/dialog.dtd diff --git a/xmlscript/dtd/libraries.dtd b/xmlscript/dtd/libraries.dtd index 383f37e21315..383f37e21315 100644..100755 --- a/xmlscript/dtd/libraries.dtd +++ b/xmlscript/dtd/libraries.dtd diff --git a/xmlscript/dtd/library.dtd b/xmlscript/dtd/library.dtd index 80f687b9bfc2..80f687b9bfc2 100644..100755 --- a/xmlscript/dtd/library.dtd +++ b/xmlscript/dtd/library.dtd diff --git a/xmlscript/dtd/module.dtd b/xmlscript/dtd/module.dtd index e0e7c843d46d..e0e7c843d46d 100644..100755 --- a/xmlscript/dtd/module.dtd +++ b/xmlscript/dtd/module.dtd diff --git a/xmlscript/inc/makefile.mk b/xmlscript/inc/makefile.mk index 4141e88a2844..4141e88a2844 100644..100755 --- a/xmlscript/inc/makefile.mk +++ b/xmlscript/inc/makefile.mk diff --git a/xmlscript/inc/pch/precompiled_xmlscript.cxx b/xmlscript/inc/pch/precompiled_xmlscript.cxx index 812b8d428514..812b8d428514 100644..100755 --- a/xmlscript/inc/pch/precompiled_xmlscript.cxx +++ b/xmlscript/inc/pch/precompiled_xmlscript.cxx diff --git a/xmlscript/inc/pch/precompiled_xmlscript.hxx b/xmlscript/inc/pch/precompiled_xmlscript.hxx index ad1762464bde..ad1762464bde 100644..100755 --- a/xmlscript/inc/pch/precompiled_xmlscript.hxx +++ b/xmlscript/inc/pch/precompiled_xmlscript.hxx diff --git a/xmlscript/inc/xmlscript/xml_helper.hxx b/xmlscript/inc/xmlscript/xml_helper.hxx index f3b272db7afd..f3b272db7afd 100644..100755 --- a/xmlscript/inc/xmlscript/xml_helper.hxx +++ b/xmlscript/inc/xmlscript/xml_helper.hxx diff --git a/xmlscript/inc/xmlscript/xml_import.hxx b/xmlscript/inc/xmlscript/xml_import.hxx index ca8cc3a0f0e9..ca8cc3a0f0e9 100644..100755 --- a/xmlscript/inc/xmlscript/xml_import.hxx +++ b/xmlscript/inc/xmlscript/xml_import.hxx diff --git a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx index 30d92bfc1bd3..47d0d17e989f 100644..100755 --- a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx +++ b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx @@ -78,7 +78,7 @@ SAL_CALL exportDialogModel( //============================================================================== void SAL_CALL importDialogModel( ::com::sun::star::uno::Reference< - ::com::sun::star::io::XInputStream > xInput, + ::com::sun::star::io::XInputStream > const & xInput, ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel, ::com::sun::star::uno::Reference< diff --git a/xmlscript/inc/xmlscript/xmllib_imexp.hxx b/xmlscript/inc/xmlscript/xmllib_imexp.hxx index 95750c26655f..95750c26655f 100644..100755 --- a/xmlscript/inc/xmlscript/xmllib_imexp.hxx +++ b/xmlscript/inc/xmlscript/xmllib_imexp.hxx diff --git a/xmlscript/inc/xmlscript/xmlmod_imexp.hxx b/xmlscript/inc/xmlscript/xmlmod_imexp.hxx index f2e3b169454f..f2e3b169454f 100644..100755 --- a/xmlscript/inc/xmlscript/xmlmod_imexp.hxx +++ b/xmlscript/inc/xmlscript/xmlmod_imexp.hxx diff --git a/xmlscript/inc/xmlscript/xmlns.h b/xmlscript/inc/xmlscript/xmlns.h index 13751ea8489e..13751ea8489e 100644..100755 --- a/xmlscript/inc/xmlscript/xmlns.h +++ b/xmlscript/inc/xmlscript/xmlns.h diff --git a/xmlscript/prj/build.lst b/xmlscript/prj/build.lst index f3410c668633..388a59f134ff 100644..100755 --- a/xmlscript/prj/build.lst +++ b/xmlscript/prj/build.lst @@ -1,4 +1,4 @@ -xt xmlscript : comphelper tools offapi NULL +xt xmlscript : comphelper tools offapi LIBXSLT:libxslt NULL xt xmlscript usr1 - all xt_mkout NULL xt xmlscript\inc nmake - all xt_inc NULL xt xmlscript\source\xml_helper nmake - all xt_xml_helper xt_inc NULL diff --git a/xmlscript/prj/d.lst b/xmlscript/prj/d.lst index 51b2891e4926..2f1ff7e37785 100644..100755 --- a/xmlscript/prj/d.lst +++ b/xmlscript/prj/d.lst @@ -11,3 +11,4 @@ mkdir: %_DEST%\inc%_EXT%\xmlscript ..\inc\xmlscript\xmlns.h %_DEST%\inc%_EXT%\xmlscript\xmlns.h ..\dtd\*.dtd %_DEST%\bin%_EXT%\*.dtd +..\%__SRC%\misc\xcr.component %_DEST%\xml%_EXT%\xcr.component diff --git a/xmlscript/source/inc/misc.hxx b/xmlscript/source/inc/misc.hxx index bd7f737292af..bd7f737292af 100644..100755 --- a/xmlscript/source/inc/misc.hxx +++ b/xmlscript/source/inc/misc.hxx diff --git a/xmlscript/source/misc/makefile.mk b/xmlscript/source/misc/makefile.mk index dfac81bfa6aa..dfac81bfa6aa 100644..100755 --- a/xmlscript/source/misc/makefile.mk +++ b/xmlscript/source/misc/makefile.mk diff --git a/xmlscript/source/misc/unoservices.cxx b/xmlscript/source/misc/unoservices.cxx index 8c0ccc3589f9..746b2c11a007 100644..100755 --- a/xmlscript/source/misc/unoservices.cxx +++ b/xmlscript/source/misc/unoservices.cxx @@ -114,15 +114,6 @@ extern "C" // ----------------------------------------------------------------------------- - sal_Bool SAL_CALL component_writeInfo( - void * pServiceManager, void * pRegistryKey ) - { - return ::cppu::component_writeInfoHelper( - pServiceManager, pRegistryKey, ::xmlscript::s_entries ); - } - - // ----------------------------------------------------------------------------- - void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/xmlscript/source/xml_helper/makefile.mk b/xmlscript/source/xml_helper/makefile.mk index 7b48695bae64..7b48695bae64 100644..100755 --- a/xmlscript/source/xml_helper/makefile.mk +++ b/xmlscript/source/xml_helper/makefile.mk diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx index e1208e8a0774..e1208e8a0774 100644..100755 --- a/xmlscript/source/xml_helper/xml_byteseq.cxx +++ b/xmlscript/source/xml_helper/xml_byteseq.cxx diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx index cd1fe1a0fc33..cd1fe1a0fc33 100644..100755 --- a/xmlscript/source/xml_helper/xml_element.cxx +++ b/xmlscript/source/xml_helper/xml_element.cxx diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 646fadfb1b9f..646fadfb1b9f 100644..100755 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx diff --git a/xmlscript/source/xmldlg_imexp/common.hxx b/xmlscript/source/xmldlg_imexp/common.hxx index 7395c1034f95..7395c1034f95 100644..100755 --- a/xmlscript/source/xmldlg_imexp/common.hxx +++ b/xmlscript/source/xmldlg_imexp/common.hxx diff --git a/xmlscript/source/xmldlg_imexp/exp_share.hxx b/xmlscript/source/xmldlg_imexp/exp_share.hxx index 385e9c977c1c..385e9c977c1c 100644..100755 --- a/xmlscript/source/xmldlg_imexp/exp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx index 0717e32720d9..0717e32720d9 100644..100755 --- a/xmlscript/source/xmldlg_imexp/imp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx diff --git a/xmlscript/source/xmldlg_imexp/makefile.mk b/xmlscript/source/xmldlg_imexp/makefile.mk index e0583aa78d9b..e0583aa78d9b 100644..100755 --- a/xmlscript/source/xmldlg_imexp/makefile.mk +++ b/xmlscript/source/xmldlg_imexp/makefile.mk diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx index f0e8a3dfd4ea..d435883ef8d3 100644..100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx @@ -105,7 +105,7 @@ Reference< io::XInputStreamProvider > SAL_CALL exportDialogModel( //================================================================================================== void SAL_CALL importDialogModel( - Reference< io::XInputStream > xInput, + Reference< io::XInputStream > const & xInput, Reference< container::XNameContainer > const & xDialogModel, Reference< XComponentContext > const & xContext, Reference< XModel > const & xDocument ) diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index 9f91a337810c..9f91a337810c 100644..100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 2dce75b26f67..2dce75b26f67 100644..100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index 2aa541b08efd..2aa541b08efd 100644..100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index b5d61fd7dc83..b5d61fd7dc83 100644..100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx diff --git a/xmlscript/source/xmlflat_imexp/makefile.mk b/xmlscript/source/xmlflat_imexp/makefile.mk index ed4d434afbd0..ed4d434afbd0 100644..100755 --- a/xmlscript/source/xmlflat_imexp/makefile.mk +++ b/xmlscript/source/xmlflat_imexp/makefile.mk diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx index b6e31ba7951b..b6e31ba7951b 100644..100755 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx index bd425b0f0aad..bd425b0f0aad 100644..100755 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx index eb9662fe5121..eb9662fe5121 100644..100755 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx index 96567f3e2eb5..96567f3e2eb5 100644..100755 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index a3728cb4488b..a3728cb4488b 100644..100755 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx diff --git a/xmlscript/source/xmllib_imexp/makefile.mk b/xmlscript/source/xmllib_imexp/makefile.mk index c6ef65a43393..c6ef65a43393 100644..100755 --- a/xmlscript/source/xmllib_imexp/makefile.mk +++ b/xmlscript/source/xmllib_imexp/makefile.mk diff --git a/xmlscript/source/xmllib_imexp/xmllib_export.cxx b/xmlscript/source/xmllib_imexp/xmllib_export.cxx index 7684cef4fe8e..7684cef4fe8e 100644..100755 --- a/xmlscript/source/xmllib_imexp/xmllib_export.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_export.cxx diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index a1fd0fff2b2f..a1fd0fff2b2f 100644..100755 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx diff --git a/xmlscript/source/xmlmod_imexp/imp_share.hxx b/xmlscript/source/xmlmod_imexp/imp_share.hxx index 3e63aa7a4e3e..3e63aa7a4e3e 100644..100755 --- a/xmlscript/source/xmlmod_imexp/imp_share.hxx +++ b/xmlscript/source/xmlmod_imexp/imp_share.hxx diff --git a/xmlscript/source/xmlmod_imexp/makefile.mk b/xmlscript/source/xmlmod_imexp/makefile.mk index 174bf94c75ae..174bf94c75ae 100644..100755 --- a/xmlscript/source/xmlmod_imexp/makefile.mk +++ b/xmlscript/source/xmlmod_imexp/makefile.mk diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx index aeb39a6df1ef..aeb39a6df1ef 100644..100755 --- a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx +++ b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx index efae2852eec6..efae2852eec6 100644..100755 --- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx +++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 100a3972101b..100a3972101b 100644..100755 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx diff --git a/xmlscript/test/makefile.mk b/xmlscript/test/makefile.mk index 2bf8f2116106..2bf8f2116106 100644..100755 --- a/xmlscript/test/makefile.mk +++ b/xmlscript/test/makefile.mk diff --git a/xmlscript/test/test.xml b/xmlscript/test/test.xml index 7b0f9e802741..7b0f9e802741 100644..100755 --- a/xmlscript/test/test.xml +++ b/xmlscript/test/test.xml diff --git a/xmlscript/test/w3c.jpg b/xmlscript/test/w3c.jpg Binary files differindex c541c20dcd1b..c541c20dcd1b 100644..100755 --- a/xmlscript/test/w3c.jpg +++ b/xmlscript/test/w3c.jpg diff --git a/xmlscript/util/makefile.mk b/xmlscript/util/makefile.mk index a916c42e29d8..c10f31946aca 100644..100755 --- a/xmlscript/util/makefile.mk +++ b/xmlscript/util/makefile.mk @@ -75,3 +75,11 @@ $(MISC)$/$(SHL1TARGET).flt : makefile.mk xcr.flt @echo ------------------------------ @echo Making: $@ $(TYPE) xcr.flt > $@ + +ALLTAR : $(MISC)/xcr.component + +$(MISC)/xcr.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + xcr.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt xcr.component diff --git a/xmlscript/util/target.pmk b/xmlscript/util/target.pmk index 907ec41dd90f..907ec41dd90f 100644..100755 --- a/xmlscript/util/target.pmk +++ b/xmlscript/util/target.pmk diff --git a/xmlscript/util/xcr.component b/xmlscript/util/xcr.component new file mode 100755 index 000000000000..5ffe7f862fd7 --- /dev/null +++ b/xmlscript/util/xcr.component @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--********************************************************************** +* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2000, 2010 Oracle and/or its affiliates. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +* +**********************************************************************--> + +<component loader="com.sun.star.loader.SharedLibrary" + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.comp.xml.input.SaxDocumentHandler"> + <service name="com.sun.star.xml.input.SaxDocumentHandler"/> + </implementation> + <implementation name="com.sun.star.comp.xmlscript.XMLBasicExporter"> + <service name="com.sun.star.document.XMLBasicExporter"/> + </implementation> + <implementation name="com.sun.star.comp.xmlscript.XMLBasicImporter"> + <service name="com.sun.star.document.XMLBasicImporter"/> + </implementation> + <implementation name="com.sun.star.comp.xmlscript.XMLOasisBasicExporter"> + <service name="com.sun.star.document.XMLOasisBasicExporter"/> + </implementation> + <implementation name="com.sun.star.comp.xmlscript.XMLOasisBasicImporter"> + <service name="com.sun.star.document.XMLOasisBasicImporter"/> + </implementation> +</component> diff --git a/xmlscript/util/xcr.flt b/xmlscript/util/xcr.flt index e9a7f0344007..e9a7f0344007 100644..100755 --- a/xmlscript/util/xcr.flt +++ b/xmlscript/util/xcr.flt |