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