summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-02-02 19:31:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-03 08:12:09 +0100
commitcdd3c6851027a8a66baefcc4f1e58b7c4ad4ee6a (patch)
treec10c7b33444ee71fc37c3faa496560042c097f04 /include/xmloff
parent18b2cecfef3dd26bac15522667b465802ff3f96b (diff)
move some xmloff/ headers inside the module
Change-Id: I57e97da952c18c33af85a8fe24ebf021fc0631d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87828 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/PageMasterStyleMap.hxx195
-rw-r--r--include/xmloff/WordWrapPropertyHdl.hxx44
-rw-r--r--include/xmloff/XMLEmbeddedObjectExportFilter.hxx71
-rw-r--r--include/xmloff/fasttokenhandler.hxx98
-rw-r--r--include/xmloff/xmltabe.hxx52
5 files changed, 0 insertions, 460 deletions
diff --git a/include/xmloff/PageMasterStyleMap.hxx b/include/xmloff/PageMasterStyleMap.hxx
deleted file mode 100644
index 2b6a1b373768..000000000000
--- a/include/xmloff/PageMasterStyleMap.hxx
+++ /dev/null
@@ -1,195 +0,0 @@
-/* -*- 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/.
- *
- * 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 .
- */
-
-#ifndef INCLUDED_XMLOFF_PAGEMASTERSTYLEMAP_HXX
-#define INCLUDED_XMLOFF_PAGEMASTERSTYLEMAP_HXX
-
-#include <xmloff/maptype.hxx>
-#include <xmloff/xmltypes.hxx>
-#include <xmloff/contextid.hxx>
-
-
-#define XML_PM_TYPE_PAGESTYLELAYOUT (XML_PM_TYPES_START + 0)
-#define XML_PM_TYPE_NUMFORMAT (XML_PM_TYPES_START + 1)
-#define XML_PM_TYPE_NUMLETTERSYNC (XML_PM_TYPES_START + 2)
-#define XML_PM_TYPE_PAPERTRAYNUMBER (XML_PM_TYPES_START + 3)
-#define XML_PM_TYPE_PRINTORIENTATION (XML_PM_TYPES_START + 4)
-#define XML_PM_TYPE_PRINTANNOTATIONS (XML_PM_TYPES_START + 5)
-#define XML_PM_TYPE_PRINTCHARTS (XML_PM_TYPES_START + 6)
-#define XML_PM_TYPE_PRINTDRAWING (XML_PM_TYPES_START + 7)
-#define XML_PM_TYPE_PRINTFORMULAS (XML_PM_TYPES_START + 8)
-#define XML_PM_TYPE_PRINTGRID (XML_PM_TYPES_START + 9)
-#define XML_PM_TYPE_PRINTHEADERS (XML_PM_TYPES_START + 10)
-#define XML_PM_TYPE_PRINTOBJECTS (XML_PM_TYPES_START + 11)
-#define XML_PM_TYPE_PRINTZEROVALUES (XML_PM_TYPES_START + 12)
-#define XML_PM_TYPE_PRINTPAGEORDER (XML_PM_TYPES_START + 13)
-#define XML_PM_TYPE_FIRSTPAGENUMBER (XML_PM_TYPES_START + 14)
-#define XML_PM_TYPE_CENTER_HORIZONTAL (XML_PM_TYPES_START + 15)
-#define XML_PM_TYPE_CENTER_VERTICAL (XML_PM_TYPES_START + 16)
-
-// control flags
-#define CTF_PM_FLAGMASK (XML_PM_CTF_START + 0x0F00)
-#define CTF_PM_HEADERFLAG (XML_PM_CTF_START + 0x0100)
-#define CTF_PM_FOOTERFLAG (XML_PM_CTF_START + 0x0200)
-#define CTF_PM_PRINTMASK (XML_PM_CTF_START + 0x1000)
-// page master
-#define CTF_PM_BORDERALL (XML_PM_CTF_START + 0x0001)
-#define CTF_PM_BORDERTOP (XML_PM_CTF_START + 0x0002)
-#define CTF_PM_BORDERBOTTOM (XML_PM_CTF_START + 0x0003)
-#define CTF_PM_BORDERLEFT (XML_PM_CTF_START + 0x0004)
-#define CTF_PM_BORDERRIGHT (XML_PM_CTF_START + 0x0005)
-#define CTF_PM_BORDERWIDTHALL (XML_PM_CTF_START + 0x0006)
-#define CTF_PM_BORDERWIDTHTOP (XML_PM_CTF_START + 0x0007)
-#define CTF_PM_BORDERWIDTHBOTTOM (XML_PM_CTF_START + 0x0008)
-#define CTF_PM_BORDERWIDTHLEFT (XML_PM_CTF_START + 0x0009)
-#define CTF_PM_BORDERWIDTHRIGHT (XML_PM_CTF_START + 0x000A)
-#define CTF_PM_PADDINGALL (XML_PM_CTF_START + 0x000B)
-#define CTF_PM_PADDINGTOP (XML_PM_CTF_START + 0x000C)
-#define CTF_PM_PADDINGBOTTOM (XML_PM_CTF_START + 0x000D)
-#define CTF_PM_PADDINGLEFT (XML_PM_CTF_START + 0x000E)
-#define CTF_PM_PADDINGRIGHT (XML_PM_CTF_START + 0x000F)
-#define CTF_PM_TEXTCOLUMNS (XML_PM_CTF_START + 0x0010)
-#define CTF_PM_REGISTER_STYLE (XML_PM_CTF_START + 0x0011)
-#define CTF_PM_PRINT_ANNOTATIONS (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0012))
-#define CTF_PM_PRINT_CHARTS (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0013))
-#define CTF_PM_PRINT_DRAWING (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0014))
-#define CTF_PM_PRINT_FORMULAS (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0015))
-#define CTF_PM_PRINT_GRID (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0016))
-#define CTF_PM_PRINT_HEADERS (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0017))
-#define CTF_PM_PRINT_OBJECTS (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0018))
-#define CTF_PM_PRINT_ZEROVALUES (CTF_PM_PRINTMASK|(XML_PM_CTF_START + 0x0019))
-#define CTF_PM_MARGINALL (XML_PM_CTF_START + 0x001A)
-#define CTF_PM_MARGINTOP (XML_PM_CTF_START + 0x001B)
-#define CTF_PM_MARGINBOTTOM (XML_PM_CTF_START + 0x001C)
-#define CTF_PM_MARGINLEFT (XML_PM_CTF_START + 0x001D)
-#define CTF_PM_MARGINRIGHT (XML_PM_CTF_START + 0x001E)
-
-#define CTF_PM_PAGEUSAGE (XML_PM_CTF_START + 0x0031)
-#define CTF_PM_GRAPHICPOSITION (XML_PM_CTF_START + 0x0032)
-#define CTF_PM_GRAPHICFILTER (XML_PM_CTF_START + 0x0033)
-#define CTF_PM_GRAPHICURL (XML_PM_CTF_START + 0x0034)
-
-// Need own entries for PageMasterStyleMap since these get *filtered*
-// at export time using CTF_PM_FLAGMASK and XML_PM_CTF_START as detector
-// to find the first entry for header/footer (!), see
-// SvXMLAutoStylePoolP_Impl::exportXML, look for XML_STYLE_FAMILY_PAGE_MASTER
-#define CTF_PM_REPEAT_OFFSET_X (XML_PM_CTF_START + 0x0037)
-#define CTF_PM_REPEAT_OFFSET_Y (XML_PM_CTF_START + 0x0038)
-#define CTF_PM_FILLGRADIENTNAME (XML_PM_CTF_START + 0x0039)
-#define CTF_PM_FILLHATCHNAME (XML_PM_CTF_START + 0x0040)
-#define CTF_PM_FILLBITMAPNAME (XML_PM_CTF_START + 0x0041)
-#define CTF_PM_FILLTRANSNAME (XML_PM_CTF_START + 0x0042)
-#define CTF_PM_FILLBITMAPMODE (XML_PM_CTF_START + 0x0043)
-
-#define CTF_PM_SCALETO (XML_PM_CTF_START + 0x0051) // calc specific
-#define CTF_PM_SCALETOPAGES (XML_PM_CTF_START + 0x0052)
-#define CTF_PM_SCALETOX (XML_PM_CTF_START + 0x0053)
-#define CTF_PM_SCALETOY (XML_PM_CTF_START + 0x0054)
-#define CTF_PM_STANDARD_MODE (XML_PM_CTF_START + 0x0055)
-#define CTP_PM_GRID_BASE_WIDTH (XML_PM_CTF_START + 0x0056)
-#define CTP_PM_GRID_SNAP_TO_CHARS (XML_PM_CTF_START + 0x0057)
-#define CTP_PM_GRID_SNAP_TO (XML_PM_CTF_START + 0x0058)
-// header
-#define CTF_PM_HEADERBORDERALL (CTF_PM_HEADERFLAG|CTF_PM_BORDERALL)
-#define CTF_PM_HEADERBORDERTOP (CTF_PM_HEADERFLAG|CTF_PM_BORDERTOP)
-#define CTF_PM_HEADERBORDERBOTTOM (CTF_PM_HEADERFLAG|CTF_PM_BORDERBOTTOM)
-#define CTF_PM_HEADERBORDERLEFT (CTF_PM_HEADERFLAG|CTF_PM_BORDERLEFT)
-#define CTF_PM_HEADERBORDERRIGHT (CTF_PM_HEADERFLAG|CTF_PM_BORDERRIGHT)
-#define CTF_PM_HEADERBORDERWIDTHALL (CTF_PM_HEADERFLAG|CTF_PM_BORDERWIDTHALL)
-#define CTF_PM_HEADERBORDERWIDTHTOP (CTF_PM_HEADERFLAG|CTF_PM_BORDERWIDTHTOP)
-#define CTF_PM_HEADERBORDERWIDTHBOTTOM (CTF_PM_HEADERFLAG|CTF_PM_BORDERWIDTHBOTTOM)
-#define CTF_PM_HEADERBORDERWIDTHLEFT (CTF_PM_HEADERFLAG|CTF_PM_BORDERWIDTHLEFT)
-#define CTF_PM_HEADERBORDERWIDTHRIGHT (CTF_PM_HEADERFLAG|CTF_PM_BORDERWIDTHRIGHT)
-#define CTF_PM_HEADERPADDINGALL (CTF_PM_HEADERFLAG|CTF_PM_PADDINGALL)
-#define CTF_PM_HEADERPADDINGTOP (CTF_PM_HEADERFLAG|CTF_PM_PADDINGTOP)
-#define CTF_PM_HEADERPADDINGBOTTOM (CTF_PM_HEADERFLAG|CTF_PM_PADDINGBOTTOM)
-#define CTF_PM_HEADERPADDINGLEFT (CTF_PM_HEADERFLAG|CTF_PM_PADDINGLEFT)
-#define CTF_PM_HEADERPADDINGRIGHT (CTF_PM_HEADERFLAG|CTF_PM_PADDINGRIGHT)
-#define CTF_PM_HEADERHEIGHT (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0031))
-#define CTF_PM_HEADERMINHEIGHT (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0032))
-#define CTF_PM_HEADERDYNAMIC (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0033))
-#define CTF_PM_HEADERGRAPHICPOSITION (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0034))
-#define CTF_PM_HEADERGRAPHICFILTER (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0035))
-#define CTF_PM_HEADERGRAPHICURL (CTF_PM_HEADERFLAG|(XML_PM_CTF_START + 0x0036))
-#define CTF_PM_HEADERMARGINALL (CTF_PM_HEADERFLAG|CTF_PM_MARGINALL)
-#define CTF_PM_HEADERMARGINTOP (CTF_PM_HEADERFLAG|CTF_PM_MARGINTOP)
-#define CTF_PM_HEADERMARGINBOTTOM (CTF_PM_HEADERFLAG|CTF_PM_MARGINBOTTOM)
-#define CTF_PM_HEADERMARGINLEFT (CTF_PM_HEADERFLAG|CTF_PM_MARGINLEFT)
-#define CTF_PM_HEADERMARGINRIGHT (CTF_PM_HEADERFLAG|CTF_PM_MARGINRIGHT)
-
-// Need own entries for PageMasterStyleMap ORed with the CTF_PM_HEADERFLAG
-#define CTF_PM_HEADERREPEAT_OFFSET_X (CTF_PM_HEADERFLAG|CTF_PM_REPEAT_OFFSET_X)
-#define CTF_PM_HEADERREPEAT_OFFSET_Y (CTF_PM_HEADERFLAG|CTF_PM_REPEAT_OFFSET_Y)
-#define CTF_PM_HEADERFILLGRADIENTNAME (CTF_PM_HEADERFLAG|CTF_PM_FILLGRADIENTNAME)
-#define CTF_PM_HEADERFILLHATCHNAME (CTF_PM_HEADERFLAG|CTF_PM_FILLHATCHNAME)
-#define CTF_PM_HEADERFILLBITMAPNAME (CTF_PM_HEADERFLAG|CTF_PM_FILLBITMAPNAME)
-#define CTF_PM_HEADERFILLTRANSNAME (CTF_PM_HEADERFLAG|CTF_PM_FILLTRANSNAME)
-
-// footer
-#define CTF_PM_FOOTERBORDERALL (CTF_PM_FOOTERFLAG|CTF_PM_BORDERALL)
-#define CTF_PM_FOOTERBORDERTOP (CTF_PM_FOOTERFLAG|CTF_PM_BORDERTOP)
-#define CTF_PM_FOOTERBORDERBOTTOM (CTF_PM_FOOTERFLAG|CTF_PM_BORDERBOTTOM)
-#define CTF_PM_FOOTERBORDERLEFT (CTF_PM_FOOTERFLAG|CTF_PM_BORDERLEFT)
-#define CTF_PM_FOOTERBORDERRIGHT (CTF_PM_FOOTERFLAG|CTF_PM_BORDERRIGHT)
-#define CTF_PM_FOOTERBORDERWIDTHALL (CTF_PM_FOOTERFLAG|CTF_PM_BORDERWIDTHALL)
-#define CTF_PM_FOOTERBORDERWIDTHTOP (CTF_PM_FOOTERFLAG|CTF_PM_BORDERWIDTHTOP)
-#define CTF_PM_FOOTERBORDERWIDTHBOTTOM (CTF_PM_FOOTERFLAG|CTF_PM_BORDERWIDTHBOTTOM)
-#define CTF_PM_FOOTERBORDERWIDTHLEFT (CTF_PM_FOOTERFLAG|CTF_PM_BORDERWIDTHLEFT)
-#define CTF_PM_FOOTERBORDERWIDTHRIGHT (CTF_PM_FOOTERFLAG|CTF_PM_BORDERWIDTHRIGHT)
-#define CTF_PM_FOOTERPADDINGALL (CTF_PM_FOOTERFLAG|CTF_PM_PADDINGALL)
-#define CTF_PM_FOOTERPADDINGTOP (CTF_PM_FOOTERFLAG|CTF_PM_PADDINGTOP)
-#define CTF_PM_FOOTERPADDINGBOTTOM (CTF_PM_FOOTERFLAG|CTF_PM_PADDINGBOTTOM)
-#define CTF_PM_FOOTERPADDINGLEFT (CTF_PM_FOOTERFLAG|CTF_PM_PADDINGLEFT)
-#define CTF_PM_FOOTERPADDINGRIGHT (CTF_PM_FOOTERFLAG|CTF_PM_PADDINGRIGHT)
-#define CTF_PM_FOOTERHEIGHT (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0031))
-#define CTF_PM_FOOTERMINHEIGHT (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0032))
-#define CTF_PM_FOOTERDYNAMIC (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0033))
-#define CTF_PM_FOOTERGRAPHICPOSITION (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0034))
-#define CTF_PM_FOOTERGRAPHICFILTER (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0035))
-#define CTF_PM_FOOTERGRAPHICURL (CTF_PM_FOOTERFLAG|(XML_PM_CTF_START + 0x0036))
-#define CTF_PM_FOOTERMARGINALL (CTF_PM_FOOTERFLAG|CTF_PM_MARGINALL)
-#define CTF_PM_FOOTERMARGINTOP (CTF_PM_FOOTERFLAG|CTF_PM_MARGINTOP)
-#define CTF_PM_FOOTERMARGINBOTTOM (CTF_PM_FOOTERFLAG|CTF_PM_MARGINBOTTOM)
-#define CTF_PM_FOOTERMARGINLEFT (CTF_PM_FOOTERFLAG|CTF_PM_MARGINLEFT)
-#define CTF_PM_FOOTERMARGINRIGHT (CTF_PM_FOOTERFLAG|CTF_PM_MARGINRIGHT)
-
-// Need own entries for PageMasterStyleMap ORed with the CTF_PM_FOOTERFLAG
-#define CTF_PM_FOOTERREPEAT_OFFSET_X (CTF_PM_FOOTERFLAG|CTF_PM_REPEAT_OFFSET_X)
-#define CTF_PM_FOOTERREPEAT_OFFSET_Y (CTF_PM_FOOTERFLAG|CTF_PM_REPEAT_OFFSET_Y)
-#define CTF_PM_FOOTERFILLGRADIENTNAME (CTF_PM_FOOTERFLAG|CTF_PM_FILLGRADIENTNAME)
-#define CTF_PM_FOOTERFILLHATCHNAME (CTF_PM_FOOTERFLAG|CTF_PM_FILLHATCHNAME)
-#define CTF_PM_FOOTERFILLBITMAPNAME (CTF_PM_FOOTERFLAG|CTF_PM_FILLBITMAPNAME)
-#define CTF_PM_FOOTERFILLTRANSNAME (CTF_PM_FOOTERFLAG|CTF_PM_FILLTRANSNAME)
-
-#define CTF_PM_FTN_HEIGHT (XML_PM_CTF_START + 0x0060)
-#define CTF_PM_FTN_LINE_WEIGHT (XML_PM_CTF_START + 0x0061)
-#define CTF_PM_FTN_LINE_COLOR (XML_PM_CTF_START + 0x0062)
-#define CTF_PM_FTN_LINE_WIDTH (XML_PM_CTF_START + 0x0063)
-#define CTF_PM_FTN_LINE_ADJUST (XML_PM_CTF_START + 0x0064)
-#define CTF_PM_FTN_LINE_DISTANCE (XML_PM_CTF_START + 0x0065)
-#define CTF_PM_FTN_DISTANCE (XML_PM_CTF_START + 0x0066)
-#define CTF_PM_FTN_LINE_STYLE (XML_PM_CTF_START + 0x0067)
-
-extern const XMLPropertyMapEntry aXMLPageMasterStyleMap[];
-extern const XMLPropertyMapEntry aXMLPageMasterHeaderImportStyleMap[];
-extern const XMLPropertyMapEntry aXMLPageMasterFooterImportStyleMap[];
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/xmloff/WordWrapPropertyHdl.hxx b/include/xmloff/WordWrapPropertyHdl.hxx
deleted file mode 100644
index 12fca72171e3..000000000000
--- a/include/xmloff/WordWrapPropertyHdl.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- 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/.
- *
- * 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 .
- */
-
-#ifndef INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX
-#define INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX
-
-#include <xmloff/xmlprhdl.hxx>
-
-/**
- PropertyHandler for a named xml bool type:
-*/
-class SvXMLImport;
-class XMLWordWrapPropertyHdl final : public XMLPropertyHandler
-{
-private:
- SvXMLImport* const mpImport;
-
-public:
- XMLWordWrapPropertyHdl( SvXMLImport* pImport );
- virtual ~XMLWordWrapPropertyHdl() override;
-
- virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
- virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
-};
-
-#endif // INCLUDED_XMLOFF_WORDWRAPPROPERTYHDL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/xmloff/XMLEmbeddedObjectExportFilter.hxx b/include/xmloff/XMLEmbeddedObjectExportFilter.hxx
deleted file mode 100644
index e3d3577f1ac3..000000000000
--- a/include/xmloff/XMLEmbeddedObjectExportFilter.hxx
+++ /dev/null
@@ -1,71 +0,0 @@
-/* -*- 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/.
- *
- * 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 .
- */
-
-#ifndef INCLUDED_XMLOFF_XMLEMBEDDEDOBJECTEXPORTFILTER_HXX
-#define INCLUDED_XMLOFF_XMLEMBEDDEDOBJECTEXPORTFILTER_HXX
-
-#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <cppuhelper/implbase.hxx>
-
-class XMLEmbeddedObjectExportFilter final : public cppu::WeakImplHelper<
- css::xml::sax::XExtendedDocumentHandler,
- css::lang::XServiceInfo,
- css::lang::XInitialization>
-{
- css::uno::Reference< css::xml::sax::XDocumentHandler > xHandler;
- css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > xExtHandler;
-
-public:
- XMLEmbeddedObjectExportFilter( const css::uno::Reference< css::xml::sax::XDocumentHandler > & rHandler ) throw();
- virtual ~XMLEmbeddedObjectExportFilter () throw() override;
-
- // css::xml::sax::XDocumentHandler
- virtual void SAL_CALL startDocument() override;
- virtual void SAL_CALL endDocument() override;
- virtual void SAL_CALL startElement(const OUString& aName,
- const css::uno::Reference< css::xml::sax::XAttributeList > & xAttribs) override;
- virtual void SAL_CALL endElement(const OUString& aName) override;
- virtual void SAL_CALL characters(const OUString& aChars) override;
- virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) override;
- virtual void SAL_CALL processingInstruction(const OUString& aTarget,
- const OUString& aData) override;
- virtual void SAL_CALL setDocumentLocator(const css::uno::Reference< css::xml::sax::XLocator > & xLocator) override;
-
- // css::xml::sax::XExtendedDocumentHandler
- virtual void SAL_CALL startCDATA() override;
- virtual void SAL_CALL endCDATA() override;
- virtual void SAL_CALL comment(const OUString& sComment) override;
- virtual void SAL_CALL allowLineBreak() override;
- virtual void SAL_CALL unknown(const OUString& sString) override;
-
- // XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
-
- // XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
-
-};
-
-#endif // INCLUDED_XMLOFF_XMLEMBEDDEDOBJECTEXPORTFILTER_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/xmloff/fasttokenhandler.hxx b/include/xmloff/fasttokenhandler.hxx
deleted file mode 100644
index 613df97ae03d..000000000000
--- a/include/xmloff/fasttokenhandler.hxx
+++ /dev/null
@@ -1,98 +0,0 @@
-/* -*- 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_XMLOFF_FASTTOKENHANDLER_HXX
-#define INCLUDED_XMLOFF_FASTTOKENHANDLER_HXX
-
-#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
-#include <cppuhelper/implbase.hxx>
-#include <sax/fastattribs.hxx>
-#include <xmloff/token/tokens.hxx>
-#include <rtl/instance.hxx>
-#include <sal/log.hxx>
-#include <xmloff/dllapi.h>
-
-namespace xmloff {
-namespace token {
-
-class TokenMap
-{
-public:
- explicit TokenMap();
- ~TokenMap();
-
- /** Returns the UTF-8 name of the passed token identifier as byte sequence. */
- css::uno::Sequence< sal_Int8 > const & getUtf8TokenName( sal_Int32 nToken ) const
- {
- SAL_WARN_IF(nToken < 0 || nToken >= XML_TOKEN_COUNT, "xmloff", "Wrong nToken parameter");
- if( 0 <= nToken && nToken < XML_TOKEN_COUNT )
- return maTokenNamesUtf8[ nToken ];
- return EMPTY_BYTE_SEQ;
- }
-
- const OUString& getTokenName( sal_Int32 nToken ) const
- {
- SAL_WARN_IF(nToken < 0 || nToken >= XML_TOKEN_COUNT, "xmloff", "Wrong nToken parameter");
- if( 0 <= nToken && nToken < XML_TOKEN_COUNT )
- return maTokenNames[ nToken ];
- return EMPTY_STRING;
- }
-
- /** Returns the token identifier for the passed UTF-8 token name. */
- static sal_Int32 getTokenFromUtf8( const css::uno::Sequence< sal_Int8 >& rUtf8Name )
- {
- return getTokenFromUTF8( reinterpret_cast< const char* >(
- rUtf8Name.getConstArray() ), rUtf8Name.getLength() );
- }
-
- /** Returns the token identifier for a UTF-8 string */
- static sal_Int32 getTokenFromUTF8( const char *pToken, sal_Int32 nLength )
- {
- return getTokenPerfectHash( pToken, nLength );
- }
-
-private:
- static sal_Int32 getTokenPerfectHash( const char *pToken, sal_Int32 nLength );
-
- std::vector< css::uno::Sequence< sal_Int8 > > maTokenNamesUtf8;
- std::vector< OUString > maTokenNames;
-
- static const css::uno::Sequence< sal_Int8 > EMPTY_BYTE_SEQ;
- static const OUString EMPTY_STRING;
-};
-
-struct StaticTokenMap : public rtl::Static< TokenMap, StaticTokenMap > {};
-
-class FastTokenHandler final : public cppu::WeakImplHelper<
- css::xml::sax::XFastTokenHandler >,
- public sax_fastparser::FastTokenHandlerBase
-{
-public:
- explicit FastTokenHandler();
- virtual ~FastTokenHandler() override;
-
- // XFastTokenHandler
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getUTF8Identifier( sal_Int32 nToken ) override;
- virtual sal_Int32 SAL_CALL getTokenFromUTF8( const css::uno::Sequence< sal_Int8 >& Identifier ) override;
-
- const OUString & getIdentifier( sal_Int32 nToken ) const;
-
- // Much faster direct C++ shortcut to the method that matters
- virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const override;
-
-private:
- TokenMap& mrTokenMap;
-};
-
-} // namespace token
-} // namespace xmloff
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/xmloff/xmltabe.hxx b/include/xmloff/xmltabe.hxx
deleted file mode 100644
index 7d4fb76dc53a..000000000000
--- a/include/xmloff/xmltabe.hxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- 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/.
- *
- * 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 .
- */
-
-#ifndef INCLUDED_XMLOFF_XMLTABE_HXX
-#define INCLUDED_XMLOFF_XMLTABE_HXX
-
-// prevent funny things like "#define sun 1" from the compiler
-#include <sal/config.h>
-#include <sal/types.h>
-
-class SvXMLExport;
-namespace com { namespace sun { namespace star {
- namespace style { struct TabStop; }
- namespace uno { class Any; }
-} } }
-
-
-class SvxXMLTabStopExport final
-{
- SvXMLExport& rExport; // for access to document handler
-
- void exportTabStop( const css::style::TabStop* pTabStop );
-
-public:
-
- SvxXMLTabStopExport( SvXMLExport& rExport );
- ~SvxXMLTabStopExport();
-
- // core API
- void Export( const css::uno::Any& rAny );
-};
-
-
-#endif // INCLUDED_XMLOFF_XMLTABE_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */