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 namespace com::sun::star::style { class XStyle; }
32 
34 {
38 
40  const css::uno::Reference < css::beans::XPropertySet >& rPropSet );
41 
42 protected:
43  virtual void _collectTextEmbeddedAutoStyles(
44  const css::uno::Reference< css::beans::XPropertySet > & rPropSet ) override;
45  virtual void _exportTextEmbedded(
46  const css::uno::Reference< css::beans::XPropertySet > & rPropSet,
47  const css::uno::Reference< css::beans::XPropertySetInfo > & rPropSetInfo ) override;
48 
49  virtual void exportTable(
50  const css::uno::Reference< css::text::XTextContent > & rTextContent,
51  bool bAutoStyles, bool bProgress ) override;
52 
53 public:
55  SwXMLExport& rExp,
57  virtual ~SwXMLTextParagraphExport() override;
58 };
59 
60 #endif // INCLUDED_SW_SOURCE_FILTER_XML_XMLTEXTE_HXX
61 
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static SwNoTextNode * GetNoTextNode(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
Definition: xmltexte.cxx:69
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:35
virtual ~SwXMLTextParagraphExport() override
Definition: xmltexte.cxx:95
const SvGlobalName aIFrameClassId
Definition: xmltexte.hxx:37
virtual void exportTable(const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress) override
Definition: xmltble.cxx:1159
virtual void _collectTextEmbeddedAutoStyles(const css::uno::Reference< css::beans::XPropertySet > &rPropSet) override
Definition: xmltexte.cxx:207
SvXMLAutoStylePoolP & rAutoStylePool
const SvGlobalName aPluginClassId
Definition: xmltexte.hxx:36
SwXMLTextParagraphExport(SwXMLExport &rExp, SvXMLAutoStylePoolP &rAutoStylePool)
Definition: xmltexte.cxx:85