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 "xmlictxt.hxx"
14 using namespace com::sun::star
;
16 namespace writerperfect::exp
18 XMLImportContext::XMLImportContext(XMLImport
& rImport
)
23 rtl::Reference
<XMLImportContext
> XMLImportContext::CreateChildContext(
24 const OUString
& rName
, const css::uno::Reference
<css::xml::sax::XAttributeList
>& xAttribs
)
26 return mrImport
.CreateContext(rName
, xAttribs
);
29 void XMLImportContext::startDocument() {}
31 void XMLImportContext::endDocument() {}
33 void XMLImportContext::startElement(
34 const OUString
& /*rName*/,
35 const css::uno::Reference
<css::xml::sax::XAttributeList
>& /*xAttribs*/)
39 void XMLImportContext::endElement(const OUString
& /*rName*/) {}
41 void XMLImportContext::characters(const OUString
& /*rChars*/) {}
43 void XMLImportContext::ignorableWhitespace(const OUString
& /*rWhitespaces*/) {}
45 void XMLImportContext::processingInstruction(const OUString
& /*rTarget*/, const OUString
& /*rData*/)
49 void XMLImportContext::setDocumentLocator(
50 const css::uno::Reference
<css::xml::sax::XLocator
>& /*xLocator*/)
54 } // namespace writerperfect::exp
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */