1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
12 #include "xmlictxt.hxx"
14 namespace writerperfect::exp
16 /// Handler for <office:text>.
17 class XMLBodyContentContext
: public XMLImportContext
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: */