android: Update app-specific/MIME type icons
[LibreOffice.git] / writerperfect / source / writer / exp / xmltext.hxx
blob50188acfed66fe0915b3deaf69b06a12cd934e9f
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 "xmlictxt.hxx"
14 namespace writerperfect::exp
16 /// Handler for <office:text>.
17 class XMLBodyContentContext : public XMLImportContext
19 public:
20 XMLBodyContentContext(XMLImport& rImport);
22 rtl::Reference<XMLImportContext> CreateChildContext(
23 const OUString& rName,
24 const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/) override;
25 void SAL_CALL endElement(const OUString& rName) override;
28 /// Context factory for body text, section, table cell, etc.
29 rtl::Reference<XMLImportContext>
30 CreateTextChildContext(XMLImport& rImport, std::u16string_view rName, bool bTopLevel = false);
32 } // namespace writerperfect::exp
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */