LibreOffice Module xmloff (master)
1
|
#include <xmlimp.hxx>
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 | setCustomEntityNames (const ::css::uno::Sequence< ::css::beans::Pair<::rtl::OUString,::rtl::OUString > > &replacements) 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 |
SvXMLNumFmtHelper * | GetDataStylesImport () |
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 |
XMLEventImportHelper & | GetEventImport () |
SvXMLNamespaceMap & | GetNamespaceMap () |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
const SvXMLUnitConverter & | GetMM100UnitConverter () const |
SvXMLUnitConverter & | GetMM100UnitConverter () |
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, std::u16string_view 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 |
ProgressBarHelper * | GetProgressBarHelper () |
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) |
XMLFontStylesContext * | GetFontDecls () |
SvXMLStylesContext * | GetStyles () |
SvXMLStylesContext * | GetAutoStyles () |
const XMLFontStylesContext * | GetFontDecls () const |
const SvXMLStylesContext * | GetStyles () const |
const SvXMLStylesContext * | GetAutoStyles () 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) |
virtual void | DisposingModel () |
::comphelper::UnoInterfaceToUniqueIdentifierMapper & | getInterfaceToIdentifierMapper () |
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 > const &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 SvXMLImportContext * | CreateFastContext (sal_Int32 Element, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) |
virtual XMLTextImportHelper * | CreateTextImport () |
void | ClearTextImport () |
virtual XMLShapeImportHelper * | CreateShapeImport () |
bool | HasShapeImport () const |
void | ClearShapeImport () |
::xmloff::OFormLayerXMLImport * | CreateFormImport () |
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 SchXMLImportHelper * | CreateChartImport () |
Protected Attributes | |
bool | mbIsFormsSupported |
bool | mbIsTableShapeSupported |
bool | mbNotifyMacroEventRead |
Private Member Functions | |
SAL_DLLPRIVATE void | InitCtor_ () |
void | registerNamespaces () |
std::unique_ptr< SvXMLNamespaceMap > | processNSAttributes (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::XPropertySet > | mxImportInfo |
rtl::Reference< XMLTextImportHelper > | mxTextImport |
rtl::Reference< XMLShapeImportHelper > | mxShapeImport |
rtl::Reference< SchXMLImportHelper > | mxChartImport |
rtl::Reference< ::xmloff::OFormLayerXMLImport > | mxFormImport |
rtl::Reference< XMLFontStylesContext > | mxFontDecls |
rtl::Reference< SvXMLStylesContext > | mxStyles |
rtl::Reference< SvXMLStylesContext > | mxAutoStyles |
rtl::Reference< SvXMLStylesContext > | mxMasterStyles |
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_Impl > | mpImpl |
std::unique_ptr< SvXMLNamespaceMap > | mpNamespaceMap |
std::unique_ptr< SvXMLUnitConverter > | mpUnitConv |
std::stack< SvXMLImportContextRef, std::vector< SvXMLImportContextRef > > | maContexts |
std::unique_ptr< SvXMLNumFmtHelper > | mpNumImport |
std::unique_ptr< ProgressBarHelper > | mpProgressBarHelper |
std::unique_ptr< XMLEventImportHelper > | mpEventImportHelper |
std::unique_ptr< XMLErrors > | mpXMLErrors |
rtl::Reference< StyleMap > | mpStyleMap |
SvXMLImportFlags | mnImportFlags |
std::set< OUString > | embeddedFontUrlsKnown |
css::uno::Reference< css::xml::sax::XFastParser > | mxParser |
rtl::Reference< SvXMLImportFastNamespaceHandler > | maNamespaceHandler |
rtl::Reference< comphelper::AttributeList > | maNamespaceAttrList |
css::uno::Reference< css::xml::sax::XFastDocumentHandler > | mxFastDocumentHandler |
css::uno::Reference< css::task::XStatusIndicator > | mxStatusIndicator |
std::unique_ptr< EmbeddedFontsHelper, o3tl::default_delete< EmbeddedFontsHelper > > | mxEmbeddedFontHelper |
Static Private Attributes | |
static rtl::Reference< xmloff::token::FastTokenHandler > | xTokenHandler |
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 |
Definition at line 177 of file xmlimp.hxx.
SvXMLImport::SvXMLImport | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
OUString const & | implementationName, | ||
SvXMLImportFlags | nImportFlags = SvXMLImportFlags::ALL , |
||
const css::uno::Sequence< OUString > & | sSupportedServiceNames = {} |
||
) |
sSupportedServiceNames | if this is empty we default to our normal supported service names |
Definition at line 396 of file xmlimp.cxx.
References bIsNSMapsInitialized, InitCtor_(), initializeNamespaceMaps(), maNamespaceAttrList, maNamespaceHandler, MM_100TH, mxParser, registerNamespaces(), SAL_WARN_IF, setNamespaceHandler(), setTokenHandler(), util, and xTokenHandler.
|
overridevirtual |
Definition at line 445 of file xmlimp.cxx.
References cleanup().
bool SvXMLImport::addEmbeddedFont | ( | const css::uno::Reference< css::io::XInputStream > & | stream, |
const OUString & | fontName, | ||
const char * | extra, | ||
std::vector< unsigned char > const & | key, | ||
bool | eot | ||
) |
Definition at line 450 of file xmlimp.cxx.
References mxEmbeddedFontHelper.
Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().
void SvXMLImport::AddNumberStyle | ( | sal_Int32 | nKey, |
const OUString & | sName | ||
) |
Definition at line 1467 of file xmlimp.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, mxNumberStyles, comphelper::NameContainer_createInstance(), and SAL_WARN.
Referenced by SvXMLNumFormatContext::CreateAndInsert(), and SvXMLNumFormatContext::GetKey().
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 1886 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 | ||
) |
Definition at line 1362 of file xmlimp.cxx.
References Any, mpStyleMap, mxImportInfo, and SAL_WARN_IF.
Referenced by XMLPropStyleContext::CreateAndInsert(), SvxXMLListStyleContext::CreateAndInsertLate(), XMLTransGradientStyleImport::importXML(), SdXMLMasterPageContext::SdXMLMasterPageContext(), and XMLTextMasterPageContext::XMLTextMasterPageContext().
|
overridevirtual |
Definition at line 927 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 728 of file xmlimp.cxx.
References maContexts.
void SvXMLImport::cleanup | ( | ) | ||
throw | ( | |||
) |
Definition at line 427 of file xmlimp.cxx.
References DisposingModel(), maContexts, mxEventListener, mxModel, and mxTextImport.
Referenced by ~SvXMLImport().
|
inlineprotected |
Definition at line 267 of file xmlimp.hxx.
|
inlineprotected |
Definition at line 264 of file xmlimp.hxx.
sal_Unicode SvXMLImport::ConvStarBatsCharToStarSymbol | ( | sal_Unicode | c | ) |
Definition at line 1677 of file xmlimp.cxx.
References ConvertFontToSubsFontChar(), CreateFontToSubsFontConverter(), mpImpl, and SAL_WARN_IF.
Referenced by XMLTextImportHelper::ConvertStarFonts(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
sal_Unicode SvXMLImport::ConvStarMathCharToStarSymbol | ( | sal_Unicode | c | ) |
Definition at line 1694 of file xmlimp.cxx.
References ConvertFontToSubsFontChar(), CreateFontToSubsFontConverter(), mpImpl, and SAL_WARN_IF.
Referenced by XMLTextImportHelper::ConvertStarFonts(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
|
staticprotected |
Definition at line 1063 of file xmlimp.cxx.
Referenced by GetChartImport().
|
protected |
Definition at line 1668 of file xmlimp.cxx.
References GetComponentContext(), GetNumberFormatsSupplier(), mpNumImport, and SAL_WARN_IF.
Referenced by GetDataStylesImport().
|
overridevirtual |
Definition at line 869 of file xmlimp.cxx.
|
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().
|
protected |
Definition at line 1068 of file xmlimp.cxx.
Referenced by GetFormImport().
|
protected |
Definition at line 1660 of file xmlimp.cxx.
References mxModel, mxNumberFormatsSupplier, and SAL_WARN_IF.
Referenced by GetNumberFormatsSupplier().
|
protectedvirtual |
|
protectedvirtual |
|
overridevirtual |
Definition at line 876 of file xmlimp.cxx.
|
virtual |
Definition at line 1749 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 1899 of file xmlimp.cxx.
References embeddedFontUrlsKnown.
|
overridevirtual |
Definition at line 587 of file xmlimp.cxx.
References Any, GetTextImport(), mpImpl, mpNumImport, mpProgressBarHelper, mpStyleMap, mpXMLErrors, mxAutoStyles, mxEmbeddedResolver, mxFontDecls, mxFormImport, mxGraphicStorageHandler, mxImportInfo, mxMasterStyles, mxModel, mxNumberStyles, mxShapeImport, mxStyles, SAL_INFO, XML_NUMBERSTYLES, XML_PROGRESSCURRENT, XML_PROGRESSMAX, XML_PROGRESSREPEAT, and XMLERROR_FLAG_SEVERE.
|
overridevirtual |
Definition at line 840 of file xmlimp.cxx.
References assert(), getNameFromToken(), maContexts, SAL_INFO, and SAL_WARN.
|
overridevirtual |
Definition at line 854 of file xmlimp.cxx.
References assert(), maContexts, SAL_INFO, and SAL_WARN.
|
overridevirtual |
Definition at line 922 of file xmlimp.cxx.
OUString SvXMLImport::GetAbsoluteReference | ( | const OUString & | rValue | ) | const |
Definition at line 1589 of file xmlimp.cxx.
References INetURLObject::GetMainURL(), mpImpl, XMLImageStyle::rValue, and INetURLObject::ToIUri.
Referenced by xmloff::OPropertyImport::handleAttribute(), xmloff::OURLReferenceImport::handleAttribute(), lcl_GetMediaReference(), lcl_initDocumentProperties(), loadGraphicByURL(), xmloff::OXMLDataSourceImport::OXMLDataSourceImport(), SdXMLAppletShapeContext::processAttribute(), SdXMLFloatingFrameShapeContext::processAttribute(), XMLUrlFieldImportContext::ProcessAttribute(), XMLScriptImportContext::ProcessAttribute(), ResolveEmbeddedObjectURL(), SdXMLDrawPageContext::SdXMLDrawPageContext(), XMLSectionSourceImportContext::startFastElement(), XMLAutoMarkFileContext::startFastElement(), and XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext().
SvXMLStylesContext * SvXMLImport::GetAutoStyles | ( | ) |
Definition at line 1569 of file xmlimp.cxx.
References mxAutoStyles.
const SvXMLStylesContext * SvXMLImport::GetAutoStyles | ( | ) | const |
Definition at line 1584 of file xmlimp.cxx.
References mxAutoStyles.
OUString SvXMLImport::GetBaseURL | ( | ) | const |
Definition at line 1775 of file xmlimp.cxx.
References mpImpl, and INetURLObject::NONE.
const Reference< container::XNameContainer > & SvXMLImport::GetBitmapHelper | ( | ) |
Definition at line 1123 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 1801 of file xmlimp.cxx.
References mxImportInfo, and nIndex.
Referenced by XMLWordWrapPropertyHdl::importXML(), XMLOpacityPropertyHdl::importXML(), lcl_HasListStyle(), needFixPositionAfterZ(), XMLGraphicsDefaultStyle::SetDefaults(), XMLTextImportHelper::SetStyleAndAttrs(), XMLIndexChapterInfoEntryContext::startFastElement(), SdXMLConnectorShapeContext::startFastElement(), SdXMLGraphicObjectShapeContext::startFastElement(), and XMLTextListBlockContext::XMLTextListBlockContext().
|
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 |
Definition at line 1770 of file xmlimp.cxx.
References mpImpl.
Referenced by CreateDataStylesImport_(), xmloff::OElementImport::createElement(), InitCtor_(), lcl_initGenerator(), and SdXMLStylesContext::SdXMLStylesContext().
const Reference< container::XNameContainer > & SvXMLImport::GetDashHelper | ( | ) |
Definition at line 1191 of file xmlimp.cxx.
References mxDashHelper, and mxModel.
|
inline |
Definition at line 647 of file xmlimp.hxx.
References CreateDataStylesImport_().
Referenced by SvXMLStylesContext::CreateStyleChildContext(), and SetAutoStyles().
OUString SvXMLImport::GetDocumentBase | ( | ) | const |
Definition at line 1780 of file xmlimp.cxx.
References mpImpl, and INetURLObject::NONE.
Referenced by SdXMLShapeContext::AddShape(), and SdXMLImport::SetConfigurationSettings().
|
inlineprotected |
Definition at line 279 of file xmlimp.hxx.
XMLEventImportHelper & SvXMLImport::GetEventImport | ( | ) |
Definition at line 1487 of file xmlimp.cxx.
References aStandardEventTable, xmloff::token::GetXMLToken(), mpEventImportHelper, sScript, sStarBasic, xmloff::token::XML_SCRIPT, and xmloff::token::XML_STARBASIC.
Referenced by XMLEventsImportContext::createFastChildContext(), xmloff::OFormLayerXMLImport_Impl::enterEventContext(), and xmloff::OFormLayerXMLImport_Impl::leaveEventContext().
XMLFontStylesContext * SvXMLImport::GetFontDecls | ( | ) |
Definition at line 1559 of file xmlimp.cxx.
References mxFontDecls.
Referenced by XMLTextImportPropertyMapper::handleSpecialItem().
const XMLFontStylesContext * SvXMLImport::GetFontDecls | ( | ) | const |
Definition at line 1574 of file xmlimp.cxx.
References mxFontDecls.
|
inline |
Definition at line 619 of file xmlimp.hxx.
References CreateFormImport(), and mxFormImport.
Referenced by xmloff::OFormsRootImport::createFastChildContext(), SdXMLGenericPageContext::endFastElement(), SdXMLStylesContext::endFastElement(), XMLShapeStyleContext::FillPropertySet(), SetAutoStyles(), and SdXMLGenericPageContext::startFastElement().
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 1821 of file xmlimp.cxx.
References mpImpl.
Referenced by XMLTextFrameContext::createFastChildContext(), XMLTransGradientStyleImport::importXML(), isGeneratorVersionOlderThan(), needFixPositionAfterZ(), and SdXMLShowsContext::SdXMLShowsContext().
const Reference< container::XNameContainer > & SvXMLImport::GetGradientHelper | ( | ) |
Definition at line 1077 of file xmlimp.cxx.
References mxGradientHelper, and mxModel.
|
inlineprotected |
Definition at line 282 of file xmlimp.hxx.
const Reference< container::XNameContainer > & SvXMLImport::GetHatchHelper | ( | ) |
Definition at line 1100 of file xmlimp.cxx.
References mxHatchHelper, and mxModel.
|
finaloverridevirtual |
Definition at line 1038 of file xmlimp.cxx.
References mpImpl.
|
inline |
Definition at line 451 of file xmlimp.hxx.
Referenced by SchXMLDocContext::createFastChildContext(), SdXMLImport::CreateMetaContext(), and xmloff::OFormLayerXMLImport_Impl::documentDone().
|
inline |
Definition at line 381 of file xmlimp.hxx.
Referenced by SchXMLImport::CreateStylesContext(), SdXMLImport::initialize(), lcl_initDocumentProperties(), and lcl_initGenerator().
comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLImport::getInterfaceToIdentifierMapper | ( | ) |
Definition at line 1764 of file xmlimp.cxx.
References mpImpl.
Referenced by xmloff::AnimationsImportHelperImpl::convertTarget(), xmloff::AnimationsImportHelperImpl::convertTiming(), SdXMLFrameShapeContext::createFastChildContext(), XMLParaContext::endFastElement(), SdXMLFrameShapeContext::endFastElement(), xmloff::AnimationNodeContext::init_node(), XMLShapeImportHelper::restoreConnections(), SdXMLDrawPageContext::SdXMLDrawPageContext(), and SdXMLGenericPageContext::SetNavigationOrder().
|
inline |
Definition at line 397 of file xmlimp.hxx.
const Reference< container::XNameContainer > & SvXMLImport::GetMarkerHelper | ( | ) |
Definition at line 1169 of file xmlimp.cxx.
References mxMarkerHelper, and mxModel.
|
inline |
Definition at line 395 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(), SchXMLLegendContext::startFastElement(), XMLSectionFootnoteConfigImport::startFastElement(), XMLEnhancedCustomShapeContext::startFastElement(), SchXMLEquationContext::startFastElement(), SchXMLChartContext::startFastElement(), SchXMLTitleContext::startFastElement(), SchXMLDataLabelContext::startFastElement(), and XMLTextColumnsContext::XMLTextColumnsContext().
|
inline |
Definition at line 396 of file xmlimp.hxx.
|
inline |
Definition at line 399 of file xmlimp.hxx.
Referenced by SvxXMLListStyleContext::CreateAndInsertAuto(), XMLTextMarkImportContext::CreateAndInsertMark(), SchXMLImport::CreateFastContext(), SdXMLImport::CreateFastContext(), SdXMLImport::CreateMetaContext(), SchXMLImport::CreateStylesContext(), xmloff::OFormLayerXMLImport_Impl::documentDone(), XMLVariableDeclImportContext::FindFieldMaster(), XMLTableImport::finishStyles(), XMLShapeImportHelper::GetShapeTableImport(), XMLTableImport::insertTabletemplate(), XMLTextListsHelper::MakeNumRule(), SdXMLImport::NotifyContainsEmbeddedFont(), SdXMLLayerSetContext::SdXMLLayerSetContext(), SdXMLShowsContext::SdXMLShowsContext(), SdXMLImport::SetConfigurationSettings(), SchXMLImport::setTargetDocument(), SdXMLImport::setTargetDocument(), SdXMLImport::SetViewSettings(), XMLShapeImportHelper::XMLShapeImportHelper(), XMLTableImport::XMLTableImport(), XMLTextShapeImportHelper::XMLTextShapeImportHelper(), and SchXMLImport::~SchXMLImport().
|
static |
Definition at line 1907 of file xmlimp.cxx.
References TOKEN_MASK, and xTokenHandler.
Referenced by xmloff::AnimationNodeContext::AnimationNodeContext(), TokenContext::createFastChildContext(), XFormsInstanceContext::createFastChildContext(), XMLChangedRegionImportContext::createFastChildContext(), XMLIndexTemplateContext::createFastChildContext(), xmloff::EnhancedCustomShapeToken::EASGet(), XMLTextMarkImportContext::endFastElement(), endFastElement(), xmloff::BasicElementBase::getBoolAttr(), XMLPropertySetMapper::GetEntryIndex(), xmloff::OControlImport::handleAttribute(), DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), xmloff::AnimationNodeContext::init_node(), lcl_createElement(), XMLIndexTOCContext::startFastElement(), startFastElement(), and XMLIndexTOCContext::XMLIndexTOCContext().
|
inline |
Definition at line 393 of file xmlimp.hxx.
Referenced by XMLEventImportHelper::CreateContext(), XMLDocumentSettingsContext::createFastChildContext(), XFormsBindContext::HandleAttribute(), lcl_createElement(), XMLValueImportHelper::ProcessAttribute(), XMLVarFieldImportContext::ProcessAttribute(), XMLDatabaseNextImportContext::ProcessAttribute(), XMLHiddenParagraphImportContext::ProcessAttribute(), XMLConditionalTextImportContext::ProcessAttribute(), XMLHiddenTextImportContext::ProcessAttribute(), XMLSectionImportContext::ProcessAttributes(), SchXMLImport::SchXMLImport(), SdXMLImport::SdXMLImport(), XFormsBindContext::startFastElement(), SchXMLChartContext::startFastElement(), SchXMLSeries2Context::startFastElement(), and xmloff::OElementImport::startFastElement().
|
inline |
Definition at line 394 of file xmlimp.hxx.
|
static |
Definition at line 1922 of file xmlimp.cxx.
References aNamespaceMap, SvXMLNamespaceMap::GetKeyByName(), SvXMLNamespaceMap::GetPrefixByKey(), NMSP_MASK, and NMSP_SHIFT.
Referenced by DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), and lcl_createElement().
|
static |
Definition at line 1950 of file xmlimp.cxx.
References aNamespaceURIPrefixMap.
Referenced by SvXMLImportFastNamespaceHandler::registerNamespace().
|
static |
Definition at line 1940 of file xmlimp.cxx.
References aNamespaceMap, NMSP_MASK, and NMSP_SHIFT.
Referenced by DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), and lcl_createElement().
|
overridevirtual |
Definition at line 522 of file xmlimp.cxx.
|
inline |
Definition at line 639 of file xmlimp.hxx.
References CreateNumberFormatsSupplier_(), and mxNumberFormatsSupplier.
Referenced by CreateDataStylesImport_().
OUString SvXMLImport::GetODFVersion | ( | ) | const |
Definition at line 1840 of file xmlimp.cxx.
References mpImpl.
Referenced by SchXMLPlotAreaContext::endFastElement(), XMLTransGradientStyleImport::importXML(), and XMLNumberedParaContext::XMLNumberedParaContext().
|
static |
Definition at line 1912 of file xmlimp.cxx.
References aNamespaceMap, NMSP_MASK, NMSP_SHIFT, TOKEN_MASK, and xTokenHandler.
Referenced by xmloff::OFormLayerXMLImport_Impl::createContext(), xmloff::OPropertyImport::createFastChildContext(), SvXMLNumFormatContext::createFastChildContext(), SvXMLStylesContext::CreateStyleChildContext(), xmloff::OPropertyImport::handleAttribute(), and xmloff::OXMLDataSourceImport::OXMLDataSourceImport().
ProgressBarHelper * SvXMLImport::GetProgressBarHelper | ( | ) |
Definition at line 1419 of file xmlimp.cxx.
References cppu::any2bool(), cppu::UnoType< class >::get(), mpProgressBarHelper, mxImportInfo, mxStatusIndicator, SAL_WARN, XML_PROGRESSCURRENT, XML_PROGRESSMAX, XML_PROGRESSRANGE, and XML_PROGRESSREPEAT.
Referenced by XMLTextListItemContext::createFastChildContext(), XMLTextImportHelper::CreateTextChildContext(), SdXMLImport::SetStatistics(), and SetStatistics().
xmloff::RDFaImportHelper & SvXMLImport::GetRDFaImportHelper | ( | ) |
do not dllexport this; only for advanced cases (bookmark-start)
Definition at line 1876 of file xmlimp.cxx.
References mpImpl.
Referenced by AddRDFa(), and XMLTextMarkImportContext::endFastElement().
|
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(), SdXMLMasterPageContext::createFastChildContext(), SdXMLMasterStylesContext::createFastChildContext(), SdXMLStylesContext::CreateStyleChildContext(), SdXMLImport::CreateStylesContext(), SdXMLDrawPageContext::endFastElement(), SdXMLGroupShapeContext::endFastElement(), SdXML3DSceneShapeContext::endFastElement(), SdXMLGenericPageContext::endFastElement(), SdXMLMasterPageContext::endFastElement(), SdXMLStylesContext::endFastElement(), XMLTableImportContext::ImportRow(), XMLTableImportContext::InitColumns(), SdXMLShapeContext::isPresentationShape(), XMLTextFrameContext::removeGraphicFromImportContext(), SdXMLDrawPageContext::SdXMLDrawPageContext(), SdXMLMasterPageContext::SdXMLMasterPageContext(), SetAutoStyles(), SdXMLGenericPageContext::SetLayout(), SdXMLGenericPageContext::SetPageMaster(), SdXMLGenericPageContext::SetStyle(), SdXMLShapeContext::SetStyle(), SdXMLImport::setTargetDocument(), SdXMLGroupShapeContext::startFastElement(), SdXML3DSceneShapeContext::startFastElement(), XMLEnhancedCustomShapeContext::startFastElement(), SdXMLGenericPageContext::startFastElement(), SdXMLShapeContext::startFastElement(), SdXMLConnectorShapeContext::startFastElement(), SdXMLPageShapeContext::startFastElement(), SdXMLObjectShapeContext::startFastElement(), SdXMLAppletShapeContext::startFastElement(), SdXMLPluginShapeContext::startFastElement(), SdXMLFloatingFrameShapeContext::startFastElement(), and SdXMLTableShapeContext::startFastElement().
|
overridevirtual |
Definition at line 470 of file xmlimp.cxx.
Reference< embed::XStorage > const & SvXMLImport::GetSourceStorage | ( | ) | const |
Definition at line 1327 of file xmlimp.cxx.
References mpImpl.
Referenced by IsODFVersionConsistent(), and SdXMLImport::SetConfigurationSettings().
Reference< XOutputStream > SvXMLImport::GetStreamForEmbeddedObjectURLFromBase64 | ( | ) | const |
Definition at line 1333 of file xmlimp.cxx.
References Any, and mxEmbeddedResolver.
Referenced by SdXMLObjectShapeContext::createFastChildContext().
Reference< XOutputStream > SvXMLImport::GetStreamForGraphicObjectURLFromBase64 | ( | ) | const |
Definition at line 1292 of file xmlimp.cxx.
References mxGraphicStorageHandler.
Referenced by XMLSymbolImageContext::createFastChildContext(), XMLReplacementImageContext::createFastChildContext(), XMLBackgroundImageContext::createFastChildContext(), XMLBitmapStyleContext::createFastChildContext(), SvxXMLListLevelStyleContext_Impl::createFastChildContext(), and SdXMLGraphicObjectShapeContext::createFastChildContext().
OUString SvXMLImport::GetStyleDisplayName | ( | XmlStyleFamily | nFamily, |
const OUString & | rName | ||
) | const |
Definition at line 1393 of file xmlimp.cxx.
References mpStyleMap, and sName.
Referenced by XMLLineNumberingImportContext::CreateAndInsert(), XMLPropStyleContext::CreateAndInsert(), XMLIndexTitleTemplateContext::endFastElement(), XMLIndexAlphabeticalSourceContext::endFastElement(), XMLIndexTOCStylesContext::endFastElement(), XMLIndexTemplateContext::endFastElement(), XMLDrawingPageStyleContext::FillPropertySet(), XMLShapeStyleContext::FillPropertySet(), XMLTextStyleContext::FillPropertySet(), PageStyleContext::FillPropertySet_PageStyle(), XMLIndexSimpleEntryContext::FillPropertyValues(), XMLPropStyleContext::Finish(), SvxXMLListLevelStyleContext_Impl::GetProperties(), PageMasterImportPropertyMapper::handleSpecialItem(), lcl_HasListStyle(), XMLTextListsHelper::MakeNumRule(), XMLIndexAlphabeticalSourceContext::ProcessAttribute(), XMLFootnoteConfigurationImportContext::ProcessSettings(), SdXMLDrawPageContext::SdXMLDrawPageContext(), XMLTextImportHelper::SetHyperlink(), XMLTextImportHelper::SetRuby(), SdXMLShapeContext::SetStyle(), XMLTextImportHelper::SetStyleAndAttrs(), XMLIndexTitleTemplateContext::startFastElement(), XMLIndexSimpleEntryContext::startFastElement(), and XMLPropStyleContext::translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames().
SvXMLStylesContext * SvXMLImport::GetStyles | ( | ) |
Definition at line 1564 of file xmlimp.cxx.
References mxStyles.
Referenced by XMLLineNumberingImportContext::CreateAndInsert().
const SvXMLStylesContext * SvXMLImport::GetStyles | ( | ) | const |
Definition at line 1579 of file xmlimp.cxx.
References mxStyles.
|
finaloverridevirtual |
Definition at line 1048 of file xmlimp.cxx.
References mpImpl.
|
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::createFastChildContext(), XMLTextHeaderFooterContext::createFastChildContext(), XMLIndexBodyContext::createFastChildContext(), XMLChangeElementImportContext::createFastChildContext(), XMLSectionImportContext::createFastChildContext(), SdXMLShapeContext::createFastChildContext(), xmloff::OTextLikeImport::createFastChildContext(), XMLAnnotationImportContext::createFastChildContext(), endDocument(), XMLTextHeaderFooterContext::endFastElement(), XMLChangedRegionImportContext::endFastElement(), XMLSectionImportContext::endFastElement(), XMLTextFrameContext::endFastElement(), XMLIndexTOCContext::endFastElement(), XMLChangeElementImportContext::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(), XMLIndexTOCSourceContext::ProcessAttribute(), XMLIndexAlphabeticalSourceContext::ProcessAttribute(), SdXMLCustomShapeContext::SdXMLCustomShapeContext(), SetAutoStyles(), XMLChangedRegionImportContext::SetChangeInfo(), XMLTrackedChangesImportContext::startFastElement(), XMLChangeImportContext::startFastElement(), XMLIndexTitleTemplateContext::startFastElement(), XMLIndexTOCStylesContext::startFastElement(), XMLIndexSimpleEntryContext::startFastElement(), XMLSectionImportContext::startFastElement(), XMLIndexTOCContext::startFastElement(), XMLChangeElementImportContext::startFastElement(), XMLAnnotationImportContext::XMLAnnotationImportContext(), XMLNumberedParaContext::XMLNumberedParaContext(), XMLTextMasterPageContext::XMLTextMasterPageContext(), and XMLVariableDeclImportContext::XMLVariableDeclImportContext().
|
static |
Definition at line 1959 of file xmlimp.cxx.
References OUStringToOString(), and xTokenHandler.
Referenced by SvXMLLegacyToFastDocHandler::endElement(), and SvXMLLegacyToFastDocHandler::startElement().
const Reference< container::XNameContainer > & SvXMLImport::GetTransGradientHelper | ( | ) |
Definition at line 1146 of file xmlimp.cxx.
References mxModel, and mxTransGradientHelper.
|
static |
Definition at line 464 of file xmlimp.cxx.
|
inlineprotected |
Definition at line 266 of file xmlimp.hxx.
|
inline |
Definition at line 368 of file xmlimp.hxx.
|
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().
|
overridevirtual |
Reimplemented in SdXMLImport, and XMLAutoTextEventImport.
Definition at line 932 of file xmlimp.cxx.
References args, mpImpl, mpStyleMap, mxEmbeddedResolver, mxGraphicStorageHandler, mxImportInfo, mxNumberStyles, mxStatusIndicator, sName, and XML_NUMBERSTYLES.
Referenced by XMLAutoTextEventImport::initialize(), and SdXMLImport::initialize().
|
staticprivate |
Definition at line 1966 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().
|
virtual |
Definition at line 1796 of file xmlimp.cxx.
Referenced by XFormsModelContext::endFastElement().
|
inline |
Definition at line 452 of file xmlimp.hxx.
Referenced by SdXMLControlShapeContext::startFastElement().
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 1828 of file xmlimp.cxx.
References assert(), getGeneratorVersion(), and LO_flag.
Referenced by XMLTransGradientStyleImport::importXML().
|
protected |
Definition at line 1601 of file xmlimp.cxx.
References GetSourceStorage(), IsOOoXML(), ODFVER_012_TEXT, and u.
Referenced by processNSAttributes(), and startFastElement().
bool SvXMLImport::IsOOoXML | ( | ) | const |
Definition at line 1845 of file xmlimp.cxx.
References mpImpl.
Referenced by IsODFVersionConsistent().
bool SvXMLImport::IsPackageURL | ( | const OUString & | rURL | ) | const |
Definition at line 1210 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 1786 of file xmlimp.cxx.
References mpImpl.
Referenced by XMLShapeImportHelper::finishShape().
|
inline |
Definition at line 458 of file xmlimp.hxx.
bool SvXMLImport::IsTextDocInOOoFileFormat | ( | ) | const |
Definition at line 1791 of file xmlimp.cxx.
References mpImpl.
Referenced by lcl_HasListStyle(), XMLTextImportHelper::SetStyleAndAttrs(), and XMLTextListBlockContext::XMLTextListBlockContext().
uno::Reference< graphic::XGraphic > SvXMLImport::loadGraphicByURL | ( | OUString const & | rURL | ) |
Definition at line 1258 of file xmlimp.cxx.
References GetAbsoluteReference(), Graphic::GetXGraphic(), IsPackageURL(), mxGraphicStorageHandler, and xGraphic.
Referenced by XMLSymbolImageContext::endFastElement(), XMLReplacementImageContext::endFastElement(), XMLBackgroundImageContext::endFastElement(), SvxXMLListLevelStyleContext_Impl::GetProperties(), xmloff::OImagePositionImport::handleAttribute(), XMLChartImportPropertyMapper::handleSpecialItem(), SdXMLShapeContext::SetThumbnail(), and SdXMLGraphicObjectShapeContext::startFastElement().
uno::Reference< graphic::XGraphic > SvXMLImport::loadGraphicFromBase64 | ( | css::uno::Reference< css::io::XOutputStream > const & | rxOutputStream | ) |
Definition at line 1280 of file xmlimp.cxx.
References mxGraphicStorageHandler, and xGraphic.
Referenced by XMLSymbolImageContext::endFastElement(), XMLReplacementImageContext::endFastElement(), XMLBackgroundImageContext::endFastElement(), XMLBitmapStyleContext::endFastElement(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
bool SvXMLImport::needFixPositionAfterZ | ( | ) | const |
Definition at line 1715 of file ximpshap.cxx.
References AOO_40x, getBuildIds(), and getGeneratorVersion().
Referenced by SdXMLConnectorShapeContext::processAttribute().
|
inlinevirtual |
Reimplemented in SdXMLImport.
Definition at line 587 of file xmlimp.hxx.
Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().
void SvXMLImport::NotifyMacroEventRead | ( | ) |
Definition at line 2068 of file xmlimp.cxx.
References mbNotifyMacroEventRead, mxModel, and comphelper::DocumentInfo::notifyMacroEventRead().
Referenced by XMLEventImportHelper::CreateContext().
|
overridevirtual |
Definition at line 501 of file xmlimp.cxx.
References mxFastDocumentHandler.
|
overridevirtual |
Definition at line 733 of file xmlimp.cxx.
|
private |
Definition at line 673 of file xmlimp.cxx.
References xmloff::token::GetXMLToken(), i, IsODFVersionConsistent(), mpImpl, mpNamespaceMap, SvXMLNamespaceMap::NormalizeURI(), and XML_NAMESPACE_UNKNOWN.
Referenced by startFastElement().
|
overridevirtual |
Definition at line 517 of file xmlimp.cxx.
Referenced by registerNamespaces().
|
private |
Definition at line 2059 of file xmlimp.cxx.
References aNamespaceMap, NMSP_SHIFT, and registerNamespace().
Referenced by SvXMLImport().
OUString SvXMLImport::ResolveEmbeddedObjectURL | ( | const OUString & | rURL, |
std::u16string_view | rClassId | ||
) |
Definition at line 1303 of file xmlimp.cxx.
References GetAbsoluteReference(), IsPackageURL(), and mxEmbeddedResolver.
Referenced by SdXMLObjectShapeContext::startFastElement().
OUString SvXMLImport::ResolveEmbeddedObjectURLFromBase64 | ( | ) |
Definition at line 1350 of file xmlimp.cxx.
References mxEmbeddedResolver.
|
protected |
Definition at line 1524 of file xmlimp.cxx.
References SvXMLStylesContext::AddStyle(), GetChartImport(), GetDataStylesImport(), GetFormImport(), GetShapeImport(), GetTextImport(), mxAutoStyles, mxNumberStyles, and name.
Referenced by SchXMLImport::CreateStylesContext().
|
virtual |
Reimplemented in SdXMLImport.
Definition at line 1411 of file xmlimp.cxx.
Referenced by XMLDocumentSettingsContext::endFastElement().
|
overridevirtual |
Definition at line 547 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 738 of file xmlimp.cxx.
References mxLocator.
|
virtual |
Definition at line 1415 of file xmlimp.cxx.
Referenced by XMLDocumentSettingsContext::endFastElement().
|
inlineprotected |
Definition at line 627 of file xmlimp.hxx.
|
overridevirtual |
Definition at line 532 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 | ||
) |
Record an error condition that occurred during import.
The behavior of SetError can be modified using the error flag constants.
nId | error ID, may contain an error flag |
rMsgParams | string parameters for the error message |
rExceptionMessage | original exception message (if applicable) |
rLocator | error location (if applicable) |
Referenced by XMLEventsImportContext::AddEventValues(), SdXMLShapeContext::AddShape(), TokenContext::characters(), XMLEventImportHelper::CreateContext(), TokenContext::createFastChildContext(), XFormsInstanceContext::createFastChildContext(), XFormsInstanceContext::createUnknownChildContext(), TokenContext::createUnknownChildContext(), XMLShapeStyleContext::FillPropertySet(), XMLTextStyleContext::FillPropertySet(), SvXMLImportPropertyMapper::FillPropertySet_(), PageStyleContext::FillPropertySet_PageStyle(), SvXMLImportPropertyMapper::FillTolerantMultiPropertySet_(), XMLPropStyleContext::Finish(), XFormsModelContext::HandleAttribute(), DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXMLAttribute(), lcl_createElement(), SetError(), XMLIndexTOCContext::startFastElement(), startFastElement(), startUnknownElement(), and XMLImageMapContext::XMLImageMapContext().
void SvXMLImport::SetError | ( | sal_Int32 | nId, |
const css::uno::Sequence< OUString > & | rMsgParams | ||
) |
void SvXMLImport::SetError | ( | sal_Int32 | nId | ) |
Definition at line 1734 of file xmlimp.cxx.
References aSeq, and SetError().
void SvXMLImport::SetError | ( | sal_Int32 | nId, |
const OUString & | rMsg1 | ||
) |
Definition at line 1741 of file xmlimp.cxx.
References aSeq, and SetError().
|
overridevirtual |
Definition at line 527 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 507 of file xmlimp.cxx.
References mxFastDocumentHandler.
|
protected |
Definition at line 1510 of file xmlimp.cxx.
References mxFontDecls.
Referenced by SdXMLImport::CreateFontDeclsContext().
|
inlineprotected |
Definition at line 633 of file xmlimp.hxx.
|
overridevirtual |
Definition at line 537 of file xmlimp.cxx.
|
protected |
Definition at line 1552 of file xmlimp.cxx.
References mxMasterStyles.
|
overridevirtual |
Definition at line 542 of file xmlimp.cxx.
Referenced by SvXMLImport().
|
inline |
Definition at line 408 of file xmlimp.hxx.
|
virtual |
Reimplemented in SdXMLImport.
Definition at line 882 of file xmlimp.cxx.
References GetProgressBarHelper(), ProgressBarHelper::SetReference(), and ProgressBarHelper::SetRepeat().
Referenced by lcl_initDocumentProperties(), and SdXMLImport::SetStatistics().
|
protected |
Definition at line 1517 of file xmlimp.cxx.
References mxStyles.
|
overridevirtual |
Reimplemented in SdXMLImport, and SchXMLImport.
Definition at line 889 of file xmlimp.cxx.
References DBG_UNHANDLED_EXCEPTION, comphelper::OStorageHelper::GetXStorageFormat(), mpImpl, mpNumImport, mxEventListener, mxModel, SAL_WARN_IF, and SOFFICE_FILEFORMAT_8.
Referenced by SchXMLImport::setTargetDocument(), and SdXMLImport::setTargetDocument().
|
overridevirtual |
Definition at line 512 of file xmlimp.cxx.
Referenced by SvXMLImport().
|
virtual |
Reimplemented in SdXMLImport.
Definition at line 1407 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 1851 of file xmlimp.cxx.
References mpImpl, SAL_INFO, and TOOLS_WARN_EXCEPTION.
Referenced by XMLTextMarkImportContext::CreateAndInsertMark(), XMLParaContext::endFastElement(), XMLSectionImportContext::startFastElement(), and XMLIndexTOCContext::startFastElement().
|
overridevirtual |
Definition at line 552 of file xmlimp.cxx.
References mpImpl, mxEmbeddedResolver, mxGraphicStorageHandler, mxModel, SAL_INFO, and xFactory.
|
overridevirtual |
Definition at line 744 of file xmlimp.cxx.
References aName, assert(), sax_fastparser::castToFastAttributeList(), CreateFastContext(), sax_fastparser::FastAttributeList::end(), sax_fastparser::FastAttributeList::find(), getNameFromToken(), IsODFVersionConsistent(), maContexts, maNamespaceAttrList, maNamespaceHandler, mpImpl, name, OFFICE, processNSAttributes(), SAL_INFO, SAL_INFO_IF, SetError(), SvXMLImportContext, XML_ELEMENT, xmloff::token::XML_VERSION, XMLERROR_FLAG_SEVERE, and XMLERROR_UNKNOWN_ROOT.
|
overridevirtual |
Definition at line 803 of file xmlimp.cxx.
References assert(), CreateFastContext(), maContexts, name, SAL_INFO, SAL_WARN_IF, SetError(), SvXMLImportContext, XMLERROR_FLAG_SEVERE, and XMLERROR_UNKNOWN_ROOT.
|
finaloverridevirtual |
Definition at line 1043 of file xmlimp.cxx.
References cppu::supportsService().
|
friend |
Definition at line 186 of file xmlimp.hxx.
Referenced by CreateFastContext(), startFastElement(), and startUnknownElement().
|
friend |
Definition at line 187 of file xmlimp.hxx.
|
static |
Definition at line 527 of file xmlimp.hxx.
|
staticprivate |
Definition at line 236 of file xmlimp.hxx.
Referenced by getNamespacePrefixFromToken(), getNamespaceURIFromToken(), getPrefixAndNameFromToken(), initializeNamespaceMaps(), and registerNamespaces().
|
static |
Definition at line 528 of file xmlimp.hxx.
Referenced by DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), and lcl_createElement().
|
staticprivate |
Definition at line 237 of file xmlimp.hxx.
Referenced by getNamespacePrefixFromURI(), and initializeNamespaceMaps().
|
static |
Definition at line 538 of file xmlimp.hxx.
Referenced by needFixPositionAfterZ(), and XMLGraphicsDefaultStyle::SetDefaults().
|
static |
Definition at line 544 of file xmlimp.hxx.
Referenced by XMLTransGradientStyleImport::importXML(), and XMLGraphicsDefaultStyle::SetDefaults().
|
staticprivate |
Definition at line 238 of file xmlimp.hxx.
Referenced by SvXMLImport().
|
private |
Definition at line 230 of file xmlimp.hxx.
Referenced by embeddedFontAlreadyProcessed().
|
static |
Definition at line 546 of file xmlimp.hxx.
|
static |
Definition at line 547 of file xmlimp.hxx.
Referenced by SdXMLObjectShapeContext::endFastElement().
|
static |
Definition at line 548 of file xmlimp.hxx.
Referenced by XMLGraphicsDefaultStyle::SetDefaults().
|
static |
Definition at line 549 of file xmlimp.hxx.
|
static |
Definition at line 550 of file xmlimp.hxx.
|
static |
Definition at line 551 of file xmlimp.hxx.
|
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().
|
static |
Definition at line 555 of file xmlimp.hxx.
Referenced by XMLTransGradientStyleImport::importXML().
|
static |
Definition at line 545 of file xmlimp.hxx.
Referenced by isGeneratorVersionOlderThan().
|
private |
Definition at line 220 of file xmlimp.hxx.
Referenced by characters(), cleanup(), endFastElement(), endUnknownElement(), startFastElement(), and startUnknownElement().
|
private |
Definition at line 233 of file xmlimp.hxx.
Referenced by startFastElement(), and SvXMLImport().
|
private |
Definition at line 232 of file xmlimp.hxx.
Referenced by startFastElement(), and SvXMLImport().
|
protected |
Definition at line 252 of file xmlimp.hxx.
Referenced by SdXMLImport::setTargetDocument().
|
protected |
Definition at line 253 of file xmlimp.hxx.
Referenced by SdXMLImport::setTargetDocument().
|
protected |
Definition at line 254 of file xmlimp.hxx.
Referenced by NotifyMacroEventRead().
|
private |
Definition at line 229 of file xmlimp.hxx.
Referenced by InitCtor_(), and IsPackageURL().
|
private |
Definition at line 223 of file xmlimp.hxx.
Referenced by GetEventImport().
|
private |
Definition at line 215 of file xmlimp.hxx.
Referenced by ConvStarBatsCharToStarSymbol(), ConvStarMathCharToStarSymbol(), endDocument(), GetAbsoluteReference(), GetBaseURL(), GetComponentContext(), GetDocumentBase(), getGeneratorVersion(), getImplementationName(), getInterfaceToIdentifierMapper(), GetODFVersion(), GetRDFaImportHelper(), GetSourceStorage(), getSupportedServiceNames(), initialize(), IsOOoXML(), IsShapePositionInHoriL2R(), IsTextDocInOOoFileFormat(), processNSAttributes(), setTargetDocument(), SetXmlId(), startDocument(), and startFastElement().
|
private |
Definition at line 217 of file xmlimp.hxx.
Referenced by InitCtor_(), and processNSAttributes().
|
private |
Definition at line 221 of file xmlimp.hxx.
Referenced by CreateDataStylesImport_(), endDocument(), InitCtor_(), and setTargetDocument().
|
private |
Definition at line 222 of file xmlimp.hxx.
Referenced by endDocument(), and GetProgressBarHelper().
|
private |
Definition at line 225 of file xmlimp.hxx.
Referenced by AddStyleDisplayName(), endDocument(), GetStyleDisplayName(), and initialize().
|
private |
Definition at line 218 of file xmlimp.hxx.
|
private |
Definition at line 224 of file xmlimp.hxx.
Referenced by endDocument().
|
private |
Definition at line 203 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetAutoStyles(), and SetAutoStyles().
|
private |
Definition at line 208 of file xmlimp.hxx.
Referenced by GetBitmapHelper().
|
private |
Definition at line 198 of file xmlimp.hxx.
Referenced by GetChartImport().
|
private |
Definition at line 211 of file xmlimp.hxx.
Referenced by GetDashHelper().
|
private |
Definition at line 249 of file xmlimp.hxx.
Referenced by addEmbeddedFont().
|
private |
Definition at line 193 of file xmlimp.hxx.
Referenced by endDocument(), GetStreamForEmbeddedObjectURLFromBase64(), initialize(), ResolveEmbeddedObjectURL(), ResolveEmbeddedObjectURLFromBase64(), and startDocument().
|
private |
Definition at line 213 of file xmlimp.hxx.
Referenced by cleanup(), DisposingModel(), InitCtor_(), and setTargetDocument().
|
private |
Definition at line 234 of file xmlimp.hxx.
Referenced by parseStream(), and setFastDocumentHandler().
|
private |
Definition at line 201 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetFontDecls(), and SetFontDecls().
|
private |
Definition at line 199 of file xmlimp.hxx.
Referenced by endDocument(), and GetFormImport().
|
private |
Definition at line 206 of file xmlimp.hxx.
Referenced by GetGradientHelper().
|
private |
Definition at line 192 of file xmlimp.hxx.
Referenced by endDocument(), GetStreamForGraphicObjectURLFromBase64(), initialize(), loadGraphicByURL(), loadGraphicFromBase64(), and startDocument().
|
private |
Definition at line 207 of file xmlimp.hxx.
Referenced by GetHatchHelper().
|
private |
Definition at line 194 of file xmlimp.hxx.
Referenced by AddStyleDisplayName(), endDocument(), getBuildIds(), GetProgressBarHelper(), and initialize().
|
private |
Definition at line 189 of file xmlimp.hxx.
Referenced by setDocumentLocator().
|
private |
Definition at line 210 of file xmlimp.hxx.
Referenced by GetMarkerHelper().
|
private |
Definition at line 204 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), and SetMasterStyles().
|
private |
Definition at line 190 of file xmlimp.hxx.
Referenced by cleanup(), CreateNumberFormatsSupplier_(), CreateShapeImport(), CreateTextImport(), DisposingModel(), endDocument(), GetBitmapHelper(), GetDashHelper(), GetGradientHelper(), GetHatchHelper(), GetMarkerHelper(), GetTransGradientHelper(), InitCtor_(), NotifyMacroEventRead(), setTargetDocument(), and startDocument().
|
private |
Definition at line 191 of file xmlimp.hxx.
Referenced by CreateNumberFormatsSupplier_(), GetNumberFormatsSupplier(), and InitCtor_().
|
private |
Definition at line 212 of file xmlimp.hxx.
Referenced by AddNumberStyle(), endDocument(), initialize(), and SetAutoStyles().
|
private |
Definition at line 231 of file xmlimp.hxx.
Referenced by SvXMLImport().
|
private |
Definition at line 197 of file xmlimp.hxx.
Referenced by endDocument(), and GetShapeImport().
|
private |
Definition at line 245 of file xmlimp.hxx.
Referenced by GetProgressBarHelper(), and initialize().
|
private |
Definition at line 202 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetStyles(), and SetStyles().
|
private |
Definition at line 196 of file xmlimp.hxx.
Referenced by cleanup(), and GetTextImport().
|
private |
Definition at line 209 of file xmlimp.hxx.
Referenced by GetTransGradientHelper().
|
static |
Definition at line 530 of file xmlimp.hxx.
Referenced by SvxXMLListLevelStyleContext_Impl::GetProperties().
|
static |
Definition at line 531 of file xmlimp.hxx.
Referenced by XMLTextFrameContext::createFastChildContext(), SvxXMLListLevelStyleContext_Impl::GetProperties(), and XMLTextImportPropertyMapper::handleSpecialItem().
|
static |
Definition at line 532 of file xmlimp.hxx.
|
static |
Definition at line 533 of file xmlimp.hxx.
|
static |
Definition at line 534 of file xmlimp.hxx.
|
static |
Definition at line 535 of file xmlimp.hxx.
|
static |
Definition at line 536 of file xmlimp.hxx.
Referenced by SdXMLObjectShapeContext::endFastElement().
|
static |
Definition at line 556 of file xmlimp.hxx.
Referenced by SchXMLAxisContext::CreateAxis().
|
staticprivate |
Definition at line 235 of file xmlimp.hxx.
Referenced by getNameFromToken(), getPrefixAndNameFromToken(), getTokenFromName(), and SvXMLImport().