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 characters (const OUString &aChars) 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 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 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...
 
bool addEmbeddedFont (const css::uno::Reference< css::io::XInputStream > &stream, const OUString &fontName, const char *extra, std::vector< unsigned char > key, bool eot)
 
virtual void NotifyContainsEmbeddedFont ()
 
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)
 

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< SvXMLImportContextRef, std::vector< SvXMLImportContextRef > > maContexts
 
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
 
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
 
std::unique_ptr< EmbeddedFontsHelpermxEmbeddedFontHelper
 

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 175 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 396 of file xmlimp.cxx.

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

SvXMLImport::~SvXMLImport ( )
throw (
)
overridevirtual

Definition at line 446 of file xmlimp.cxx.

References cleanup().

Member Function Documentation

bool SvXMLImport::addEmbeddedFont ( const css::uno::Reference< css::io::XInputStream > &  stream,
const OUString &  fontName,
const char *  extra,
std::vector< unsigned char >  key,
bool  eot 
)

Definition at line 451 of file xmlimp.cxx.

References mxEmbeddedFontHelper.

Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().

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 1968 of file xmlimp.cxx.

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

Referenced by XMLParaContext::endFastElement().

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

Definition at line 997 of file xmlimp.cxx.

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

Definition at line 725 of file xmlimp.cxx.

References maContexts.

void SvXMLImport::cleanup ( )
throw (
)

Definition at line 428 of file xmlimp.cxx.

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

Referenced by ~SvXMLImport().

void SvXMLImport::ClearShapeImport ( )
inlineprotected

Definition at line 266 of file xmlimp.hxx.

void SvXMLImport::ClearTextImport ( )
inlineprotected

Definition at line 263 of file xmlimp.hxx.

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

Definition at line 1133 of file xmlimp.cxx.

Referenced by GetChartImport().

void SvXMLImport::CreateDataStylesImport_ ( )
protected

Definition at line 1738 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 939 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 334 of file xmlimp.cxx.

References assert(), SAL_WARN, and SvXMLImportContext.

Referenced by startFastElement(), and startUnknownElement().

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

Definition at line 1138 of file xmlimp.cxx.

Referenced by GetFormImport().

void SvXMLImport::CreateNumberFormatsSupplier_ ( )
protected

Definition at line 1730 of file xmlimp.cxx.

References mxModel, mxNumberFormatsSupplier, and SAL_WARN_IF.

Referenced by GetNumberFormatsSupplier().

XMLShapeImportHelper * SvXMLImport::CreateShapeImport ( )
protectedvirtual

Definition at line 1128 of file xmlimp.cxx.

References mxModel.

Referenced by GetShapeImport().

XMLTextImportHelper * SvXMLImport::CreateTextImport ( )
protectedvirtual

Definition at line 1123 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 946 of file xmlimp.cxx.

void SvXMLImport::DisposingModel ( )
virtual

Definition at line 1831 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 1981 of file xmlimp.cxx.

References embeddedFontUrlsKnown.

void SAL_CALL SvXMLImport::endDocument ( )
overridevirtual
void SAL_CALL SvXMLImport::endFastElement ( sal_Int32  Element)
overridevirtual

Definition at line 910 of file xmlimp.cxx.

References assert(), getNameFromToken(), maContexts, SAL_INFO, and SAL_WARN.

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

Definition at line 924 of file xmlimp.cxx.

References assert(), maContexts, SAL_INFO, and SAL_WARN.

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

Definition at line 992 of file xmlimp.cxx.

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

Definition at line 1639 of file xmlimp.cxx.

References mxAutoStyles.

const SvXMLStylesContext * SvXMLImport::GetAutoStyles ( ) const

Definition at line 1654 of file xmlimp.cxx.

References mxAutoStyles.

OUString SvXMLImport::GetBaseURL ( ) const

Definition at line 1857 of file xmlimp.cxx.

References mpImpl, and INetURLObject::NONE.

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

Definition at line 1193 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 1883 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 611 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 1261 of file xmlimp.cxx.

References mxDashHelper, and mxModel.

SvXMLNumFmtHelper * SvXMLImport::GetDataStylesImport ( )
inline

Definition at line 647 of file xmlimp.hxx.

References CreateDataStylesImport_().

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

OUString SvXMLImport::GetDocumentBase ( ) const

Definition at line 1862 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 278 of file xmlimp.hxx.

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

Definition at line 1629 of file xmlimp.cxx.

References mxFontDecls.

Referenced by XMLTextImportPropertyMapper::handleSpecialItem().

const XMLFontStylesContext * SvXMLImport::GetFontDecls ( ) const

Definition at line 1644 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 1903 of file xmlimp.cxx.

References mpImpl.

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

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

Definition at line 1147 of file xmlimp.cxx.

References mxGradientHelper, and mxModel.

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

Definition at line 281 of file xmlimp.hxx.

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

Definition at line 1170 of file xmlimp.cxx.

References mxHatchHelper, and mxModel.

OUString SAL_CALL SvXMLImport::getImplementationName ( )
finaloverridevirtual

Definition at line 1108 of file xmlimp.cxx.

References mpImpl.

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 395 of file xmlimp.hxx.

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

Definition at line 1239 of file xmlimp.cxx.

References mxMarkerHelper, and mxModel.

const SvXMLUnitConverter& SvXMLImport::GetMM100UnitConverter ( ) const
inline

Definition at line 393 of file xmlimp.hxx.

Referenced by SdXMLShapeContext::addGluePoint(), XMLTextShapeImportHelper::addShape(), xmloff::AnimationsImportHelperImpl::convertValue(), XMLLineNumberingImportContext::CreateAndInsert(), SvxXMLListLevelStyleContext_Impl::GetProperties(), XMLTableImport::insertTabletemplate(), XMLPageNumberImportContext::PrepareField(), XMLSequenceFieldImportContext::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(), SchXMLEquationContext::StartElement(), SchXMLDataLabelContext::StartElement(), SchXMLLegendContext::startFastElement(), XMLSectionFootnoteConfigImport::startFastElement(), SchXMLChartContext::startFastElement(), SchXMLTitleContext::startFastElement(), and XMLTextColumnsContext::XMLTextColumnsContext().

SvXMLUnitConverter& SvXMLImport::GetMM100UnitConverter ( )
inline

Definition at line 394 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 391 of file xmlimp.hxx.

Referenced by SdXMLShapeContext::addGluePoint(), XMLTextShapeImportHelper::addShape(), XMLShapeImportHelper::Create3DSceneChildContext(), XMLIndexTOCStylesContext::CreateChildContext(), SdXMLShapeContext::CreateChildContext(), SdXMLAppletShapeContext::CreateChildContext(), SdXMLPluginShapeContext::CreateChildContext(), XMLEventImportHelper::CreateContext(), XMLDocumentSettingsContext::createFastChildContext(), XMLShapeImportHelper::CreateGroupChildContext(), SdXMLFrameShapeContext::endFastElement(), XMLTextMarkImportContext::FindName(), XFormsBindContext::HandleAttribute(), XMLTableImportContext::ImportColumn(), XMLTableImportContext::ImportRow(), lcl_createElement(), XMLValueImportHelper::ProcessAttribute(), XMLVarFieldImportContext::ProcessAttribute(), XMLDatabaseNextImportContext::ProcessAttribute(), XMLHiddenParagraphImportContext::ProcessAttribute(), XMLConditionalTextImportContext::ProcessAttribute(), XMLHiddenTextImportContext::ProcessAttribute(), XMLSectionImportContext::ProcessAttributes(), QRCodeContext::QRCodeContext(), SchXMLImport::SchXMLImport(), SdXML3DCubeObjectShapeContext::SdXML3DCubeObjectShapeContext(), SdXML3DObjectContext::SdXML3DObjectContext(), SdXML3DPolygonBasedShapeContext::SdXML3DPolygonBasedShapeContext(), SdXML3DSphereObjectShapeContext::SdXML3DSphereObjectShapeContext(), SdXMLCustomShapeContext::SdXMLCustomShapeContext(), SdXMLImport::SdXMLImport(), SdXMLShapeLinkContext::SdXMLShapeLinkContext(), SchXMLPropertyMappingContext::StartElement(), SchXMLRegressionCurveObjectContext::StartElement(), SdXML3DSceneShapeContext::StartElement(), XMLTrackedChangesImportContext::StartElement(), XMLAutoMarkFileContext::StartElement(), XMLSectionSourceImportContext::StartElement(), XMLEnhancedCustomShapeContext::StartElement(), SchXMLTableContext::StartElement(), XMLChangedRegionImportContext::StartElement(), XMLIndexBibliographyEntryContext::StartElement(), XMLIndexTabStopEntryContext::StartElement(), XMLChangeImportContext::StartElement(), XMLIndexChapterInfoEntryContext::StartElement(), XMLIndexTitleTemplateContext::StartElement(), SchXMLEquationContext::StartElement(), XMLFootnoteImportContext::StartElement(), XMLIndexTOCStylesContext::StartElement(), XMLIndexSimpleEntryContext::StartElement(), XMLIndexTOCContext::StartElement(), SchXMLSeries2Context::StartElement(), XMLIndexSourceBaseContext::StartElement(), SchXMLPlotAreaContext::StartElement(), SchXMLTableColumnContext::StartElement(), XMLIndexTemplateContext::StartElement(), SchXMLTableCellContext::StartElement(), SchXMLDataLabelContext::StartElement(), xmloff::OSinglePropertyContext::StartElement(), SchXMLDataPointContext::StartElement(), xmloff::OListPropertyContext::StartElement(), SchXMLCoordinateRegionContext::StartElement(), xmloff::OListValueContext::StartElement(), SchXMLWallFloorContext::StartElement(), SchXMLStockContext::StartElement(), SchXMLStatisticsObjectContext::StartElement(), SdXMLPluginShapeContext::StartElement(), XFormsBindContext::startFastElement(), SvXMLStyleContext::startFastElement(), SchXMLChartContext::startFastElement(), xmloff::OElementImport::startFastElement(), startFastElement(), startUnknownElement(), XMLCalculationSettingsContext::XMLCalculationSettingsContext(), XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(), XMLReplacementImageContext::XMLReplacementImageContext(), XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext(), and XMLTextListBlockContext::XMLTextListBlockContext().

const SvXMLNamespaceMap& SvXMLImport::GetNamespaceMap ( ) const
inline

Definition at line 392 of file xmlimp.hxx.

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

Definition at line 2032 of file xmlimp.cxx.

References aNamespaceURIPrefixMap.

Referenced by SvXMLImportFastNamespaceHandler::registerNamespace().

OUString SvXMLImport::getNamespaceURIFromToken ( sal_Int32  nToken)
static
OUString SAL_CALL SvXMLImport::getNamespaceURL ( const OUString &  rPrefix)
overridevirtual

Definition at line 523 of file xmlimp.cxx.

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

Definition at line 639 of file xmlimp.hxx.

References CreateNumberFormatsSupplier_(), and mxNumberFormatsSupplier.

Referenced by CreateDataStylesImport_().

OUString SvXMLImport::GetODFVersion ( ) const
OUString SvXMLImport::getPrefixAndNameFromToken ( sal_Int32  nToken)
static
ProgressBarHelper * SvXMLImport::GetProgressBarHelper ( )
xmloff::RDFaImportHelper & SvXMLImport::GetRDFaImportHelper ( )

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

Definition at line 1958 of file xmlimp.cxx.

References mpImpl.

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

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

Definition at line 603 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(), SdXMLDrawPageContext::endFastElement(), SdXML3DSceneShapeContext::endFastElement(), SdXMLGroupShapeContext::endFastElement(), SdXMLGenericPageContext::endFastElement(), SdXMLMasterPageContext::endFastElement(), SdXMLStylesContext::endFastElement(), SdXMLFrameShapeContext::endFastElement(), XMLTableImportContext::ImportRow(), XMLTableImportContext::InitColumns(), SdXMLShapeContext::isPresentationShape(), XMLTextFrameContext::removeGraphicFromImportContext(), SdXML3DCubeObjectShapeContext::SdXML3DCubeObjectShapeContext(), SdXML3DObjectContext::SdXML3DObjectContext(), SdXML3DPolygonBasedShapeContext::SdXML3DPolygonBasedShapeContext(), SdXML3DSphereObjectShapeContext::SdXML3DSphereObjectShapeContext(), SdXMLDrawPageContext::SdXMLDrawPageContext(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SetAutoStyles(), SdXMLGenericPageContext::SetLayout(), SdXMLGenericPageContext::SetPageMaster(), SdXMLGenericPageContext::SetStyle(), SdXMLShapeContext::SetStyle(), SdXMLImport::setTargetDocument(), SdXML3DSceneShapeContext::StartElement(), SdXMLGroupShapeContext::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 471 of file xmlimp.cxx.

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

Definition at line 1397 of file xmlimp.cxx.

References mpImpl.

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

Reference< XOutputStream > SvXMLImport::GetStreamForEmbeddedObjectURLFromBase64 ( ) const

Definition at line 1403 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 1634 of file xmlimp.cxx.

References mxStyles.

Referenced by XMLLineNumberingImportContext::CreateAndInsert().

const SvXMLStylesContext * SvXMLImport::GetStyles ( ) const

Definition at line 1649 of file xmlimp.cxx.

References mxStyles.

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

Definition at line 1118 of file xmlimp.cxx.

References mpImpl.

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

Definition at line 595 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(), XMLTextHeaderFooterContext::endFastElement(), XMLChangedRegionImportContext::endFastElement(), XMLSectionImportContext::endFastElement(), XMLTextFrameContext::endFastElement(), XMLChangeElementImportContext::endFastElement(), XMLIndexTOCContext::endFastElement(), XMLNumberedParaContext::endFastElement(), SdXMLShapeContext::endFastElement(), XMLIndexTemplateContext::endFastElement(), SdXMLStylesContext::endFastElement(), xmloff::OTextLikeImport::endFastElement(), XMLAnnotationImportContext::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(), XMLIndexTOCContext::StartElement(), XMLChangeElementImportContext::startFastElement(), 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 1216 of file xmlimp.cxx.

References mxModel, and mxTransGradientHelper.

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

Definition at line 465 of file xmlimp.cxx.

bool SvXMLImport::HasShapeImport ( ) const
inlineprotected

Definition at line 265 of file xmlimp.hxx.

bool SvXMLImport::HasTextImport ( ) const
inline

Definition at line 366 of file xmlimp.hxx.

void SvXMLImport::InitCtor_ ( )
private

Definition at line 342 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_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_TABLE, xmloff::token::XML_N_TABLE_EXT, xmloff::token::XML_N_TEXT, 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 2048 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_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_STYLE, xmloff::token::XML_N_STYLE_OLD, xmloff::token::XML_N_STYLE_OOO, 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_XHTML, xmloff::token::XML_N_XLINK, xmloff::token::XML_N_XLINK_OLD, xmloff::token::XML_N_XML, 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_XML, 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, xmloff::token::XML_NP_XSI, and xmloff::token::XML_XML.

Referenced by SvXMLImport().

void SvXMLImport::initXForms ( )
virtual

Definition at line 1878 of file xmlimp.cxx.

Referenced by XFormsModelContext::endFastElement().

bool SvXMLImport::IsFormsSupported ( ) const
inline

Definition at line 450 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 1910 of file xmlimp.cxx.

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

Referenced by XMLTransGradientStyleImport::importXML().

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

Definition at line 1671 of file xmlimp.cxx.

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

Referenced by processNSAttributes(), and startFastElement().

bool SvXMLImport::IsOOoXML ( ) const

Definition at line 1927 of file xmlimp.cxx.

References mpImpl.

Referenced by IsODFVersionConsistent().

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

Definition at line 1280 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 1868 of file xmlimp.cxx.

References mpImpl.

Referenced by XMLShapeImportHelper::finishShape().

bool SvXMLImport::IsTableShapeSupported ( ) const
inline

Definition at line 456 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 1766 of file ximpshap.cxx.

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

virtual void SvXMLImport::NotifyContainsEmbeddedFont ( )
inlinevirtual

Reimplemented in SdXMLImport.

Definition at line 587 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 502 of file xmlimp.cxx.

References mxFastDocumentHandler.

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

Definition at line 730 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 518 of file xmlimp.cxx.

Referenced by registerNamespaces().

void SvXMLImport::registerNamespaces ( )
private

Definition at line 2141 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 1420 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 1481 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 735 of file xmlimp.cxx.

References mxLocator.

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

Definition at line 1485 of file xmlimp.cxx.

Referenced by XMLDocumentSettingsContext::endFastElement().

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

Definition at line 627 of file xmlimp.hxx.

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

Definition at line 533 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 1804 of file xmlimp.cxx.

References aSeq, and SetError().

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

Definition at line 1811 of file xmlimp.cxx.

References aSeq, and SetError().

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

Definition at line 1819 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 528 of file xmlimp.cxx.

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

Definition at line 508 of file xmlimp.cxx.

References mxFastDocumentHandler.

void SvXMLImport::SetFontDecls ( XMLFontStylesContext pFontDecls)
protected

Definition at line 1580 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 633 of file xmlimp.hxx.

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

Definition at line 538 of file xmlimp.cxx.

void SvXMLImport::SetMasterStyles ( SvXMLStylesContext pMasterStyles)
protected

Definition at line 1622 of file xmlimp.cxx.

References mxMasterStyles.

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

Definition at line 543 of file xmlimp.cxx.

Referenced by SvXMLImport().

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

Definition at line 406 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 1587 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 513 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 1477 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 1933 of file xmlimp.cxx.

References mpImpl, SAL_INFO, and TOOLS_WARN_EXCEPTION.

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

void SAL_CALL SvXMLImport::startDocument ( )
overridevirtual

Definition at line 549 of file xmlimp.cxx.

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

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
sal_Bool SAL_CALL SvXMLImport::supportsService ( const OUString &  ServiceName)
finaloverridevirtual

Definition at line 1113 of file xmlimp.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class SvXMLImportContext
friend

Definition at line 184 of file xmlimp.hxx.

Referenced by CreateFastContext(), startFastElement(), and startUnknownElement().

friend class SvXMLLegacyToFastDocHandler
friend

Definition at line 185 of file xmlimp.hxx.

Member Data Documentation

constexpr OUStringLiteral SvXMLImport::aDefaultNamespace = u""
static

Definition at line 527 of file xmlimp.hxx.

Referenced by SvXMLImportContext::startFastElement().

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 236 of file xmlimp.hxx.

Referenced by getNamespacePrefixFromURI(), and initializeNamespaceMaps().

const sal_uInt16 SvXMLImport::AOO_40x = 40
static

Definition at line 538 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 237 of file xmlimp.hxx.

Referenced by SvXMLImport().

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

Definition at line 228 of file xmlimp.hxx.

Referenced by embeddedFontAlreadyProcessed().

const sal_uInt16 SvXMLImport::LO_3x = 30 | LO_flag
static

Definition at line 546 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_41x = 41 | LO_flag
static

Definition at line 547 of file xmlimp.hxx.

Referenced by SdXMLObjectShapeContext::endFastElement().

const sal_uInt16 SvXMLImport::LO_42x = 42 | LO_flag
static

Definition at line 548 of file xmlimp.hxx.

Referenced by XMLGraphicsDefaultStyle::SetDefaults().

const sal_uInt16 SvXMLImport::LO_43x = 43 | LO_flag
static

Definition at line 549 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_44x = 44 | LO_flag
static

Definition at line 550 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::LO_5x = 50 | LO_flag
static

Definition at line 551 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 554 of file xmlimp.hxx.

Referenced by SdXMLShowsContext::SdXMLShowsContext().

const sal_uInt16 SvXMLImport::LO_7x = 70 | LO_flag
static

Definition at line 555 of file xmlimp.hxx.

Referenced by XMLTransGradientStyleImport::importXML().

const sal_uInt16 SvXMLImport::LO_flag = 0x100
static

Definition at line 545 of file xmlimp.hxx.

Referenced by isGeneratorVersionOlderThan().

rtl::Reference< comphelper::AttributeList > SvXMLImport::maAttrList
private
std::stack<SvXMLImportContextRef, std::vector<SvXMLImportContextRef> > SvXMLImport::maContexts
private
rtl::Reference< comphelper::AttributeList > SvXMLImport::maNamespaceAttrList
private

Definition at line 232 of file xmlimp.hxx.

Referenced by startFastElement(), and SvXMLImport().

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

Definition at line 251 of file xmlimp.hxx.

Referenced by SdXMLImport::setTargetDocument().

bool SvXMLImport::mbIsTableShapeSupported
protected

Definition at line 252 of file xmlimp.hxx.

Referenced by SdXMLImport::setTargetDocument().

bool SvXMLImport::mbNotifyMacroEventRead
protected

Definition at line 253 of file xmlimp.hxx.

Referenced by NotifyMacroEventRead().

SvXMLImportFlags SvXMLImport::mnImportFlags
private

Definition at line 227 of file xmlimp.hxx.

Referenced by InitCtor_(), and IsPackageURL().

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

Definition at line 221 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 InitCtor_(), processNSAttributes(), startFastElement(), and startUnknownElement().

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

Definition at line 219 of file xmlimp.hxx.

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

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

Definition at line 220 of file xmlimp.hxx.

Referenced by endDocument(), and GetProgressBarHelper().

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

Definition at line 223 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 222 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().

std::unique_ptr<EmbeddedFontsHelper> SvXMLImport::mxEmbeddedFontHelper
private

Definition at line 248 of file xmlimp.hxx.

Referenced by addEmbeddedFont().

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 233 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 229 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 244 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 530 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 532 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_31x = 31
static

Definition at line 533 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_32x = 32
static

Definition at line 534 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_33x = 33
static

Definition at line 535 of file xmlimp.hxx.

const sal_uInt16 SvXMLImport::OOo_34x = 34
static

Definition at line 536 of file xmlimp.hxx.

Referenced by SdXMLObjectShapeContext::endFastElement().

const sal_uInt16 SvXMLImport::ProductVersionUnknown = SAL_MAX_UINT16
static

Definition at line 556 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: