diff options
author | sb <sb@openoffice.org> | 2010-09-10 13:10:07 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-09-10 13:10:07 +0200 |
commit | a43f7851c7d3424e845eedffe8ef25c6e9e8fe99 (patch) | |
tree | 6f9d6b8b67bc97841060cdeadfd516024a5f8720 /sc/util | |
parent | 0badf8094b28ceb44f2e65787eed93982fe0c0ea (diff) |
sb129: #i113189# change UNO components to use passive registration
Diffstat (limited to 'sc/util')
-rw-r--r-- | sc/util/makefile.mk | 20 | ||||
-rw-r--r-- | sc/util/sc.component | 97 | ||||
-rw-r--r-- | sc/util/scd.component | 34 | ||||
-rw-r--r-- | sc/util/vbaobj.component | 58 |
4 files changed, 209 insertions, 0 deletions
diff --git a/sc/util/makefile.mk b/sc/util/makefile.mk index 980d271ae7c0..09578f6ef6a8 100644 --- a/sc/util/makefile.mk +++ b/sc/util/makefile.mk @@ -342,3 +342,23 @@ ALLTAR: $(MISC)$/linkinc.ls $(COMP) build_extn : $(SHL9TARGETN) $(PERL) createExtPackage.pl $(COMMONBIN)$/vbaapi.oxt $(SOLARBINDIR)$/oovbaapi.rdb $(LIBCOMPNAME) + +ALLTAR : $(MISC)/sc.component $(MISC)/scd.component $(MISC)/vbaobj.component + +$(MISC)/sc.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + sc.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt sc.component + +$(MISC)/scd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + scd.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt scd.component + +$(MISC)/vbaobj.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + vbaobj.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL9TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt vbaobj.component diff --git a/sc/util/sc.component b/sc/util/sc.component new file mode 100644 index 000000000000..abd05aa579f2 --- /dev/null +++ b/sc/util/sc.component @@ -0,0 +1,97 @@ +<?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.Calc.FilterOptionsDialog"> + <service name="com.sun.star.ui.dialogs.FilterOptionsDialog"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.SpreadsheetDocument"> + <service name="com.sun.star.sheet.SpreadsheetDocument"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLContentExporter"> + <service name="com.sun.star.comp.Calc.XMLContentExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLExporter"> + <service name="com.sun.star.comp.Calc.XMLExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLMetaExporter"> + <service name="com.sun.star.comp.Calc.XMLMetaExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisContentExporter"> + <service name="com.sun.star.comp.Calc.XMLOasisContentExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisContentImporter"> + <service name="com.sun.star.comp.Calc.XMLOasisContentImporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisExporter"> + <service name="com.sun.star.comp.Calc.XMLOasisExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisImporter"> + <service name="com.sun.star.comp.Calc.XMLOasisImporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisMetaExporter"> + <service name="com.sun.star.comp.Calc.XMLOasisMetaExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisMetaImporter"> + <service name="com.sun.star.comp.Calc.XMLOasisMetaImporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisSettingsExporter"> + <service name="com.sun.star.comp.Calc.XMLOasisSettingsExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisSettingsImporter"> + <service name="com.sun.star.comp.Calc.XMLOasisSettingsImporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisStylesExporter"> + <service name="com.sun.star.comp.Calc.XMLOasisStylesExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLOasisStylesImporter"> + <service name="com.sun.star.comp.Calc.XMLOasisStylesImporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLSettingsExporter"> + <service name="com.sun.star.comp.Calc.XMLSettingsExporter"/> + </implementation> + <implementation name="com.sun.star.comp.Calc.XMLStylesExporter"> + <service name="com.sun.star.comp.Calc.XMLStylesExporter"/> + </implementation> + <implementation name="stardiv.StarCalc.ScAutoFormatsObj"> + <service name="com.sun.star.sheet.TableAutoFormats"/> + </implementation> + <implementation name="stardiv.StarCalc.ScFunctionAccess"> + <service name="com.sun.star.sheet.FunctionAccess"/> + </implementation> + <implementation name="stardiv.StarCalc.ScFunctionListObj"> + <service name="com.sun.star.sheet.FunctionDescriptions"/> + </implementation> + <implementation name="stardiv.StarCalc.ScRecentFunctionsObj"> + <service name="com.sun.star.sheet.RecentFunctions"/> + </implementation> + <implementation name="stardiv.StarCalc.ScSpreadsheetSettings"> + <service name="com.sun.star.sheet.GlobalSheetSettings"/> + </implementation> +</component> diff --git a/sc/util/scd.component b/sc/util/scd.component new file mode 100644 index 000000000000..df2e2f77e25f --- /dev/null +++ b/sc/util/scd.component @@ -0,0 +1,34 @@ +<?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.calc.FormatDetector"> + <service name="com.sun.star.frame.ExtendedTypeDetection"/> + </implementation> +</component> diff --git a/sc/util/vbaobj.component b/sc/util/vbaobj.component new file mode 100644 index 000000000000..52ad691822d0 --- /dev/null +++ b/sc/util/vbaobj.component @@ -0,0 +1,58 @@ +<?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="ScVbaApplication"> + <service name="ooo.vba.excel.Application"/> + </implementation> + <implementation name="ScVbaEventsHelper"> + <service name="com.sun.star.script.vba.VBASpreadsheetEventProcessor"/> + </implementation> + <implementation name="ScVbaGlobals"> + <service name="ooo.vba.excel.Globals"/> + </implementation> + <implementation name="ScVbaHyperlink"> + <service name="ooo.vba.excel.Hyperlink"/> + </implementation> + <implementation name="ScVbaTextFrame"> + <service name="ooo.vba.excel.TextFrame"/> + </implementation> + <implementation name="ScVbaWindow"> + <service name="ooo.vba.excel.Window"/> + </implementation> + <implementation name="ScVbaWorkbook"> + <service name="ooo.vba.excel.Workbook"/> + </implementation> + <implementation name="ScVbaWorksheet"> + <service name="ooo.vba.excel.Worksheet"/> + </implementation> + <implementation name="SvVbaRange"> + <service name="ooo.vba.excel.Range"/> + </implementation> +</component> |