LibreOffice Module writerperfect (master) 1
xmltbli.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{
20{
21public:
22 XMLTableContext(XMLImport& rImport, bool bTopLevel = false);
23
25 CreateChildContext(const OUString& rName,
26 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
27
28 void SAL_CALL
29 startElement(const OUString& rName,
30 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
31 void SAL_CALL endElement(const OUString& rName) override;
32
33private:
34 bool m_bTableOpened = false;
38 librevenge::RVNGPropertyList m_aPropertyList;
39 librevenge::RVNGPropertyListVector m_aColumns;
40};
41
42} // namespace writerperfect::exp
43
44/* 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 <table:table>.
Definition: xmltbli.hxx:20
librevenge::RVNGPropertyList m_aPropertyList
Definition: xmltbli.hxx:38
bool m_bTopLevel
If the context is a direct child of XMLBodyContentContext.
Definition: xmltbli.hxx:37
void SAL_CALL endElement(const OUString &rName) override
Definition: xmltbli.cxx:244
rtl::Reference< XMLImportContext > CreateChildContext(const OUString &rName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
Definition: xmltbli.cxx:197
XMLTableContext(XMLImport &rImport, bool bTopLevel=false)
Definition: xmltbli.cxx:191
librevenge::RVNGPropertyListVector m_aColumns
Definition: xmltbli.hxx:39
void SAL_CALL startElement(const OUString &rName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
Definition: xmltbli.cxx:220