LibreOffice Module xmloff (master)  1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
SvXMLImport Class Reference

#include <xmlimp.hxx>

Inheritance diagram for SvXMLImport:
[legend]
Collaboration diagram for SvXMLImport:
[legend]

Public Member Functions

 SvXMLImport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, SvXMLImportFlags nImportFlags=SvXMLImportFlags::ALL, const css::uno::Sequence< OUString > &sSupportedServiceNames={})
 
void cleanup () throw ()
 
virtual ~SvXMLImport () override throw ()
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startCDATA () override
 
virtual void SAL_CALL endCDATA () override
 
virtual void SAL_CALL comment (const OUString &sComment) override
 
virtual void SAL_CALL allowLineBreak () override
 
virtual void SAL_CALL unknown (const OUString &sString) override
 
virtual void SAL_CALL parseStream (const css::xml::sax::InputSource &aInputSource) override
 
virtual void SAL_CALL setFastDocumentHandler (const css::uno::Reference< css::xml::sax::XFastDocumentHandler > &Handler) override
 
virtual void SAL_CALL setTokenHandler (const css::uno::Reference< css::xml::sax::XFastTokenHandler > &Handler) override
 
virtual void SAL_CALL registerNamespace (const OUString &NamespaceURL, sal_Int32 NamespaceToken) override
 
virtual OUString SAL_CALL getNamespaceURL (const OUString &rPrefix) override
 
virtual void SAL_CALL setErrorHandler (const css::uno::Reference< css::xml::sax::XErrorHandler > &Handler) override
 
virtual void SAL_CALL setEntityResolver (const css::uno::Reference< css::xml::sax::XEntityResolver > &Resolver) override
 
virtual void SAL_CALL setLocale (const css::lang::Locale &rLocale) override
 
virtual void SAL_CALL setNamespaceHandler (const css::uno::Reference< css::xml::sax::XFastNamespaceHandler > &Handler) override
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual OUString SAL_CALL getImplementationName () final override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () final override
 
virtual void SetStatistics (const css::uno::Sequence< css::beans::NamedValue > &i_rStats)
 
rtl::Reference< XMLTextImportHelper > const & GetTextImport ()
 
bool HasTextImport () const
 
SvXMLNumFmtHelperGetDataStylesImport ()
 
rtl::Reference< XMLShapeImportHelper > const & GetShapeImport ()
 
rtl::Reference< SchXMLImportHelper > const & GetChartImport ()
 
rtl::Reference< ::xmloff::OFormLayerXMLImport > const & GetFormImport ()
 
const css::uno::Reference< css::beans::XPropertySet > & getImportInfo () const
 
XMLEventImportHelperGetEventImport ()
 
SvXMLNamespaceMapGetNamespaceMap ()
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
const css::uno::Reference< css::xml::sax::XLocator > & GetLocator () const
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
const css::uno::Reference< css::container::XNameContainer > & GetGradientHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetHatchHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetBitmapHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetTransGradientHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetMarkerHelper ()
 
const css::uno::Reference< css::container::XNameContainer > & GetDashHelper ()
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
css::uno::Reference< css::graphic::XGraphic > loadGraphicByURL (OUString const &rURL)
 
css::uno::Reference< css::graphic::XGraphic > loadGraphicFromBase64 (css::uno::Reference< css::io::XOutputStream > const &rxOutputStream)
 
css::uno::Reference< css::io::XOutputStream > GetStreamForGraphicObjectURLFromBase64 () const
 
bool IsPackageURL (const OUString &rURL) const
 
OUString ResolveEmbeddedObjectURL (const OUString &rURL, const OUString &rClassId)
 
css::uno::Reference< css::io::XOutputStream > GetStreamForEmbeddedObjectURLFromBase64 () const
 
OUString ResolveEmbeddedObjectURLFromBase64 ()
 
css::uno::Reference< css::embed::XStorage > const & GetSourceStorage () const
 
void AddStyleDisplayName (XmlStyleFamily nFamily, const OUString &rName, const OUString &rDisplayName)
 
OUString GetStyleDisplayName (XmlStyleFamily nFamily, const OUString &rName) const
 
ProgressBarHelperGetProgressBarHelper ()
 
void AddNumberStyle (sal_Int32 nKey, const OUString &sName)
 
virtual void SetViewSettings (const css::uno::Sequence< css::beans::PropertyValue > &aViewProps)
 
virtual void SetConfigurationSettings (const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps)
 
virtual void SetDocumentSpecificSettings (const OUString &_rSettingsGroupName, const css::uno::Sequence< css::beans::PropertyValue > &_rSettings)
 
XMLFontStylesContextGetFontDecls ()
 
SvXMLStylesContextGetStyles ()
 
SvXMLStylesContextGetAutoStyles ()
 
const XMLFontStylesContextGetFontDecls () const
 
const SvXMLStylesContextGetStyles () const
 
const SvXMLStylesContextGetAutoStyles () const
 
SvXMLImportFlags getImportFlags () const
 
bool IsFormsSupported () const
 
OUString GetAbsoluteReference (const OUString &rValue) const
 
sal_Unicode ConvStarBatsCharToStarSymbol (sal_Unicode c)
 
sal_Unicode ConvStarMathCharToStarSymbol (sal_Unicode c)
 
bool IsTableShapeSupported () const
 
OUString const & GetODFVersion () const
 
bool IsOOoXML () const
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
 Record an error condition that occurred during import. More...
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams)
 
void SetError (sal_Int32 nId)
 
void SetError (sal_Int32 nId, const OUString &rMsg1)
 
void SetError (sal_Int32 nId, const OUString &rMsg1, const OUString &rMsg2)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
css::uno::Reference< css::uno::XComponentContext > const & GetComponentContext () const
 
bool IsShapePositionInHoriL2R () const
 
bool IsTextDocInOOoFileFormat () const
 
OUString GetBaseURL () const
 
OUString GetDocumentBase () const
 
void SetXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc, OUString const &i_rXmlId)
 set the XmlId attribute of given UNO object (for RDF metadata) More...
 
void AddRDFa (const css::uno::Reference< css::rdf::XMetadatable > &i_xObject, OUString const &i_rAbout, OUString const &i_rProperty, OUString const &i_rContent, OUString const &i_rDatatype)
 Add a RDFa statement; parameters are XML attribute values. More...
 
SAL_DLLPRIVATE::xmloff::RDFaImportHelper & GetRDFaImportHelper ()
 do not dllexport this; only for advanced cases (bookmark-start) More...
 
virtual void initXForms ()
 
bool getBuildIds (sal_Int32 &rUPD, sal_Int32 &rBuild) const
 returns the upd and build id (f.e. More...
 
bool isGeneratorVersionOlderThan (sal_uInt16 const nOOoVersion, sal_uInt16 const nLOVersion)
 depending on whether the generator version indicates LO, compare against either the given LO or given OOo version More...
 
sal_uInt16 getGeneratorVersion () const
 this checks the build ID and returns More...
 
bool embeddedFontAlreadyProcessed (const OUString &url)
 Returns true if the embedded font document URL has already been processed. More...
 
virtual void NotifyEmbeddedFontRead ()
 
void NotifyMacroEventRead ()
 
bool needFixPositionAfterZ () const
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId () throw ()
 
static const OUString & getNameFromToken (sal_Int32 nToken)
 
static OUString getPrefixAndNameFromToken (sal_Int32 nToken)
 
static OUString getNamespacePrefixFromToken (sal_Int32 nToken, const SvXMLNamespaceMap *pMap)
 
static OUString getNamespaceURIFromToken (sal_Int32 nToken)
 
static OUString getNamespacePrefixFromURI (const OUString &rURI)
 
static sal_Int32 getTokenFromName (const OUString &sName)
 

Static Public Attributes

static constexpr OUStringLiteral aDefaultNamespace = u""
 
static constexpr OUStringLiteral aNamespaceSeparator = u":"
 
static const sal_uInt16 OOo_1x = 10
 
static const sal_uInt16 OOo_2x = 20
 
static const sal_uInt16 OOo_30x = 30
 
static const sal_uInt16 OOo_31x = 31
 
static const sal_uInt16 OOo_32x = 32
 
static const sal_uInt16 OOo_33x = 33
 
static const sal_uInt16 OOo_34x = 34
 
static const sal_uInt16 AOO_40x = 40
 
static const sal_uInt16 AOO_4x = 41
 
static const sal_uInt16 LO_flag = 0x100
 
static const sal_uInt16 LO_3x = 30 | LO_flag
 
static const sal_uInt16 LO_41x = 41 | LO_flag
 
static const sal_uInt16 LO_42x = 42 | LO_flag
 
static const sal_uInt16 LO_43x = 43 | LO_flag
 
static const sal_uInt16 LO_44x = 44 | LO_flag
 
static const sal_uInt16 LO_5x = 50 | LO_flag
 
static const sal_uInt16 LO_6x = 60 | LO_flag
 : when adding a new value more specific than "6x", grep for all current uses and adapt them!!! More...
 
static const sal_uInt16 LO_7x = 70 | LO_flag
 
static const sal_uInt16 ProductVersionUnknown = SAL_MAX_UINT16
 

Protected Member Functions

virtual SvXMLImportContextCreateFastContext (sal_Int32 Element, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual XMLTextImportHelperCreateTextImport ()
 
void ClearTextImport ()
 
virtual XMLShapeImportHelperCreateShapeImport ()
 
bool HasShapeImport () const
 
void ClearShapeImport ()
 
::xmloff::OFormLayerXMLImportCreateFormImport ()
 
void SetFontDecls (XMLFontStylesContext *pFontDecls)
 
void SetStyles (SvXMLStylesContext *pStyles)
 
void SetAutoStyles (SvXMLStylesContext *pAutoStyles)
 
void SetMasterStyles (SvXMLStylesContext *pMasterStyles)
 
bool IsODFVersionConsistent (const OUString &aODFVersion)
 
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & GetEmbeddedResolver () const
 
void SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver)
 
const css::uno::Reference< css::document::XGraphicStorageHandler > & GetGraphicStorageHandler () const
 
void SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler)
 
void CreateNumberFormatsSupplier_ ()
 
void CreateDataStylesImport_ ()
 

Static Protected Member Functions

static SchXMLImportHelperCreateChartImport ()
 

Protected Attributes

bool mbIsFormsSupported
 
bool mbIsTableShapeSupported
 
bool mbNotifyMacroEventRead
 

Private Member Functions

SAL_DLLPRIVATE void InitCtor_ ()
 
void registerNamespaces ()
 
std::unique_ptr< SvXMLNamespaceMapprocessNSAttributes (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
void Characters (const OUString &aChars)
 

Static Private Member Functions

static void initializeNamespaceMaps ()
 

Private Attributes

css::uno::Reference< css::xml::sax::XLocator > mxLocator
 
css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::util::XNumberFormatsSupplier > mxNumberFormatsSupplier
 
css::uno::Reference< css::document::XGraphicStorageHandler > mxGraphicStorageHandler
 
css::uno::Reference< css::document::XEmbeddedObjectResolver > mxEmbeddedResolver
 
css::uno::Reference< css::beans::XPropertySetmxImportInfo
 
rtl::Reference< XMLTextImportHelpermxTextImport
 
rtl::Reference< XMLShapeImportHelpermxShapeImport
 
rtl::Reference< SchXMLImportHelpermxChartImport
 
rtl::Reference< ::xmloff::OFormLayerXMLImportmxFormImport
 
rtl::Reference< XMLFontStylesContextmxFontDecls
 
rtl::Reference< SvXMLStylesContextmxStyles
 
rtl::Reference< SvXMLStylesContextmxAutoStyles
 
rtl::Reference< SvXMLStylesContextmxMasterStyles
 
css::uno::Reference< css::container::XNameContainer > mxGradientHelper
 
css::uno::Reference< css::container::XNameContainer > mxHatchHelper
 
css::uno::Reference< css::container::XNameContainer > mxBitmapHelper
 
css::uno::Reference< css::container::XNameContainer > mxTransGradientHelper
 
css::uno::Reference< css::container::XNameContainer > mxMarkerHelper
 
css::uno::Reference< css::container::XNameContainer > mxDashHelper
 
css::uno::Reference< css::container::XNameContainer > mxNumberStyles
 
css::uno::Reference< css::lang::XEventListener > mxEventListener
 
std::unique_ptr< SvXMLImport_ImplmpImpl
 
std::unique_ptr< SvXMLNamespaceMapmpNamespaceMap
 
std::unique_ptr< SvXMLUnitConvertermpUnitConv
 
std::stack< SvXMLImportContextRefmaContexts
 
std::stack< css::uno::Reference< css::xml::sax::XFastContextHandler > > maFastContexts
 
std::unique_ptr< SvXMLNumFmtHelpermpNumImport
 
std::unique_ptr< ProgressBarHelpermpProgressBarHelper
 
std::unique_ptr< XMLEventImportHelpermpEventImportHelper
 
std::unique_ptr< XMLErrorsmpXMLErrors
 
rtl::Reference< StyleMapmpStyleMap
 
SvXMLImportFlags mnImportFlags
 
std::set< OUString > embeddedFontUrlsKnown
 
bool isFastContext
 
css::uno::Reference< css::xml::sax::XFastParser > mxParser
 
rtl::Reference< SvXMLImportFastNamespaceHandlermaNamespaceHandler
 
rtl::Reference< comphelper::AttributeListmaAttrList
 
rtl::Reference< comphelper::AttributeListmaNamespaceAttrList
 
css::uno::Reference< css::xml::sax::XFastDocumentHandler > mxFastDocumentHandler
 
css::uno::Reference< css::task::XStatusIndicator > mxStatusIndicator
 

Static Private Attributes

static rtl::Reference< xmloff::token::FastTokenHandlerxTokenHandler
 
static std::unordered_map< sal_Int32, std::pair< OUString, OUString > > aNamespaceMap
 
static std::unordered_map< OUString, OUString > aNamespaceURIPrefixMap
 
static bool bIsNSMapsInitialized = false
 

Friends

class SvXMLImportContext
 
class SvXMLLegacyToFastDocHandler
 

Detailed Description

Definition at line 174 of file xmlimp.hxx.

Constructor & Destructor Documentation

SvXMLImport::SvXMLImport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString const &  implementationName,
SvXMLImportFlags  nImportFlags = SvXMLImportFlags::ALL,
const css::uno::Sequence< OUString > &  sSupportedServiceNames = {} 
)
Parameters
sSupportedServiceNamesif this is empty we default to our normal supported service names

Definition at line 394 of file xmlimp.cxx.

References bIsNSMapsInitialized, InitCtor_(), initializeNamespaceMaps(), maNamespaceHandler, MM_100TH, mxParser, registerNamespaces(), SAL_WARN_IF, setNamespaceHandler(), setTokenHandler(), util, and xTokenHandler.

SvXMLImport::~SvXMLImport ( )
throw (
)
overridevirtual

Definition at line 449 of file xmlimp.cxx.

References cleanup().

Member Function Documentation

void SvXMLImport::AddNumberStyle ( sal_Int32  nKey,
const OUString &  sName 
)
void SvXMLImport::AddRDFa ( const css::uno::Reference< css::rdf::XMetadatable > &  i_xObject,
OUString const &  i_rAbout,
OUString const &  i_rProperty,
OUString const &  i_rContent,
OUString const &  i_rDatatype 
)

Add a RDFa statement; parameters are XML attribute values.

Definition at line 1999 of file xmlimp.cxx.

References GetRDFaImportHelper(), and xmloff::RDFaImportHelper::ParseAndAddRDFa().

Referenced by XMLParaContext::EndElement().

void SvXMLImport::AddStyleDisplayName ( XmlStyleFamily  nFamily,
const OUString &  rName,
const OUString &  rDisplayName 
)
void SAL_CALL SvXMLImport::allowLineBreak ( )
overridevirtual

Definition at line 975 of file xmlimp.cxx.

void SAL_CALL SvXMLImport::cancel ( )
overridevirtual

Definition at line 1028 of file xmlimp.cxx.

void SvXMLImport::Characters ( const OUString &  aChars)
private

Definition at line 825 of file xmlimp.cxx.

References maContexts.

Referenced by SvXMLImportContext::characters().

void SAL_CALL SvXMLImport::characters ( const OUString &  aChars)
overridevirtual

Definition at line 813 of file xmlimp.cxx.

References maContexts, and maFastContexts.

void SvXMLImport::cleanup ( )
throw (
)

Definition at line 425 of file xmlimp.cxx.

References DisposingModel(), maContexts, maFastContexts, mxEventListener, mxModel, and mxTextImport.

Referenced by ~SvXMLImport().

void SvXMLImport::ClearShapeImport ( )
inlineprotected

Definition at line 265 of file xmlimp.hxx.

void SvXMLImport::ClearTextImport ( )
inlineprotected

Definition at line 262 of file xmlimp.hxx.

void SAL_CALL SvXMLImport::comment ( const OUString &  sComment)
overridevirtual

Definition at line 971 of file xmlimp.cxx.

sal_Unicode SvXMLImport::ConvStarBatsCharToStarSymbol ( sal_Unicode  c)
sal_Unicode SvXMLImport::ConvStarMathCharToStarSymbol ( sal_Unicode  c)
SchXMLImportHelper * SvXMLImport::CreateChartImport ( )
staticprotected

Definition at line 1164 of file xmlimp.cxx.

Referenced by GetChartImport().

void SvXMLImport::CreateDataStylesImport_ ( )
protected

Definition at line 1769 of file xmlimp.cxx.

References GetComponentContext(), GetNumberFormatsSupplier(), mpNumImport, and SAL_WARN_IF.

Referenced by GetDataStylesImport().

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SvXMLImport::createFastChildContext ( sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 949 of file xmlimp.cxx.

SvXMLImportContext * SvXMLImport::CreateFastContext ( sal_Int32  Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &  xAttrList 
)
protectedvirtual

Reimplemented in SdXMLImport, XMLAutoTextEventImport, and XMLVersionListImport.

Definition at line 333 of file xmlimp.cxx.

References SAL_WARN, and SvXMLImportContext.

Referenced by startFastElement(), and startUnknownElement().

xmloff::OFormLayerXMLImport * SvXMLImport::CreateFormImport ( )
protected

Definition at line 1169 of file xmlimp.cxx.

Referenced by GetFormImport().

void SvXMLImport::CreateNumberFormatsSupplier_ ( )
protected

Definition at line 1761 of file xmlimp.cxx.

References mxModel, mxNumberFormatsSupplier, and SAL_WARN_IF.

Referenced by GetNumberFormatsSupplier().

XMLShapeImportHelper * SvXMLImport::CreateShapeImport ( )
protectedvirtual

Definition at line 1159 of file xmlimp.cxx.

References mxModel.

Referenced by GetShapeImport().

XMLTextImportHelper * SvXMLImport::CreateTextImport ( )
protectedvirtual

Definition at line 1154 of file xmlimp.cxx.

References mxModel.

Referenced by GetTextImport().

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SvXMLImport::createUnknownChildContext ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 956 of file xmlimp.cxx.

void SvXMLImport::DisposingModel ( )
virtual

Definition at line 1862 of file xmlimp.cxx.

References mxAutoStyles, mxEventListener, mxFontDecls, mxMasterStyles, mxModel, and mxStyles.

Referenced by cleanup().

bool SvXMLImport::embeddedFontAlreadyProcessed ( const OUString &  url)

Returns true if the embedded font document URL has already been processed.

Otherwise returns false and consequent calls with the same URL will return true.

Definition at line 2012 of file xmlimp.cxx.

References embeddedFontUrlsKnown.

void SAL_CALL SvXMLImport::endCDATA ( )
overridevirtual

Definition at line 967 of file xmlimp.cxx.

void SAL_CALL SvXMLImport::endDocument ( )
overridevirtual
void SAL_CALL SvXMLImport::endElement ( const OUString &  aName)
overridevirtual
void SAL_CALL SvXMLImport::endFastElement ( sal_Int32  Element)
overridevirtual

Definition at line 931 of file xmlimp.cxx.

References isFastContext, maContexts, and maFastContexts.

void SAL_CALL SvXMLImport::endUnknownElement ( const OUString &  Namespace,
const OUString &  Name 
)
overridevirtual

Definition at line 941 of file xmlimp.cxx.

References maFastContexts.

sal_Bool SAL_CALL SvXMLImport::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  aDescriptor)
overridevirtual

Definition at line 1023 of file xmlimp.cxx.

OUString SvXMLImport::GetAbsoluteReference ( const OUString &  rValue) const
SvXMLStylesContext * SvXMLImport::GetAutoStyles ( )

Definition at line 1670 of file xmlimp.cxx.

References mxAutoStyles.

const SvXMLStylesContext * SvXMLImport::GetAutoStyles ( ) const

Definition at line 1685 of file xmlimp.cxx.

References mxAutoStyles.

OUString SvXMLImport::GetBaseURL ( ) const

Definition at line 1888 of file xmlimp.cxx.

References mpImpl, and INetURLObject::NONE.

const Reference< container::XNameContainer > & SvXMLImport::GetBitmapHelper ( )

Definition at line 1224 of file xmlimp.cxx.

References mxBitmapHelper, and mxModel.

bool SvXMLImport::getBuildIds ( sal_Int32 &  rUPD,
sal_Int32 &  rBuild 
) const

returns the upd and build id (f.e.

"680m124$Build-8964" gives rMaster = 680 and rBuild = 8964) from the metafile. this only works if the meta.xml was already imported and the import propertyset contains the string property "BuildId". If false is returned the build ids are not available (yet).

Definition at line 1914 of file xmlimp.cxx.

References mxImportInfo, and nIndex.

Referenced by XMLWordWrapPropertyHdl::importXML(), XMLOpacityPropertyHdl::importXML(), lcl_HasListStyle(), needFixPositionAfterZ(), XMLGraphicsDefaultStyle::SetDefaults(), XMLTextImportHelper::SetStyleAndAttrs(), XMLIndexChapterInfoEntryContext::StartElement(), SdXMLConnectorShapeContext::StartElement(), SdXMLGraphicObjectShapeContext::StartElement(), and XMLTextListBlockContext::XMLTextListBlockContext().

rtl::Reference< SchXMLImportHelper > const & SvXMLImport::GetChartImport ( )
inline

Definition at line 616 of file xmlimp.hxx.

References CreateChartImport(), and mxChartImport.

Referenced by SdXMLStylesContext::endFastElement(), and SetAutoStyles().

uno::Reference< uno::XComponentContext > const & SvXMLImport::GetComponentContext ( ) const
const Reference< container::XNameContainer > & SvXMLImport::GetDashHelper ( )

Definition at line 1292 of file xmlimp.cxx.

References mxDashHelper, and mxModel.

SvXMLNumFmtHelper * SvXMLImport::GetDataStylesImport ( )
inline

Definition at line 652 of file xmlimp.hxx.

References CreateDataStylesImport_().

Referenced by SvXMLStylesContext::CreateStyleChildContext(), and SetAutoStyles().

OUString SvXMLImport::GetDocumentBase ( ) const

Definition at line 1893 of file xmlimp.cxx.

References mpImpl, and INetURLObject::NONE.

Referenced by SdXMLShapeContext::AddShape(), and SdXMLImport::SetConfigurationSettings().

const css::uno::Reference< css::document::XEmbeddedObjectResolver >& SvXMLImport::GetEmbeddedResolver ( ) const
inlineprotected

Definition at line 277 of file xmlimp.hxx.

XMLEventImportHelper & SvXMLImport::GetEventImport ( )
XMLFontStylesContext * SvXMLImport::GetFontDecls ( )

Definition at line 1660 of file xmlimp.cxx.

References mxFontDecls.

Referenced by XMLTextImportPropertyMapper::handleSpecialItem().

const XMLFontStylesContext * SvXMLImport::GetFontDecls ( ) const

Definition at line 1675 of file xmlimp.cxx.

References mxFontDecls.

rtl::Reference<::xmloff::OFormLayerXMLImport > const & SvXMLImport::GetFormImport ( )
inline
sal_uInt16 SvXMLImport::getGeneratorVersion ( ) const

this checks the build ID and returns

OOo_1x for files created with OpenOffice.org 1.x or StarOffice 7 (this also includes binary import over binfilter) OOo_2x for files created with OpenOffice.org 2.x or StarOffice 8 OOo_30x for files created with OpenOffice.org 3.0/3.0.1 or StarOffice 9/9 PU01 OOo_31x for files created with OpenOffice.org 3.1/3.1.1 or StarOffice 9 PU02/9 PU03 OOo_32x for files created with OpenOffice.org 3.2/3.2.1 or StarOffice 9 PU04 or Oracle Open Office 3.2.1 OOo_33x for files created with OpenOffice.org 3.3 (and minors) or Oracle Open Office 3.3 (and minors) OOo_34x for files created with OpenOffice.org 3.4 Beta or Oracle Open Office 3.4 Beta ProductVersionUnknown for files not created with OpenOffice.org, StarOffice or Oracle Open Office

Definition at line 1934 of file xmlimp.cxx.

References mpImpl.

Referenced by XMLTransGradientStyleImport::importXML(), isGeneratorVersionOlderThan(), needFixPositionAfterZ(), and SdXMLShowsContext::SdXMLShowsContext().

const Reference< container::XNameContainer > & SvXMLImport::GetGradientHelper ( )

Definition at line 1178 of file xmlimp.cxx.

References mxGradientHelper, and mxModel.

const css::uno::Reference<css::document::XGraphicStorageHandler>& SvXMLImport::GetGraphicStorageHandler ( ) const
inlineprotected

Definition at line 280 of file xmlimp.hxx.

const Reference< container::XNameContainer > & SvXMLImport::GetHatchHelper ( )

Definition at line 1201 of file xmlimp.cxx.

References mxHatchHelper, and mxModel.

OUString SAL_CALL SvXMLImport::getImplementationName ( )
finaloverridevirtual

Definition at line 1139 of file xmlimp.cxx.

References mpImpl.

Referenced by endElement().

SvXMLImportFlags SvXMLImport::getImportFlags ( ) const
inline
const css::uno::Reference< css::beans::XPropertySet >& SvXMLImport::getImportInfo ( ) const
inline
comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLImport::getInterfaceToIdentifierMapper ( )
const css::uno::Reference< css::xml::sax::XLocator >& SvXMLImport::GetLocator ( ) const
inline

Definition at line 406 of file xmlimp.hxx.

const Reference< container::XNameContainer > & SvXMLImport::GetMarkerHelper ( )

Definition at line 1270 of file xmlimp.cxx.

References mxMarkerHelper, and mxModel.

const SvXMLUnitConverter& SvXMLImport::GetMM100UnitConverter ( ) const
inline

Definition at line 404 of file xmlimp.hxx.

Referenced by SdXMLShapeContext::addGluePoint(), XMLTextShapeImportHelper::addShape(), xmloff::AnimationsImportHelperImpl::convertValue(), XMLLineNumberingImportContext::CreateAndInsert(), SvxXMLListLevelStyleContext_Impl::GetProperties(), XMLTableImport::insertTabletemplate(), XMLSequenceFieldImportContext::PrepareField(), XMLPageNumberImportContext::PrepareField(), XMLDatabaseNumberImportContext::PrepareField(), XMLCountFieldImportContext::PrepareField(), XMLPageVarGetFieldImportContext::PrepareField(), XMLValueImportHelper::ProcessAttribute(), SdXMLShapeContext::processAttribute(), SdXMLRectShapeContext::processAttribute(), SdXMLLineShapeContext::processAttribute(), SdXMLEllipseShapeContext::processAttribute(), SdXMLTextBoxShapeContext::processAttribute(), SdXMLConnectorShapeContext::processAttribute(), SdXMLMeasureShapeContext::processAttribute(), SdXMLCaptionShapeContext::processAttribute(), SdXML3DSceneAttributesHelper::processSceneAttribute(), XMLFootnoteConfigurationImportContext::ProcessSettings(), SchXMLPositionAttributesHelper::readPositioningAttribute(), SdXMLPageMasterStyleContext::SdXMLPageMasterStyleContext(), SdXMLPresentationPlaceholderContext::SdXMLPresentationPlaceholderContext(), XMLFontStyleContextFontFace::SetAttribute(), SchXMLLegendContext::StartElement(), SchXMLEquationContext::StartElement(), SchXMLChartContext::StartElement(), SchXMLTitleContext::StartElement(), SchXMLDataLabelContext::StartElement(), XMLSectionFootnoteConfigImport::startFastElement(), and XMLTextColumnsContext::XMLTextColumnsContext().

SvXMLUnitConverter& SvXMLImport::GetMM100UnitConverter ( )
inline

Definition at line 405 of file xmlimp.hxx.

const css::uno::Reference< css::frame::XModel >& SvXMLImport::GetModel ( ) const
inline
const OUString & SvXMLImport::getNameFromToken ( sal_Int32  nToken)
static
SvXMLNamespaceMap& SvXMLImport::GetNamespaceMap ( )
inline

Definition at line 402 of file xmlimp.hxx.

Referenced by SdXMLShapeContext::addGluePoint(), XMLTextShapeImportHelper::addShape(), XMLShapeImportHelper::Create3DSceneChildContext(), SchXMLAxisContext::CreateChildContext(), XMLEnhancedCustomShapeContext::CreateChildContext(), XMLIndexTOCStylesContext::CreateChildContext(), SdXMLShapeContext::CreateChildContext(), XMLEventsImportContext::CreateChildContext(), XMLDatabaseFieldImportContext::CreateChildContext(), SdXMLAppletShapeContext::CreateChildContext(), SdXMLPluginShapeContext::CreateChildContext(), XMLScriptContextFactory::CreateContext(), XMLStarBasicContextFactory::CreateContext(), XMLEventImportHelper::CreateContext(), XMLDocumentSettingsContext::createFastChildContext(), XMLShapeImportHelper::CreateGroupChildContext(), SdXMLFrameShapeContext::EndElement(), XMLTextMarkImportContext::FindName(), XFormsBindContext::HandleAttribute(), xmloff::OFormsRootImport::implImportBool(), XMLTableImportContext::ImportColumn(), XMLTableImportContext::ImportRow(), lcl_createElement(), lcl_ProcessLabel(), xmloff::OXMLDataSourceImport::OXMLDataSourceImport(), XMLValueImportHelper::ProcessAttribute(), XMLVarFieldImportContext::ProcessAttribute(), XMLDatabaseNextImportContext::ProcessAttribute(), XMLHiddenParagraphImportContext::ProcessAttribute(), XMLConditionalTextImportContext::ProcessAttribute(), XMLHiddenTextImportContext::ProcessAttribute(), XMLSectionImportContext::ProcessAttributes(), QRCodeContext::QRCodeContext(), SchXMLCalculationSettingsContext::SchXMLCalculationSettingsContext(), SchXMLImport::SchXMLImport(), SdXML3DCubeObjectShapeContext::SdXML3DCubeObjectShapeContext(), SdXML3DLightContext::SdXML3DLightContext(), SdXML3DObjectContext::SdXML3DObjectContext(), SdXML3DPolygonBasedShapeContext::SdXML3DPolygonBasedShapeContext(), SdXML3DSphereObjectShapeContext::SdXML3DSphereObjectShapeContext(), SdXMLCustomShapeContext::SdXMLCustomShapeContext(), SdXMLImport::SdXMLImport(), SdXMLShapeLinkContext::SdXMLShapeLinkContext(), SchXMLLegendContext::StartElement(), SchXMLPropertyMappingContext::StartElement(), SchXMLRegressionCurveObjectContext::StartElement(), SchXMLAxisContext::StartElement(), XMLAutoMarkFileContext::StartElement(), SchXMLParagraphContext::StartElement(), XMLTrackedChangesImportContext::StartElement(), SdXML3DSceneShapeContext::StartElement(), XMLSectionSourceImportContext::StartElement(), XMLFieldParamImportContext::StartElement(), XFormsBindContext::StartElement(), XMLEmbeddedObjectImportContext::StartElement(), TokenContext::StartElement(), XMLEnhancedCustomShapeContext::StartElement(), XMLIndexBibliographyEntryContext::StartElement(), XMLIndexTabStopEntryContext::StartElement(), SchXMLTableContext::StartElement(), XMLChangeImportContext::StartElement(), XMLIndexChapterInfoEntryContext::StartElement(), XMLChangedRegionImportContext::StartElement(), XMLIndexTitleTemplateContext::StartElement(), XMLFootnoteImportContext::StartElement(), XMLIndexTOCStylesContext::StartElement(), XMLIndexSimpleEntryContext::StartElement(), SchXMLEquationContext::StartElement(), XMLIndexTOCContext::StartElement(), DomBuilderContext::StartElement(), SchXMLChartContext::StartElement(), SchXMLSeries2Context::StartElement(), xmloff::OPropertyImport::StartElement(), XMLIndexSourceBaseContext::StartElement(), SchXMLPlotAreaContext::StartElement(), xmloff::OElementImport::StartElement(), SchXMLTableColumnContext::StartElement(), XMLIndexTemplateContext::StartElement(), XMLTextFieldImportContext::StartElement(), SchXMLTitleContext::StartElement(), SchXMLDataLabelContext::StartElement(), SchXMLTableCellContext::StartElement(), xmloff::OSinglePropertyContext::StartElement(), SchXMLDataPointContext::StartElement(), xmloff::OListPropertyContext::StartElement(), SchXMLCoordinateRegionContext::StartElement(), xmloff::OListValueContext::StartElement(), SchXMLWallFloorContext::StartElement(), SchXMLStockContext::StartElement(), SchXMLStatisticsObjectContext::StartElement(), SdXMLPluginShapeContext::StartElement(), xmloff::OListOptionImport::StartElement(), xmloff::OComboItemImport::StartElement(), XMLDdeFieldDeclImportContext::StartElement(), XMLBibliographyFieldImportContext::StartElement(), SvXMLStyleContext::startFastElement(), XMLCalculationSettingsContext::XMLCalculationSettingsContext(), XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(), XMLReplacementImageContext::XMLReplacementImageContext(), XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext(), XMLTextListBlockContext::XMLTextListBlockContext(), and XMLVariableDeclImportContext::XMLVariableDeclImportContext().

const SvXMLNamespaceMap& SvXMLImport::GetNamespaceMap ( ) const
inline

Definition at line 403 of file xmlimp.hxx.

OUString SvXMLImport::getNamespacePrefixFromToken ( sal_Int32  nToken,
const SvXMLNamespaceMap pMap 
)
static
OUString SvXMLImport::getNamespacePrefixFromURI ( const OUString &  rURI)
static

Definition at line 2063 of file xmlimp.cxx.

References aNamespaceURIPrefixMap.

Referenced by SvXMLImportFastNamespaceHandler::registerNamespace().

OUString SvXMLImport::getNamespaceURIFromToken ( sal_Int32  nToken)
static

Definition at line 2053 of file xmlimp.cxx.

References aNamespaceMap, NMSP_MASK, and NMSP_SHIFT.

Referenced by SvXMLImportPropertyMapper::importXML().

OUString SAL_CALL SvXMLImport::getNamespaceURL ( const OUString &  rPrefix)
overridevirtual

Definition at line 517 of file xmlimp.cxx.

css::uno::Reference< css::util::XNumberFormatsSupplier > & SvXMLImport::GetNumberFormatsSupplier ( )
inline

Definition at line 644 of file xmlimp.hxx.

References CreateNumberFormatsSupplier_(), and mxNumberFormatsSupplier.

Referenced by CreateDataStylesImport_().

OUString const & SvXMLImport::GetODFVersion ( ) const
OUString SvXMLImport::getPrefixAndNameFromToken ( sal_Int32  nToken)
static

Definition at line 2025 of file xmlimp.cxx.

References aNamespaceMap, NMSP_MASK, NMSP_SHIFT, TOKEN_MASK, and xTokenHandler.

Referenced by XMLLabelSeparatorContext::createFastChildContext(), XMLSymbolImageContext::createFastChildContext(), SvxXMLTabStopImportContext::createFastChildContext(), PageHeaderFooterContext::createFastChildContext(), XMLTextColumnsContext::createFastChildContext(), SvXMLPropertySetContext::createFastChildContext(), SvxXMLListStyleContext::createFastChildContext(), SdXMLBodyContext::createFastChildContext(), XMLBackgroundImageContext::createFastChildContext(), XMLFontStyleContextFontFace::createFastChildContext(), XMLIndexBibliographyConfigurationContext::createFastChildContext(), XMLFontStyleContextFontFaceSrc::createFastChildContext(), SdXMLPageMasterContext::createFastChildContext(), XMLPropStyleContext::createFastChildContext(), XMLFontStyleContextFontFaceUri::createFastChildContext(), SdXMLPresentationPageLayoutContext::createFastChildContext(), SvXMLNumFormatContext::createFastChildContext(), SvxXMLListLevelStyleContext_Impl::createFastChildContext(), SvXMLStylesContext::CreateStyleChildContext(), SdXMLStylesContext::CreateStyleChildContext(), SdXMLHeaderFooterDeclContext::endFastElement(), XMLTransGradientStyleImport::importXML(), XMLTextDropCapImportContext::ProcessAttrs(), XMLBackgroundImageContext::ProcessAttrs(), SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SdXMLNumberFormatMemberImportContext::SdXMLNumberFormatMemberImportContext(), SdXMLPageMasterStyleContext::SdXMLPageMasterStyleContext(), SdXMLPresentationPlaceholderContext::SdXMLPresentationPlaceholderContext(), XMLSymbolImageContext::startFastElement(), SchXMLParagraphContext::startFastElement(), XMLSectionFootnoteConfigImport::startFastElement(), XMLFootnoteSeparatorImport::startFastElement(), SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl(), SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl(), XMLTextColumnContext_Impl::XMLTextColumnContext_Impl(), XMLTextColumnsContext::XMLTextColumnsContext(), XMLTextColumnSepContext_Impl::XMLTextColumnSepContext_Impl(), XMLTextMasterPageContext::XMLTextMasterPageContext(), and XMLVersionContext::XMLVersionContext().

ProgressBarHelper * SvXMLImport::GetProgressBarHelper ( )
xmloff::RDFaImportHelper & SvXMLImport::GetRDFaImportHelper ( )

do not dllexport this; only for advanced cases (bookmark-start)

Definition at line 1989 of file xmlimp.cxx.

References mpImpl.

Referenced by AddRDFa(), and XMLTextMarkImportContext::EndElement().

rtl::Reference< XMLShapeImportHelper > const & SvXMLImport::GetShapeImport ( )
inline

Definition at line 608 of file xmlimp.hxx.

References CreateShapeImport(), and mxShapeImport.

Referenced by SdXMLShapeContext::addGluePoint(), xmloff::OFormLayerXMLImport_Impl::applyControlNumberStyle(), xmloff::AnimationsImportHelperImpl::convertValue(), SdXMLImport::CreateAutoStylesContext(), SdXMLGroupShapeContext::CreateChildContext(), SdXMLShapeLinkContext::CreateChildContext(), SdXML3DSceneShapeContext::CreateChildContext(), SdXMLGenericPageContext::CreateChildContext(), SchXMLChartContext::CreateChildContext(), SdXMLFrameShapeContext::CreateChildContext(), SdXMLMasterPageContext::createFastChildContext(), SdXMLMasterStylesContext::createFastChildContext(), SdXMLStylesContext::CreateStyleChildContext(), SdXMLImport::CreateStylesContext(), XMLTextImportHelper::CreateTextChildContext(), SdXMLGroupShapeContext::EndElement(), SdXML3DSceneShapeContext::EndElement(), SdXMLFrameShapeContext::EndElement(), SdXMLDrawPageContext::endFastElement(), SdXMLGenericPageContext::endFastElement(), SdXMLMasterPageContext::endFastElement(), SdXMLStylesContext::endFastElement(), XMLTableImportContext::ImportRow(), XMLTableImportContext::InitColumns(), SdXMLShapeContext::isPresentationShape(), XMLTextFrameContext::removeGraphicFromImportContext(), SdXML3DCubeObjectShapeContext::SdXML3DCubeObjectShapeContext(), SdXML3DLightContext::SdXML3DLightContext(), SdXML3DObjectContext::SdXML3DObjectContext(), SdXML3DPolygonBasedShapeContext::SdXML3DPolygonBasedShapeContext(), SdXML3DSphereObjectShapeContext::SdXML3DSphereObjectShapeContext(), SdXMLDrawPageContext::SdXMLDrawPageContext(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SetAutoStyles(), SdXMLGenericPageContext::SetLayout(), SdXMLGenericPageContext::SetPageMaster(), SdXMLGenericPageContext::SetStyle(), SdXMLShapeContext::SetStyle(), SdXMLImport::setTargetDocument(), SdXMLGroupShapeContext::StartElement(), SdXML3DSceneShapeContext::StartElement(), XMLEnhancedCustomShapeContext::StartElement(), SdXMLShapeContext::StartElement(), SdXMLConnectorShapeContext::StartElement(), SdXMLPageShapeContext::StartElement(), SdXMLObjectShapeContext::StartElement(), SdXMLAppletShapeContext::StartElement(), SdXMLPluginShapeContext::StartElement(), SdXMLFloatingFrameShapeContext::StartElement(), SdXMLTableShapeContext::StartElement(), and SdXMLGenericPageContext::startFastElement().

sal_Int64 SAL_CALL SvXMLImport::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 465 of file xmlimp.cxx.

Reference< embed::XStorage > const & SvXMLImport::GetSourceStorage ( ) const

Definition at line 1428 of file xmlimp.cxx.

References mpImpl.

Referenced by IsODFVersionConsistent(), and SdXMLImport::SetConfigurationSettings().

Reference< XOutputStream > SvXMLImport::GetStreamForEmbeddedObjectURLFromBase64 ( ) const

Definition at line 1434 of file xmlimp.cxx.

References Any, and mxEmbeddedResolver.

Referenced by SdXMLObjectShapeContext::CreateChildContext().

Reference< XOutputStream > SvXMLImport::GetStreamForGraphicObjectURLFromBase64 ( ) const
OUString SvXMLImport::GetStyleDisplayName ( XmlStyleFamily  nFamily,
const OUString &  rName 
) const
SvXMLStylesContext * SvXMLImport::GetStyles ( )

Definition at line 1665 of file xmlimp.cxx.

References mxStyles.

Referenced by XMLLineNumberingImportContext::CreateAndInsert().

const SvXMLStylesContext * SvXMLImport::GetStyles ( ) const

Definition at line 1680 of file xmlimp.cxx.

References mxStyles.

uno::Sequence< OUString > SAL_CALL SvXMLImport::getSupportedServiceNames ( )
finaloverridevirtual

Definition at line 1149 of file xmlimp.cxx.

References mpImpl.

rtl::Reference< XMLTextImportHelper > const & SvXMLImport::GetTextImport ( )
inline

Definition at line 600 of file xmlimp.hxx.

References CreateTextImport(), and mxTextImport.

Referenced by XMLTextShapeImportHelper::addShape(), XMLParaContext::Characters(), XMLTextStyleContext::CreateAndInsert(), SvxXMLListStyleContext::CreateAndInsertLate(), XMLTextMarkImportContext::CreateAndInsertMark(), XMLFootnoteBodyImportContext::CreateChildContext(), XMLTextHeaderFooterContext::CreateChildContext(), XMLIndexBodyContext::CreateChildContext(), XMLChangeElementImportContext::CreateChildContext(), XMLSectionImportContext::CreateChildContext(), SdXMLShapeContext::CreateChildContext(), xmloff::OTextLikeImport::CreateChildContext(), XMLAnnotationImportContext::CreateChildContext(), endDocument(), XMLChangedRegionImportContext::EndElement(), XMLSectionImportContext::EndElement(), XMLTextFrameContext::EndElement(), XMLChangeElementImportContext::EndElement(), XMLIndexTOCContext::EndElement(), XMLNumberedParaContext::EndElement(), SdXMLShapeContext::EndElement(), XMLIndexTemplateContext::EndElement(), xmloff::OTextLikeImport::EndElement(), XMLAnnotationImportContext::EndElement(), XMLTextHeaderFooterContext::endFastElement(), SdXMLStylesContext::endFastElement(), XMLShapeStyleContext::FillPropertySet(), XMLTextMasterPageContext::Finish(), XMLTextStyleContext::Finish(), SvXMLStylesContext::GetImportPropertyMapper(), PageMasterImportPropertyMapper::handleSpecialItem(), XMLCharContext::InsertControlCharacter(), XMLCharContext::InsertString(), XMLTextListsHelper::MakeNumRule(), XMLIndexAlphabeticalSourceContext::ProcessAttribute(), SdXMLCustomShapeContext::SdXMLCustomShapeContext(), SetAutoStyles(), XMLChangedRegionImportContext::SetChangeInfo(), XMLTrackedChangesImportContext::StartElement(), XMLChangeImportContext::StartElement(), XMLIndexTitleTemplateContext::StartElement(), XMLIndexTOCStylesContext::StartElement(), XMLIndexSimpleEntryContext::StartElement(), XMLSectionImportContext::StartElement(), XMLChangeElementImportContext::StartElement(), XMLIndexTOCContext::StartElement(), XMLAnnotationImportContext::XMLAnnotationImportContext(), XMLNumberedParaContext::XMLNumberedParaContext(), XMLReplacementImageContext::XMLReplacementImageContext(), XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext(), XMLTextMasterPageContext::XMLTextMasterPageContext(), and XMLVariableDeclImportContext::XMLVariableDeclImportContext().

sal_Int32 SvXMLImport::getTokenFromName ( const OUString &  sName)
static
const Reference< container::XNameContainer > & SvXMLImport::GetTransGradientHelper ( )

Definition at line 1247 of file xmlimp.cxx.

References mxModel, and mxTransGradientHelper.

const css::uno::Sequence< sal_Int8 > & SvXMLImport::getUnoTunnelId ( )
throw (
)
static

Definition at line 459 of file xmlimp.cxx.

bool SvXMLImport::HasShapeImport ( ) const
inlineprotected

Definition at line 264 of file xmlimp.hxx.

bool SvXMLImport::HasTextImport ( ) const
inline

Definition at line 377 of file xmlimp.hxx.

void SAL_CALL SvXMLImport::ignorableWhitespace ( const OUString &  aWhitespaces)
overridevirtual

Definition at line 833 of file xmlimp.cxx.

void SvXMLImport::InitCtor_ ( )
private

Definition at line 340 of file xmlimp.cxx.

References GetComponentContext(), xmloff::token::GetXMLToken(), mnImportFlags, mpNamespaceMap, mpNumImport, mxEventListener, mxModel, mxNumberFormatsSupplier, NONE, xmloff::token::XML_N_CALC_EXT, xmloff::token::XML_N_CHART, xmloff::token::XML_N_CONFIG, xmloff::token::XML_N_CSS3TEXT, xmloff::token::XML_N_DC, xmloff::token::XML_N_DOM, xmloff::token::XML_N_DR3D, xmloff::token::XML_N_DRAW, xmloff::token::XML_N_DRAW_EXT, xmloff::token::XML_N_FIELD, xmloff::token::XML_N_FO_COMPAT, xmloff::token::XML_N_FORM, xmloff::token::XML_N_FORMX, xmloff::token::XML_N_LO_EXT, xmloff::token::XML_N_MATH, xmloff::token::XML_N_META, xmloff::token::XML_N_NUMBER, xmloff::token::XML_N_OF, xmloff::token::XML_N_OFFICE, xmloff::token::XML_N_OFFICE_EXT, xmloff::token::XML_N_OOO, xmloff::token::XML_N_OOOC, xmloff::token::XML_N_OOOW, xmloff::token::XML_N_SCRIPT, xmloff::token::XML_N_STYLE, xmloff::token::XML_N_SVG_COMPAT, xmloff::token::XML_N_TABLE, xmloff::token::XML_N_TABLE_EXT, xmloff::token::XML_N_TEXT, xmloff::token::XML_N_XFORMS_1_0, xmloff::token::XML_N_XHTML, xmloff::token::XML_N_XLINK, xmloff::token::XML_N_XML, xmloff::token::XML_N_XSD, xmloff::token::XML_N_XSI, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_CHART, XML_NAMESPACE_CONFIG, XML_NAMESPACE_CSS3TEXT, XML_NAMESPACE_DC, XML_NAMESPACE_DOM, XML_NAMESPACE_DR3D, XML_NAMESPACE_DRAW, XML_NAMESPACE_DRAW_EXT, XML_NAMESPACE_FIELD, XML_NAMESPACE_FO, XML_NAMESPACE_FORM, XML_NAMESPACE_FORMX, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_MATH, XML_NAMESPACE_META, XML_NAMESPACE_NUMBER, XML_NAMESPACE_OF, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OFFICE_EXT, XML_NAMESPACE_OOO, XML_NAMESPACE_OOOC, XML_NAMESPACE_OOOW, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_NAMESPACE_TEXT, XML_NAMESPACE_XFORMS, XML_NAMESPACE_XHTML, XML_NAMESPACE_XLINK, XML_NAMESPACE_XML, XML_NAMESPACE_XSD, and xmloff::token::XML_XML.

Referenced by SvXMLImport().

void SAL_CALL SvXMLImport::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual
void SvXMLImport::initializeNamespaceMaps ( )
staticprivate

Definition at line 2079 of file xmlimp.cxx.

References aNamespaceMap, aNamespaceURIPrefixMap, assert(), xmloff::token::GetXMLToken(), nNamespace, nToken, sPrefix, xmloff::token::XML_N_ANIMATION, xmloff::token::XML_N_ANIMATION_OOO, xmloff::token::XML_N_BLOCK_LIST, xmloff::token::XML_N_CALC_EXT, xmloff::token::XML_N_CHART, xmloff::token::XML_N_CHART_EXT, xmloff::token::XML_N_CHART_OLD, xmloff::token::XML_N_CHART_OOO, xmloff::token::XML_N_CONFIG, xmloff::token::XML_N_CONFIG_OOO, xmloff::token::XML_N_CSS3TEXT, xmloff::token::XML_N_DB, xmloff::token::XML_N_DB_OASIS, xmloff::token::XML_N_DC, xmloff::token::XML_N_DLG, xmloff::token::XML_N_DOM, xmloff::token::XML_N_DR3D, xmloff::token::XML_N_DR3D_OOO, xmloff::token::XML_N_DRAW, xmloff::token::XML_N_DRAW_EXT, xmloff::token::XML_N_DRAW_OLD, xmloff::token::XML_N_DRAW_OOO, xmloff::token::XML_N_FIELD, xmloff::token::XML_N_FO, xmloff::token::XML_N_FO_COMPAT, xmloff::token::XML_N_FO_OLD, xmloff::token::XML_N_FORM, xmloff::token::XML_N_FORM_OOO, xmloff::token::XML_N_FORMX, xmloff::token::XML_N_GRDDL, xmloff::token::XML_N_LO_EXT, xmloff::token::XML_N_MATH, xmloff::token::XML_N_META, xmloff::token::XML_N_META_OLD, xmloff::token::XML_N_META_OOO, xmloff::token::XML_N_NUMBER, xmloff::token::XML_N_NUMBER_OLD, xmloff::token::XML_N_NUMBER_OOO, xmloff::token::XML_N_OF, xmloff::token::XML_N_OFFICE, xmloff::token::XML_N_OFFICE_EXT, xmloff::token::XML_N_OFFICE_OLD, xmloff::token::XML_N_OFFICE_OOO, xmloff::token::XML_N_OOO, xmloff::token::XML_N_OOOC, xmloff::token::XML_N_OOOW, xmloff::token::XML_N_PRESENTATION, xmloff::token::XML_N_PRESENTATION_OASIS, xmloff::token::XML_N_PRESENTATION_OLD, xmloff::token::XML_N_PRESENTATION_OOO, xmloff::token::XML_N_RPT, xmloff::token::XML_N_RPT_OASIS, xmloff::token::XML_N_SCRIPT, xmloff::token::XML_N_SCRIPT_OOO, xmloff::token::XML_N_SMIL, xmloff::token::XML_N_SMIL_COMPAT, xmloff::token::XML_N_SMIL_OLD, xmloff::token::XML_N_STYLE, xmloff::token::XML_N_STYLE_OLD, xmloff::token::XML_N_STYLE_OOO, xmloff::token::XML_N_SVG, xmloff::token::XML_N_SVG_COMPAT, xmloff::token::XML_N_TABLE, xmloff::token::XML_N_TABLE_EXT, xmloff::token::XML_N_TABLE_OLD, xmloff::token::XML_N_TABLE_OOO, xmloff::token::XML_N_TEXT, xmloff::token::XML_N_TEXT_OLD, xmloff::token::XML_N_TEXT_OOO, xmloff::token::XML_N_VERSIONS_LIST, xmloff::token::XML_N_XFORMS_1_0, xmloff::token::XML_N_XHTML, xmloff::token::XML_N_XLINK, xmloff::token::XML_N_XLINK_OLD, xmloff::token::XML_N_XSD, xmloff::token::XML_N_XSI, XML_NAMESPACE_ANIMATION, XML_NAMESPACE_ANIMATION_OOO, XML_NAMESPACE_BLOCKLIST, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_CHART, XML_NAMESPACE_CHART_EXT, XML_NAMESPACE_CHART_OOO, XML_NAMESPACE_CHART_SO52, XML_NAMESPACE_CONFIG, XML_NAMESPACE_CONFIG_OOO, XML_NAMESPACE_CSS3TEXT, XML_NAMESPACE_DB, XML_NAMESPACE_DB_OASIS, XML_NAMESPACE_DC, XML_NAMESPACE_DLG, XML_NAMESPACE_DOM, XML_NAMESPACE_DR3D, XML_NAMESPACE_DR3D_OOO, XML_NAMESPACE_DRAW, XML_NAMESPACE_DRAW_EXT, XML_NAMESPACE_DRAW_OOO, XML_NAMESPACE_DRAW_SO52, XML_NAMESPACE_FIELD, XML_NAMESPACE_FO, XML_NAMESPACE_FO_COMPAT, XML_NAMESPACE_FO_SO52, XML_NAMESPACE_FORM, XML_NAMESPACE_FORM_OOO, XML_NAMESPACE_FORMX, XML_NAMESPACE_GRDDL, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_MATH, XML_NAMESPACE_META, XML_NAMESPACE_META_OOO, XML_NAMESPACE_META_SO52, XML_NAMESPACE_NUMBER, XML_NAMESPACE_NUMBER_OOO, XML_NAMESPACE_NUMBER_SO52, XML_NAMESPACE_OF, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OFFICE_EXT, XML_NAMESPACE_OFFICE_OOO, XML_NAMESPACE_OFFICE_SO52, XML_NAMESPACE_OOO, XML_NAMESPACE_OOOC, XML_NAMESPACE_OOOW, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_PRESENTATION_OASIS, XML_NAMESPACE_PRESENTATION_OOO, XML_NAMESPACE_PRESENTATION_SO52, XML_NAMESPACE_REPORT, XML_NAMESPACE_REPORT_OASIS, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_SCRIPT_OOO, XML_NAMESPACE_SMIL, XML_NAMESPACE_SMIL_COMPAT, XML_NAMESPACE_SMIL_SO52, XML_NAMESPACE_STYLE, XML_NAMESPACE_STYLE_OOO, XML_NAMESPACE_STYLE_SO52, XML_NAMESPACE_SVG, XML_NAMESPACE_SVG_COMPAT, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_NAMESPACE_TABLE_OOO, XML_NAMESPACE_TABLE_SO52, XML_NAMESPACE_TEXT, XML_NAMESPACE_TEXT_OOO, XML_NAMESPACE_TEXT_SO52, XML_NAMESPACE_VERSIONS_LIST, XML_NAMESPACE_XFORMS, XML_NAMESPACE_XHTML, XML_NAMESPACE_XLINK, XML_NAMESPACE_XLINK_SO52, XML_NAMESPACE_XSD, XML_NAMESPACE_XSI, xmloff::token::XML_NP_ANIMATION, xmloff::token::XML_NP_BLOCK_LIST, xmloff::token::XML_NP_CALC_EXT, xmloff::token::XML_NP_CHART, xmloff::token::XML_NP_CHART_EXT, xmloff::token::XML_NP_CONFIG, xmloff::token::XML_NP_CSS3TEXT, xmloff::token::XML_NP_DB, xmloff::token::XML_NP_DC, xmloff::token::XML_NP_DLG, xmloff::token::XML_NP_DOM, xmloff::token::XML_NP_DR3D, xmloff::token::XML_NP_DRAW, xmloff::token::XML_NP_DRAW_EXT, xmloff::token::XML_NP_FIELD, xmloff::token::XML_NP_FO, xmloff::token::XML_NP_FORM, xmloff::token::XML_NP_FORMX, xmloff::token::XML_NP_GRDDL, xmloff::token::XML_NP_LO_EXT, xmloff::token::XML_NP_MATH, xmloff::token::XML_NP_META, xmloff::token::XML_NP_NUMBER, xmloff::token::XML_NP_OF, xmloff::token::XML_NP_OFFICE, xmloff::token::XML_NP_OFFICE_EXT, xmloff::token::XML_NP_OOO, xmloff::token::XML_NP_OOOC, xmloff::token::XML_NP_OOOW, xmloff::token::XML_NP_PRESENTATION, xmloff::token::XML_NP_RPT, xmloff::token::XML_NP_SCRIPT, xmloff::token::XML_NP_SMIL, xmloff::token::XML_NP_STYLE, xmloff::token::XML_NP_SVG, xmloff::token::XML_NP_TABLE, xmloff::token::XML_NP_TABLE_EXT, xmloff::token::XML_NP_TEXT, xmloff::token::XML_NP_VERSIONS_LIST, xmloff::token::XML_NP_XFORMS_1_0, xmloff::token::XML_NP_XHTML, xmloff::token::XML_NP_XLINK, xmloff::token::XML_NP_XSD, and xmloff::token::XML_NP_XSI.

Referenced by SvXMLImport().

void SvXMLImport::initXForms ( )
virtual

Definition at line 1909 of file xmlimp.cxx.

Referenced by XFormsModelContext::EndElement().

bool SvXMLImport::IsFormsSupported ( ) const
inline

Definition at line 461 of file xmlimp.hxx.

Referenced by SdXMLControlShapeContext::StartElement().

bool SvXMLImport::isGeneratorVersionOlderThan ( sal_uInt16 const  nOOoVersion,
sal_uInt16 const  nLOVersion 
)

depending on whether the generator version indicates LO, compare against either the given LO or given OOo version

Definition at line 1941 of file xmlimp.cxx.

References assert(), getGeneratorVersion(), and LO_flag.

Referenced by XMLTransGradientStyleImport::importXML().

bool SvXMLImport::IsODFVersionConsistent ( const OUString &  aODFVersion)
protected

Definition at line 1702 of file xmlimp.cxx.

References GetSourceStorage(), IsOOoXML(), and ODFVER_012_TEXT.

Referenced by processNSAttributes(), and startFastElement().

bool SvXMLImport::IsOOoXML ( ) const

Definition at line 1958 of file xmlimp.cxx.

References mpImpl.

Referenced by IsODFVersionConsistent().

bool SvXMLImport::IsPackageURL ( const OUString &  rURL) const

Definition at line 1311 of file xmlimp.cxx.

References CONTENT, META, mnImportFlags, nPos, SETTINGS, and STYLES.

Referenced by lcl_GetMediaReference(), loadGraphicByURL(), and ResolveEmbeddedObjectURL().

bool SvXMLImport::IsShapePositionInHoriL2R ( ) const

Definition at line 1899 of file xmlimp.cxx.

References mpImpl.

Referenced by XMLShapeImportHelper::finishShape().

bool SvXMLImport::IsTableShapeSupported ( ) const
inline

Definition at line 467 of file xmlimp.hxx.

bool SvXMLImport::IsTextDocInOOoFileFormat ( ) const
uno::Reference< graphic::XGraphic > SvXMLImport::loadGraphicByURL ( OUString const &  rURL)
uno::Reference< graphic::XGraphic > SvXMLImport::loadGraphicFromBase64 ( css::uno::Reference< css::io::XOutputStream > const &  rxOutputStream)
bool SvXMLImport::needFixPositionAfterZ ( ) const

Definition at line 1784 of file ximpshap.cxx.

References AOO_40x, getBuildIds(), and getGeneratorVersion().

virtual void SvXMLImport::NotifyEmbeddedFontRead ( )
inlinevirtual

Reimplemented in SdXMLImport.

Definition at line 593 of file xmlimp.hxx.

Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().

void SvXMLImport::NotifyMacroEventRead ( )
void SAL_CALL SvXMLImport::parseStream ( const css::xml::sax::InputSource &  aInputSource)
overridevirtual

Definition at line 496 of file xmlimp.cxx.

References mxFastDocumentHandler.

void SAL_CALL SvXMLImport::processingInstruction ( const OUString &  aTarget,
const OUString &  aData 
)
overridevirtual

Definition at line 837 of file xmlimp.cxx.

std::unique_ptr< SvXMLNamespaceMap > SvXMLImport::processNSAttributes ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)
private
void SAL_CALL SvXMLImport::registerNamespace ( const OUString &  NamespaceURL,
sal_Int32  NamespaceToken 
)
overridevirtual

Definition at line 512 of file xmlimp.cxx.

Referenced by registerNamespaces().

void SvXMLImport::registerNamespaces ( )
private

Definition at line 2171 of file xmlimp.cxx.

References aNamespaceMap, NMSP_SHIFT, and registerNamespace().

Referenced by SvXMLImport().

OUString SvXMLImport::ResolveEmbeddedObjectURL ( const OUString &  rURL,
const OUString &  rClassId 
)
OUString SvXMLImport::ResolveEmbeddedObjectURLFromBase64 ( )

Definition at line 1451 of file xmlimp.cxx.

References mxEmbeddedResolver.

void SvXMLImport::SetAutoStyles ( SvXMLStylesContext pAutoStyles)
protected
void SvXMLImport::SetConfigurationSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aConfigProps)
virtual

Reimplemented in SdXMLImport.

Definition at line 1512 of file xmlimp.cxx.

Referenced by XMLDocumentSettingsContext::endFastElement().

void SAL_CALL SvXMLImport::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  xLocator)
overridevirtual

Definition at line 842 of file xmlimp.cxx.

References mxLocator.

void SvXMLImport::SetDocumentSpecificSettings ( const OUString &  _rSettingsGroupName,
const css::uno::Sequence< css::beans::PropertyValue > &  _rSettings 
)
virtual

Definition at line 1516 of file xmlimp.cxx.

Referenced by XMLDocumentSettingsContext::endFastElement().

void SvXMLImport::SetEmbeddedResolver ( css::uno::Reference< css::document::XEmbeddedObjectResolver > const &  _xEmbeddedResolver)
inlineprotected

Definition at line 632 of file xmlimp.hxx.

void SAL_CALL SvXMLImport::setEntityResolver ( const css::uno::Reference< css::xml::sax::XEntityResolver > &  Resolver)
overridevirtual

Definition at line 527 of file xmlimp.cxx.

void SvXMLImport::SetError ( sal_Int32  nId,
const css::uno::Sequence< OUString > &  rMsgParams,
const OUString &  rExceptionMessage,
const css::uno::Reference< css::xml::sax::XLocator > &  rLocator 
)
void SvXMLImport::SetError ( sal_Int32  nId,
const css::uno::Sequence< OUString > &  rMsgParams 
)
void SvXMLImport::SetError ( sal_Int32  nId)

Definition at line 1835 of file xmlimp.cxx.

References aSeq, and SetError().

void SvXMLImport::SetError ( sal_Int32  nId,
const OUString &  rMsg1 
)

Definition at line 1842 of file xmlimp.cxx.

References aSeq, and SetError().

void SvXMLImport::SetError ( sal_Int32  nId,
const OUString &  rMsg1,
const OUString &  rMsg2 
)

Definition at line 1850 of file xmlimp.cxx.

References aSeq, and SetError().

void SAL_CALL SvXMLImport::setErrorHandler ( const css::uno::Reference< css::xml::sax::XErrorHandler > &  Handler)
overridevirtual

Definition at line 522 of file xmlimp.cxx.

void SAL_CALL SvXMLImport::setFastDocumentHandler ( const css::uno::Reference< css::xml::sax::XFastDocumentHandler > &  Handler)
overridevirtual

Definition at line 502 of file xmlimp.cxx.

References mxFastDocumentHandler.

void SvXMLImport::SetFontDecls ( XMLFontStylesContext pFontDecls)
protected

Definition at line 1611 of file xmlimp.cxx.

References mxFontDecls.

Referenced by SdXMLImport::CreateFontDeclsContext().

void SvXMLImport::SetGraphicStorageHandler ( css::uno::Reference< css::document::XGraphicStorageHandler > const &  rxGraphicStorageHandler)
inlineprotected

Definition at line 638 of file xmlimp.hxx.

void SAL_CALL SvXMLImport::setLocale ( const css::lang::Locale &  rLocale)
overridevirtual

Definition at line 532 of file xmlimp.cxx.

void SvXMLImport::SetMasterStyles ( SvXMLStylesContext pMasterStyles)
protected

Definition at line 1653 of file xmlimp.cxx.

References mxMasterStyles.

void SAL_CALL SvXMLImport::setNamespaceHandler ( const css::uno::Reference< css::xml::sax::XFastNamespaceHandler > &  Handler)
overridevirtual

Definition at line 537 of file xmlimp.cxx.

Referenced by SvXMLImport().

void SvXMLImport::SetNumberFormatsSupplier ( const css::uno::Reference< css::util::XNumberFormatsSupplier > &  _xNumberFormatSupplier)
inline

Definition at line 417 of file xmlimp.hxx.

void SvXMLImport::SetStatistics ( const css::uno::Sequence< css::beans::NamedValue > &  i_rStats)
virtual
void SvXMLImport::SetStyles ( SvXMLStylesContext pStyles)
protected

Definition at line 1618 of file xmlimp.cxx.

References mxStyles.

void SAL_CALL SvXMLImport::setTargetDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual
void SAL_CALL SvXMLImport::setTokenHandler ( const css::uno::Reference< css::xml::sax::XFastTokenHandler > &  Handler)
overridevirtual

Definition at line 507 of file xmlimp.cxx.

Referenced by SvXMLImport().

void SvXMLImport::SetViewSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aViewProps)
virtual

Reimplemented in SdXMLImport.

Definition at line 1508 of file xmlimp.cxx.

Referenced by XMLDocumentSettingsContext::endFastElement().

void SvXMLImport::SetXmlId ( css::uno::Reference< css::uno::XInterface > const &  i_xIfc,
OUString const &  i_rXmlId 
)

set the XmlId attribute of given UNO object (for RDF metadata)

Definition at line 1964 of file xmlimp.cxx.

References mpImpl, SAL_INFO, and TOOLS_WARN_EXCEPTION.

Referenced by XMLTextMarkImportContext::CreateAndInsertMark(), XMLParaContext::EndElement(), XMLSectionImportContext::StartElement(), and XMLIndexTOCContext::StartElement().

void SAL_CALL SvXMLImport::startCDATA ( )
overridevirtual

Definition at line 963 of file xmlimp.cxx.

void SAL_CALL SvXMLImport::startDocument ( )
overridevirtual

Definition at line 543 of file xmlimp.cxx.

References mpImpl, mxEmbeddedResolver, mxGraphicStorageHandler, mxModel, SAL_INFO, and xFactory.

void SAL_CALL SvXMLImport::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual
void SAL_CALL SvXMLImport::startFastElement ( sal_Int32  Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual
void SAL_CALL SvXMLImport::startUnknownElement ( const OUString &  Namespace,
const OUString &  Name,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  Attribs 
)
overridevirtual

Definition at line 911 of file xmlimp.cxx.

References CreateFastContext(), maFastContexts, and SAL_WARN_IF.

sal_Bool SAL_CALL SvXMLImport::supportsService ( const OUString &  ServiceName)
finaloverridevirtual

Definition at line 1144 of file xmlimp.cxx.

References cppu::supportsService().

void SAL_CALL SvXMLImport::unknown ( const OUString &  sString)
overridevirtual

Definition at line 979 of file xmlimp.cxx.

Friends And Related Function Documentation

friend class SvXMLImportContext
friend

Definition at line 184 of file xmlimp.hxx.

Referenced by CreateFastContext().

friend class SvXMLLegacyToFastDocHandler
friend

Definition at line 185 of file xmlimp.hxx.

Member Data Documentation

constexpr OUStringLiteral SvXMLImport::aDefaultNamespace = u""
static
std::unordered_map< sal_Int32, std::pair< OUString, OUString > > SvXMLImport::aNamespaceMap
staticprivate
constexpr OUStringLiteral SvXMLImport::aNamespaceSeparator = u":"
static
std::unordered_map< OUString, OUString > SvXMLImport::aNamespaceURIPrefixMap
staticprivate

Definition at line 238 of file xmlimp.hxx.

Referenced by getNamespacePrefixFromURI(), and initializeNamespaceMaps().

const sal_uInt16 SvXMLImport::AOO_40x = 40
static

Definition at line 549 of file xmlimp.hxx.

Referenced by needFixPositionAfterZ(), and XMLGraphicsDefaultStyle::SetDefaults().

const sal_uInt16 SvXMLImport::AOO_4x = 41
static
bool SvXMLImport::bIsNSMapsInitialized = false
staticprivate

Definition at line 239 of file xmlimp.hxx.

Referenced by SvXMLImport().

std::set< OUString > SvXMLImport::embeddedFontUrlsKnown
private

Definition at line 229 of file xmlimp.hxx.

Referenced by embeddedFontAlreadyProcessed().

bool SvXMLImport::isFastContext
private
const sal_uInt16 SvXMLImport::LO_3x = 30 | LO_flag
static

Definition at line 557 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_41x = 41 | LO_flag
static

Definition at line 558 of file xmlimp.hxx.

Referenced by SdXMLObjectShapeContext::EndElement().

const sal_uInt16 SvXMLImport::LO_42x = 42 | LO_flag
static

Definition at line 559 of file xmlimp.hxx.

Referenced by XMLGraphicsDefaultStyle::SetDefaults().

const sal_uInt16 SvXMLImport::LO_43x = 43 | LO_flag
static

Definition at line 560 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_44x = 44 | LO_flag
static

Definition at line 561 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_5x = 50 | LO_flag
static

Definition at line 562 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_6x = 60 | LO_flag
static

: when adding a new value more specific than "6x", grep for all current uses and adapt them!!!

Definition at line 565 of file xmlimp.hxx.

Referenced by SdXMLShowsContext::SdXMLShowsContext().

const sal_uInt16 SvXMLImport::LO_7x = 70 | LO_flag
static

Definition at line 566 of file xmlimp.hxx.

Referenced by XMLTransGradientStyleImport::importXML().

const sal_uInt16 SvXMLImport::LO_flag = 0x100
static

Definition at line 556 of file xmlimp.hxx.

Referenced by isGeneratorVersionOlderThan().

rtl::Reference< comphelper::AttributeList > SvXMLImport::maAttrList
private

Definition at line 233 of file xmlimp.hxx.

Referenced by SvXMLImportContext::startUnknownElement().

std::stack<SvXMLImportContextRef> SvXMLImport::maContexts
private
std::stack<css::uno::Reference<css::xml::sax::XFastContextHandler> > SvXMLImport::maFastContexts
private
rtl::Reference< comphelper::AttributeList > SvXMLImport::maNamespaceAttrList
private

Definition at line 234 of file xmlimp.hxx.

Referenced by startFastElement().

rtl::Reference< SvXMLImportFastNamespaceHandler > SvXMLImport::maNamespaceHandler
private
bool SvXMLImport::mbIsFormsSupported
protected

Definition at line 250 of file xmlimp.hxx.

Referenced by SdXMLImport::setTargetDocument().

bool SvXMLImport::mbIsTableShapeSupported
protected

Definition at line 251 of file xmlimp.hxx.

Referenced by SdXMLImport::setTargetDocument().

bool SvXMLImport::mbNotifyMacroEventRead
protected

Definition at line 252 of file xmlimp.hxx.

Referenced by NotifyMacroEventRead().

SvXMLImportFlags SvXMLImport::mnImportFlags
private

Definition at line 228 of file xmlimp.hxx.

Referenced by InitCtor_(), and IsPackageURL().

std::unique_ptr<XMLEventImportHelper> SvXMLImport::mpEventImportHelper
private

Definition at line 222 of file xmlimp.hxx.

Referenced by GetEventImport().

std::unique_ptr<SvXMLImport_Impl> SvXMLImport::mpImpl
private
std::unique_ptr<SvXMLNamespaceMap> SvXMLImport::mpNamespaceMap
private

Definition at line 215 of file xmlimp.hxx.

Referenced by endElement(), InitCtor_(), processNSAttributes(), and startElement().

std::unique_ptr<SvXMLNumFmtHelper> SvXMLImport::mpNumImport
private

Definition at line 220 of file xmlimp.hxx.

Referenced by CreateDataStylesImport_(), endDocument(), InitCtor_(), and setTargetDocument().

std::unique_ptr<ProgressBarHelper> SvXMLImport::mpProgressBarHelper
private

Definition at line 221 of file xmlimp.hxx.

Referenced by endDocument(), and GetProgressBarHelper().

rtl::Reference<StyleMap> SvXMLImport::mpStyleMap
private

Definition at line 224 of file xmlimp.hxx.

Referenced by AddStyleDisplayName(), endDocument(), GetStyleDisplayName(), and initialize().

std::unique_ptr<SvXMLUnitConverter> SvXMLImport::mpUnitConv
private

Definition at line 216 of file xmlimp.hxx.

std::unique_ptr<XMLErrors> SvXMLImport::mpXMLErrors
private

Definition at line 223 of file xmlimp.hxx.

Referenced by endDocument().

rtl::Reference<SvXMLStylesContext> SvXMLImport::mxAutoStyles
private

Definition at line 201 of file xmlimp.hxx.

Referenced by DisposingModel(), endDocument(), GetAutoStyles(), and SetAutoStyles().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxBitmapHelper
private

Definition at line 206 of file xmlimp.hxx.

Referenced by GetBitmapHelper().

rtl::Reference< SchXMLImportHelper > SvXMLImport::mxChartImport
private

Definition at line 196 of file xmlimp.hxx.

Referenced by GetChartImport().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxDashHelper
private

Definition at line 209 of file xmlimp.hxx.

Referenced by GetDashHelper().

css::uno::Reference< css::document::XEmbeddedObjectResolver > SvXMLImport::mxEmbeddedResolver
private
css::uno::Reference< css::lang::XEventListener > SvXMLImport::mxEventListener
private

Definition at line 211 of file xmlimp.hxx.

Referenced by cleanup(), DisposingModel(), InitCtor_(), and setTargetDocument().

css::uno::Reference< css::xml::sax::XFastDocumentHandler > SvXMLImport::mxFastDocumentHandler
private

Definition at line 235 of file xmlimp.hxx.

Referenced by parseStream(), and setFastDocumentHandler().

rtl::Reference<XMLFontStylesContext> SvXMLImport::mxFontDecls
private

Definition at line 199 of file xmlimp.hxx.

Referenced by DisposingModel(), endDocument(), GetFontDecls(), and SetFontDecls().

rtl::Reference< ::xmloff::OFormLayerXMLImport > SvXMLImport::mxFormImport
private

Definition at line 197 of file xmlimp.hxx.

Referenced by endDocument(), and GetFormImport().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxGradientHelper
private

Definition at line 204 of file xmlimp.hxx.

Referenced by GetGradientHelper().

css::uno::Reference< css::document::XGraphicStorageHandler > SvXMLImport::mxGraphicStorageHandler
private
css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxHatchHelper
private

Definition at line 205 of file xmlimp.hxx.

Referenced by GetHatchHelper().

css::uno::Reference< css::beans::XPropertySet > SvXMLImport::mxImportInfo
private
css::uno::Reference< css::xml::sax::XLocator > SvXMLImport::mxLocator
private

Definition at line 187 of file xmlimp.hxx.

Referenced by setDocumentLocator().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxMarkerHelper
private

Definition at line 208 of file xmlimp.hxx.

Referenced by GetMarkerHelper().

rtl::Reference<SvXMLStylesContext> SvXMLImport::mxMasterStyles
private

Definition at line 202 of file xmlimp.hxx.

Referenced by DisposingModel(), endDocument(), and SetMasterStyles().

css::uno::Reference< css::frame::XModel > SvXMLImport::mxModel
private
css::uno::Reference< css::util::XNumberFormatsSupplier > SvXMLImport::mxNumberFormatsSupplier
private

Definition at line 189 of file xmlimp.hxx.

Referenced by CreateNumberFormatsSupplier_(), GetNumberFormatsSupplier(), and InitCtor_().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxNumberStyles
private

Definition at line 210 of file xmlimp.hxx.

Referenced by AddNumberStyle(), endDocument(), initialize(), and SetAutoStyles().

css::uno::Reference< css::xml::sax::XFastParser > SvXMLImport::mxParser
private

Definition at line 231 of file xmlimp.hxx.

Referenced by SvXMLImport().

rtl::Reference< XMLShapeImportHelper > SvXMLImport::mxShapeImport
private

Definition at line 195 of file xmlimp.hxx.

Referenced by endDocument(), and GetShapeImport().

css::uno::Reference< css::task::XStatusIndicator > SvXMLImport::mxStatusIndicator
private

Definition at line 247 of file xmlimp.hxx.

Referenced by GetProgressBarHelper(), and initialize().

rtl::Reference<SvXMLStylesContext> SvXMLImport::mxStyles
private

Definition at line 200 of file xmlimp.hxx.

Referenced by DisposingModel(), endDocument(), GetStyles(), and SetStyles().

rtl::Reference< XMLTextImportHelper > SvXMLImport::mxTextImport
private

Definition at line 194 of file xmlimp.hxx.

Referenced by cleanup(), and GetTextImport().

css::uno::Reference< css::container::XNameContainer > SvXMLImport::mxTransGradientHelper
private

Definition at line 207 of file xmlimp.hxx.

Referenced by GetTransGradientHelper().

const sal_uInt16 SvXMLImport::OOo_1x = 10
static

Definition at line 541 of file xmlimp.hxx.

Referenced by SvxXMLListLevelStyleContext_Impl::GetProperties().

const sal_uInt16 SvXMLImport::OOo_2x = 20
static
const sal_uInt16 SvXMLImport::OOo_30x = 30
static

Definition at line 543 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_31x = 31
static

Definition at line 544 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_32x = 32
static

Definition at line 545 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_33x = 33
static

Definition at line 546 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_34x = 34
static

Definition at line 547 of file xmlimp.hxx.

Referenced by SdXMLObjectShapeContext::EndElement().

const sal_uInt16 SvXMLImport::ProductVersionUnknown = SAL_MAX_UINT16
static

Definition at line 567 of file xmlimp.hxx.

Referenced by SchXMLAxisContext::CreateAxis().

rtl::Reference< FastTokenHandler > SvXMLImport::xTokenHandler
staticprivate

The documentation for this class was generated from the following files: