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/.
10 #include "XMLTextListContext.hxx"
12 #include "XMLTextListItemContext.hxx"
14 using namespace com::sun::star
;
16 namespace writerperfect::exp
18 XMLTextListContext::XMLTextListContext(XMLImport
& rImport
)
19 : XMLImportContext(rImport
)
23 rtl::Reference
<XMLImportContext
> XMLTextListContext::CreateChildContext(
24 const OUString
& rName
, const css::uno::Reference
<css::xml::sax::XAttributeList
>& /*xAttribs*/)
26 if (rName
== "text:list-item")
27 return new XMLTextListItemContext(GetImport());
31 } // namespace writerperfect::exp
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */