LibreOffice Module sw (master)  1
xmltexte.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SW_SOURCE_FILTER_XML_XMLTEXTE_HXX
21 #define INCLUDED_SW_SOURCE_FILTER_XML_XMLTEXTE_HXX
22 
23 #include <xmloff/txtparae.hxx>
24 #include <tools/globname.hxx>
25 
26 #define XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE "vnd.sun.star.GraphicObject:"
27 
28 class SwXMLExport;
30 class SwNoTextNode;
31 class SwTableNode;
32 namespace com::sun::star::style { class XStyle; }
33 
35 {
39 
40  // Collected autostyles for use in exportTextAutoStyles
41  std::vector<const SwTableNode*> maTableNodes;
42 
44  const css::uno::Reference < css::beans::XPropertySet >& rPropSet );
45 
46 protected:
47  virtual void _collectTextEmbeddedAutoStyles(
48  const css::uno::Reference< css::beans::XPropertySet > & rPropSet ) override;
49  virtual void _exportTextEmbedded(
50  const css::uno::Reference< css::beans::XPropertySet > & rPropSet,
51  const css::uno::Reference< css::beans::XPropertySetInfo > & rPropSetInfo ) override;
52 
53  virtual void exportTable(
54  const css::uno::Reference< css::text::XTextContent > & rTextContent,
55  bool bAutoStyles, bool bProgress ) override;
56 
57  virtual void exportTableAutoStyles() override;
58 
59 public:
61  SwXMLExport& rExp,
63  virtual ~SwXMLTextParagraphExport() override;
64 };
65 
66 #endif // INCLUDED_SW_SOURCE_FILTER_XML_XMLTEXTE_HXX
67 
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static SwNoTextNode * GetNoTextNode(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
Definition: xmltexte.cxx:69
virtual void exportTableAutoStyles() override
Definition: xmltble.cxx:1159
virtual void _exportTextEmbedded(const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) override
Definition: xmltexte.cxx:242
const SvGlobalName aAppletClassId
Definition: xmltexte.hxx:36
std::vector< const SwTableNode * > maTableNodes
Definition: xmltexte.hxx:41
virtual ~SwXMLTextParagraphExport() override
Definition: xmltexte.cxx:95
const SvGlobalName aIFrameClassId
Definition: xmltexte.hxx:38
virtual void exportTable(const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress) override
Definition: xmltble.cxx:1166
virtual void _collectTextEmbeddedAutoStyles(const css::uno::Reference< css::beans::XPropertySet > &rPropSet) override
Definition: xmltexte.cxx:207
SvXMLAutoStylePoolP & rAutoStylePool
const SvGlobalName aPluginClassId
Definition: xmltexte.hxx:37
SwXMLTextParagraphExport(SwXMLExport &rExp, SvXMLAutoStylePoolP &rAutoStylePool)
Definition: xmltexte.cxx:85