Files
libreoffice/xmloff/source/core/xmlictxt.cxx

83 lines
2.6 KiB
C++
Raw Normal View History

2000-09-18 23:31:44 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 23:31:44 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2000-09-18 23:31:44 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 23:31:44 +00:00
*
* $RCSfile: xmlictxt.cxx,v $
* $Revision: 1.7 $
2000-09-18 23:31:44 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 23:31:44 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 23:31:44 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 23:31:44 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 23:31:44 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmloff.hxx"
2000-09-18 23:31:44 +00:00
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/xml/sax/XLocator.hpp>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmlictxt.hxx>
2000-09-18 23:31:44 +00:00
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
2000-09-18 23:31:44 +00:00
using namespace ::com::sun::star;
TYPEINIT0( SvXMLImportContext );
SvXMLImportContext::SvXMLImportContext( SvXMLImport& rImp, USHORT nPrfx,
const OUString& rLName ) :
mrImport( rImp ),
mnPrefix( nPrfx ),
maLocalName( rLName ),
mpRewindMap( 0 )
2000-09-18 23:31:44 +00:00
{
}
SvXMLImportContext::~SvXMLImportContext()
{
}
SvXMLImportContext *SvXMLImportContext::CreateChildContext( USHORT nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
return mrImport.CreateContext( nPrefix, rLocalName, xAttrList );
2000-09-18 23:31:44 +00:00
}
void SvXMLImportContext::StartElement( const uno::Reference< xml::sax::XAttributeList >& )
{
}
void SvXMLImportContext::EndElement()
{
}
void SvXMLImportContext::Characters( const OUString& )
2000-09-18 23:31:44 +00:00
{
}