LibreOffice Module writerperfect (master) 1
txtstyli.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
10#pragma once
11
12#include <librevenge/librevenge.h>
13
14#include "xmlictxt.hxx"
15
16namespace writerperfect::exp
17{
18class XMLStylesContext;
19
22{
23public:
24 XMLStyleContext(XMLImport& rImport, XMLStylesContext& rStyles);
25
27 CreateChildContext(const OUString& rName,
28 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
29 void SAL_CALL
30 startElement(const OUString& rName,
31 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
32 void SAL_CALL endElement(const OUString& rName) override;
33
34 librevenge::RVNGPropertyList& GetTextPropertyList();
35 librevenge::RVNGPropertyList& GetParagraphPropertyList();
36 librevenge::RVNGPropertyList& GetCellPropertyList();
37 librevenge::RVNGPropertyList& GetColumnPropertyList();
38 librevenge::RVNGPropertyList& GetRowPropertyList();
39 librevenge::RVNGPropertyList& GetTablePropertyList();
40 librevenge::RVNGPropertyList& GetGraphicPropertyList();
41 librevenge::RVNGPropertyList& GetPageLayoutPropertyList();
42
43private:
44 OUString m_aName;
45 OUString m_aFamily;
46 librevenge::RVNGPropertyList m_aTextPropertyList;
47 librevenge::RVNGPropertyList m_aParagraphPropertyList;
48 librevenge::RVNGPropertyList m_aCellPropertyList;
49 librevenge::RVNGPropertyList m_aColumnPropertyList;
50 librevenge::RVNGPropertyList m_aRowPropertyList;
51 librevenge::RVNGPropertyList m_aTablePropertyList;
52 librevenge::RVNGPropertyList m_aGraphicPropertyList;
53 librevenge::RVNGPropertyList m_aPageLayoutPropertyList;
54 librevenge::RVNGPropertyList m_aMasterPagePropertyList;
56};
57
58} // namespace writerperfect::exp
59
60/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Base class for a handler of a single XML element during ODF -> librevenge conversion.
Definition: xmlictxt.hxx:23
ODT export feeds this class to make librevenge calls.
Definition: xmlimp.hxx:69
Handler for <style:style>.
Definition: txtstyli.hxx:22
librevenge::RVNGPropertyList & GetGraphicPropertyList()
Definition: txtstyli.cxx:403
XMLStyleContext(XMLImport &rImport, XMLStylesContext &rStyles)
Definition: txtstyli.cxx:305
librevenge::RVNGPropertyList m_aCellPropertyList
Definition: txtstyli.hxx:48
librevenge::RVNGPropertyList & GetPageLayoutPropertyList()
Definition: txtstyli.cxx:408
librevenge::RVNGPropertyList & GetRowPropertyList()
Definition: txtstyli.cxx:396
librevenge::RVNGPropertyList m_aTablePropertyList
Definition: txtstyli.hxx:51
librevenge::RVNGPropertyList & GetTablePropertyList()
Definition: txtstyli.cxx:398
librevenge::RVNGPropertyList m_aColumnPropertyList
Definition: txtstyli.hxx:49
librevenge::RVNGPropertyList m_aMasterPagePropertyList
Definition: txtstyli.hxx:54
librevenge::RVNGPropertyList m_aGraphicPropertyList
Definition: txtstyli.hxx:52
librevenge::RVNGPropertyList & GetColumnPropertyList()
Definition: txtstyli.cxx:391
void SAL_CALL startElement(const OUString &rName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
Definition: txtstyli.cxx:333
librevenge::RVNGPropertyList m_aTextPropertyList
Definition: txtstyli.hxx:46
void SAL_CALL endElement(const OUString &rName) override
Definition: txtstyli.cxx:357
librevenge::RVNGPropertyList & GetTextPropertyList()
Definition: txtstyli.cxx:382
librevenge::RVNGPropertyList m_aParagraphPropertyList
Definition: txtstyli.hxx:47
librevenge::RVNGPropertyList & GetParagraphPropertyList()
Definition: txtstyli.cxx:384
rtl::Reference< XMLImportContext > CreateChildContext(const OUString &rName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
Definition: txtstyli.cxx:311
librevenge::RVNGPropertyList m_aRowPropertyList
Definition: txtstyli.hxx:50
librevenge::RVNGPropertyList & GetCellPropertyList()
Definition: txtstyli.cxx:389
librevenge::RVNGPropertyList m_aPageLayoutPropertyList
Definition: txtstyli.hxx:53
Handler for <office:automatic-styles>/<office:styles>.
Definition: xmlfmt.hxx:25