2017-08-11 02:11:22 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "xmlictxt.hxx"
|
|
|
|
|
|
|
|
#include "xmlimp.hxx"
|
|
|
|
|
|
|
|
using namespace com::sun::star;
|
|
|
|
|
|
|
|
namespace writerperfect
|
|
|
|
{
|
|
|
|
namespace exp
|
|
|
|
{
|
2018-04-20 02:07:25 -05:00
|
|
|
XMLImportContext::XMLImportContext(XMLImport& rImport)
|
2017-08-11 02:11:22 -05:00
|
|
|
: mrImport(rImport)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
rtl::Reference<XMLImportContext> XMLImportContext::CreateChildContext(
|
|
|
|
const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
|
2017-08-11 02:11:22 -05:00
|
|
|
{
|
|
|
|
return mrImport.CreateContext(rName, xAttribs);
|
|
|
|
}
|
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::startDocument() {}
|
2017-08-11 02:11:22 -05:00
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::endDocument() {}
|
2017-08-11 02:11:22 -05:00
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::startElement(
|
|
|
|
const OUString& /*rName*/,
|
|
|
|
const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
|
2017-08-11 02:11:22 -05:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::endElement(const OUString& /*rName*/) {}
|
2017-08-11 02:11:22 -05:00
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::characters(const OUString& /*rChars*/) {}
|
2017-08-11 02:11:22 -05:00
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::ignorableWhitespace(const OUString& /*rWhitespaces*/) {}
|
2017-08-11 02:11:22 -05:00
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::processingInstruction(const OUString& /*rTarget*/, const OUString& /*rData*/)
|
2017-08-11 02:11:22 -05:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-04-20 02:07:25 -05:00
|
|
|
void XMLImportContext::setDocumentLocator(
|
|
|
|
const css::uno::Reference<css::xml::sax::XLocator>& /*xLocator*/)
|
2017-08-11 02:11:22 -05:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace exp
|
|
|
|
} // namespace writerperfect
|
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|