android: Update app-specific/MIME type icons
[LibreOffice.git] / writerperfect / source / writer / exp / xmltbli.hxx
blobc1b33f498aafa1d595458205fa6570ad5d2ec86b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #include <librevenge/librevenge.h>
14 #include "xmlictxt.hxx"
16 namespace writerperfect::exp
18 /// Handler for <table:table>.
19 class XMLTableContext : public XMLImportContext
21 public:
22 XMLTableContext(XMLImport& rImport, bool bTopLevel = false);
24 rtl::Reference<XMLImportContext>
25 CreateChildContext(const OUString& rName,
26 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
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;
33 private:
34 bool m_bTableOpened = false;
35 /// If the context is a direct child of XMLBodyContentContext.
36 /// Only direct child of XMLBodyContentContext has to handle page span.
37 bool m_bTopLevel;
38 librevenge::RVNGPropertyList m_aPropertyList;
39 librevenge::RVNGPropertyListVector m_aColumns;
42 } // namespace writerperfect::exp
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */