office-gobmx/xmloff/source/transform/xof.component
Armin Le Grand (Allotropia) 02140554ee WASM --enable-wasm-strip now skips lots of LO code
... resulting in a stripped-down, Writer-only build to decrease
the resulting WASM bytecode size.

It removes the following code from the build:
* All other major modules: Base, Calc, Chart, Draw, Impress and
  Math and related writerperfect filters
* The premultiply tables
* The (auto-)recovery functionality
* All accessibility (but not the accessibility document checker)
* The LanguageGuess component
* EPUB support
* The start center / BackingWindow
* The TipOfTheDay functionality
* The splash screen communication

Currently crashs with anything different then soffice --writer.
Closing the document also still crashes.

FYI: many of these features are now behind ENABLE_WASM_STRIP_*
defines, but they normally don't work on their own, globally!
That's because we started with stripping the main components.

Change-Id: Ib9c0f9452815910c0a2aceaf142ba1ad4a9cb0d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126182
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-20 12:28:54 +01:00

143 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.Calc.XMLContentImporter"
constructor="xmloff_XMLCalcContentImportOOO_get_implementation">
<service name="com.sun.star.comp.Calc.XMLContentImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Calc.XMLImporter"
constructor="xmloff_XMLCalcImportOOO_get_implementation">
<service name="com.sun.star.comp.Calc.XMLImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Calc.XMLMetaImporter"
constructor="xmloff_XMLCalcMetaImportOOO_get_implementation">
<service name="com.sun.star.comp.Calc.XMLMetaImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Calc.XMLSettingsImporter"
constructor="xmloff_XMLCalcSettingsImportOOO_get_implementation">
<service name="com.sun.star.comp.Calc.XMLSettingsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Calc.XMLStylesImporter"
constructor="xmloff_XMLCalcStylesImportOOO_get_implementation">
<service name="com.sun.star.comp.Calc.XMLStylesImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Chart.XMLContentImporter"
constructor="xmloff_XMLChartContentImportOOO_get_implementation">
<service name="com.sun.star.comp.Chart.XMLContentImporter"/>
<optional/>
</implementation>
<implementation name="com.sun.star.comp.Chart.XMLImporter"
constructor="xmloff_XMLChartImportOOO_get_implementation">
<service name="com.sun.star.comp.Chart.XMLImporter"/>
<optional/>
</implementation>
<implementation name="com.sun.star.comp.Chart.XMLStylesImporter"
constructor="xmloff_XMLChartStylesImportOOO_get_implementation">
<service name="com.sun.star.comp.Chart.XMLStylesImporter"/>
<optional/>
</implementation>
<implementation name="com.sun.star.comp.Draw.XMLContentImporter"
constructor="xmloff_XMLDrawContentImportOOO_get_implementation">
<service name="com.sun.star.comp.Draw.XMLContentImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Draw.XMLImporter"
constructor="xmloff_XMLDrawImportOOO_get_implementation">
<service name="com.sun.star.comp.Draw.XMLImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Draw.XMLMetaImporter"
constructor="xmloff_XMLDrawMetaImportOOO_get_implementation">
<service name="com.sun.star.comp.Draw.XMLMetaImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Draw.XMLSettingsImporter"
constructor="xmloff_XMLDrawSettingsImportOOO_get_implementation">
<service name="com.sun.star.comp.Draw.XMLSettingsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Draw.XMLStylesImporter"
constructor="xmloff_XMLDrawStylesImportOOO_get_implementation">
<service name="com.sun.star.comp.Draw.XMLStylesImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Impress.XMLContentImporter"
constructor="xmloff_XMLImpressContentImportOOO_get_implementation">
<service name="com.sun.star.comp.Impress.XMLContentImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Impress.XMLImporter"
constructor="xmloff_XMLImpressImportOOO_get_implementation">
<service name="com.sun.star.comp.Impress.XMLImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Impress.XMLMetaImporter"
constructor="xmloff_XMLImpressMetaImportOOO_get_implementation">
<service name="com.sun.star.comp.Impress.XMLMetaImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Impress.XMLSettingsImporter"
constructor="xmloff_XMLImpressSettingsImportOOO_get_implementation">
<service name="com.sun.star.comp.Impress.XMLSettingsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Impress.XMLStylesImporter"
constructor="xmloff_XMLImpressStylesImportOOO_get_implementation">
<service name="com.sun.star.comp.Impress.XMLStylesImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Math.XMLMetaImporter"
constructor="xmloff_XMLMathMetaImportOOO_get_implementation">
<service name="com.sun.star.comp.Math.XMLMetaImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Math.XMLSettingsImporter"
constructor="xmloff_XMLMathSettingsImportOOO_get_implementation">
<service name="com.sun.star.comp.Math.XMLSettingsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.OOo2OasisTransformer"
constructor="xmloff_OOo2OasisTransformer_get_implementation">
<service name="com.sun.star.comp.OOo2OasisTransformer"/>
<optional/>
</implementation>
<implementation name="com.sun.star.comp.Oasis2OOoTransformer"
constructor="xmloff_Oasis2OOoTransformer_get_implementation">
<service name="com.sun.star.comp.Oasis2OOoTransformer"/>
<optional/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLAutotextEventsImporter"
constructor="xmloff_XMLAutoTextEventImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLAutotextEventsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLContentImporter"
constructor="xmloff_XMLWriterContentImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLContentImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLImporter"
constructor="xmloff_XMLWriterImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLMetaImporter"
constructor="xmloff_XMLWriterMetaImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLMetaImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLSettingsImporter"
constructor="xmloff_XMLWriterSettingsImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLSettingsImporter"/>
</implementation>
<implementation name="com.sun.star.comp.Writer.XMLStylesImporter"
constructor="xmloff_XMLWriterStylesImportOOO_get_implementation">
<service name="com.sun.star.comp.Writer.XMLStylesImporter"/>
</implementation>
<implementation name="com.sun.star.document.XMLMetaImporter"
constructor="xmloff_XMLMetaImportOOO_get_implementation">
<service name="com.sun.star.document.XMLMetaImporter"/>
</implementation>
</component>