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 () noexcept |
virtual | ~SvXMLImport () noexcept override |
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 |
bool | IsMSO () const |
Determines if the document was generated by Microsoft Office. More... | |
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, 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 std::optional< SvXMLNamespaceMap > | processNSAttributes (std::optional< SvXMLNamespaceMap > &rpNamespaceMap, SvXMLImport *const pImport, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () noexcept |
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 | 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_63x = 63 | LO_flag |
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 () |
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::optional< SvXMLNamespaceMap > | mxNamespaceMap |
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 178 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 411 of file xmlimp.cxx.
References bIsNSMapsInitialized, false, InitCtor_(), initializeNamespaceMaps(), maNamespaceAttrList, maNamespaceHandler, MM_100TH, mxParser, ODFSVER_LATEST_EXTENDED, registerNamespaces(), SAL_WARN_IF, setNamespaceHandler(), setTokenHandler(), util, and xTokenHandler.
|
overridevirtualnoexcept |
Definition at line 461 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 466 of file xmlimp.cxx.
References mxEmbeddedFontHelper.
Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().
void SvXMLImport::AddNumberStyle | ( | sal_Int32 | nKey, |
const OUString & | sName | ||
) |
Definition at line 1494 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 1929 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 1389 of file xmlimp.cxx.
References Any, mpStyleMap, mxImportInfo, and SAL_WARN_IF.
Referenced by XMLPropStyleContext::CreateAndInsert(), SvxXMLListStyleContext::CreateAndInsertLate(), XMLTransGradientStyleImport::importXML(), XMLDashStyleImport::importXML(), XMLMarkerStyleImport::importXML(), XMLGradientStyleImport::importXML(), XMLHatchStyleImport::importXML(), SdXMLMasterPageContext::SdXMLMasterPageContext(), and XMLTextMasterPageContext::XMLTextMasterPageContext().
|
overridevirtual |
Definition at line 947 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 739 of file xmlimp.cxx.
References maContexts.
|
noexcept |
Definition at line 443 of file xmlimp.cxx.
References DisposingModel(), maContexts, mxEventListener, mxModel, and mxTextImport.
Referenced by ~SvXMLImport().
|
inlineprotected |
Definition at line 272 of file xmlimp.hxx.
|
inlineprotected |
Definition at line 269 of file xmlimp.hxx.
sal_Unicode SvXMLImport::ConvStarBatsCharToStarSymbol | ( | sal_Unicode | c | ) |
Definition at line 1708 of file xmlimp.cxx.
References ConvertFontToSubsFontChar(), CreateFontToSubsFontConverter(), mpImpl, SAL_WARN_IF, and u.
Referenced by XMLTextImportHelper::ConvertStarFonts(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
sal_Unicode SvXMLImport::ConvStarMathCharToStarSymbol | ( | sal_Unicode | c | ) |
Definition at line 1725 of file xmlimp.cxx.
References ConvertFontToSubsFontChar(), CreateFontToSubsFontConverter(), mpImpl, SAL_WARN_IF, and u.
Referenced by XMLTextImportHelper::ConvertStarFonts(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
|
staticprotected |
Definition at line 1081 of file xmlimp.cxx.
Referenced by GetChartImport().
|
protected |
Definition at line 1699 of file xmlimp.cxx.
References GetComponentContext(), GetNumberFormatsSupplier(), mpNumImport, and SAL_WARN_IF.
Referenced by GetDataStylesImport().
|
overridevirtual |
Definition at line 889 of file xmlimp.cxx.
|
protectedvirtual |
Reimplemented in SdXMLImport, XMLAutoTextEventImport, and XMLVersionListImport.
Definition at line 349 of file xmlimp.cxx.
References SAL_WARN, and SvXMLImportContext.
Referenced by startFastElement(), and startUnknownElement().
|
protected |
Definition at line 1095 of file xmlimp.cxx.
Referenced by GetFormImport().
|
protected |
Definition at line 1691 of file xmlimp.cxx.
References mxModel, mxNumberFormatsSupplier, and SAL_WARN_IF.
Referenced by GetNumberFormatsSupplier().
|
protectedvirtual |
|
protectedvirtual |
|
overridevirtual |
Definition at line 896 of file xmlimp.cxx.
|
virtual |
Definition at line 1773 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 1942 of file xmlimp.cxx.
References embeddedFontUrlsKnown.
|
overridevirtual |
Definition at line 595 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 855 of file xmlimp.cxx.
References getNameFromToken(), maContexts, mxNamespaceMap, SAL_INFO, and SAL_WARN.
|
overridevirtual |
Definition at line 874 of file xmlimp.cxx.
References maContexts, SAL_INFO, and SAL_WARN.
|
overridevirtual |
Definition at line 942 of file xmlimp.cxx.
OUString SvXMLImport::GetAbsoluteReference | ( | const OUString & | rValue | ) | const |
Definition at line 1618 of file xmlimp.cxx.
References INetURLObject::GetMainURL(), mpImpl, 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(), XMLBibliographyFieldImportContext::startFastElement(), and XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext().
SvXMLStylesContext * SvXMLImport::GetAutoStyles | ( | ) |
Definition at line 1598 of file xmlimp.cxx.
References mxAutoStyles.
const SvXMLStylesContext * SvXMLImport::GetAutoStyles | ( | ) | const |
Definition at line 1613 of file xmlimp.cxx.
References mxAutoStyles.
OUString SvXMLImport::GetBaseURL | ( | ) | const |
Definition at line 1799 of file xmlimp.cxx.
References mpImpl, and INetURLObject::NONE.
const Reference< container::XNameContainer > & SvXMLImport::GetBitmapHelper | ( | ) |
Definition at line 1150 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 1825 of file xmlimp.cxx.
References mxImportInfo, nIndex, and o3tl::toInt32().
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 617 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 1794 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 1218 of file xmlimp.cxx.
References mxDashHelper, and mxModel.
|
inline |
Definition at line 653 of file xmlimp.hxx.
References CreateDataStylesImport_().
Referenced by SvXMLStylesContext::CreateStyleChildContext(), and SetAutoStyles().
OUString SvXMLImport::GetDocumentBase | ( | ) | const |
Definition at line 1804 of file xmlimp.cxx.
References mpImpl, and INetURLObject::NONE.
Referenced by SdXMLImport::SetConfigurationSettings().
|
inlineprotected |
Definition at line 284 of file xmlimp.hxx.
XMLEventImportHelper & SvXMLImport::GetEventImport | ( | ) |
Definition at line 1514 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 1588 of file xmlimp.cxx.
References mxFontDecls.
Referenced by XMLTextImportPropertyMapper::handleSpecialItem().
const XMLFontStylesContext * SvXMLImport::GetFontDecls | ( | ) | const |
Definition at line 1603 of file xmlimp.cxx.
References mxFontDecls.
|
inline |
Definition at line 625 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 1845 of file xmlimp.cxx.
References mpImpl.
Referenced by XMLTextFrameContext::createFastChildContext(), XMLTransGradientStyleImport::importXML(), XMLGradientStyleImport::importXML(), isGeneratorVersionOlderThan(), needFixPositionAfterZ(), and SdXMLShowsContext::SdXMLShowsContext().
const Reference< container::XNameContainer > & SvXMLImport::GetGradientHelper | ( | ) |
Definition at line 1104 of file xmlimp.cxx.
References mxGradientHelper, and mxModel.
|
inlineprotected |
Definition at line 287 of file xmlimp.hxx.
const Reference< container::XNameContainer > & SvXMLImport::GetHatchHelper | ( | ) |
Definition at line 1127 of file xmlimp.cxx.
References mxHatchHelper, and mxModel.
|
finaloverridevirtual |
Definition at line 1056 of file xmlimp.cxx.
References mpImpl.
|
inline |
Definition at line 456 of file xmlimp.hxx.
Referenced by SchXMLDocContext::createFastChildContext(), SdXMLImport::CreateMetaContext(), and xmloff::OFormLayerXMLImport_Impl::documentDone().
|
inline |
Definition at line 386 of file xmlimp.hxx.
Referenced by SchXMLImport::CreateStylesContext(), SdXMLImport::initialize(), lcl_initDocumentProperties(), and lcl_initGenerator().
comphelper::UnoInterfaceToUniqueIdentifierMapper & SvXMLImport::getInterfaceToIdentifierMapper | ( | ) |
Definition at line 1788 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 402 of file xmlimp.hxx.
const Reference< container::XNameContainer > & SvXMLImport::GetMarkerHelper | ( | ) |
Definition at line 1196 of file xmlimp.cxx.
References mxMarkerHelper, and mxModel.
|
inline |
Definition at line 400 of file xmlimp.hxx.
Referenced by SdXMLShapeContext::addGluePoint(), XMLTextShapeImportHelper::addShape(), xmloff::AnimationsImportHelperImpl::convertValue(), XMLLineNumberingImportContext::CreateAndInsert(), SvxXMLListLevelStyleContext_Impl::GetProperties(), XMLDashStyleImport::importXML(), XMLMarkerStyleImport::importXML(), XMLHatchStyleImport::importXML(), 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(), XMLEnhancedCustomShapeContext::startFastElement(), XMLSectionFootnoteConfigImport::startFastElement(), SchXMLEquationContext::startFastElement(), SchXMLChartContext::startFastElement(), SchXMLTitleContext::startFastElement(), SchXMLDataLabelContext::startFastElement(), and XMLTextColumnsContext::XMLTextColumnsContext().
|
inline |
Definition at line 401 of file xmlimp.hxx.
|
inline |
Definition at line 404 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(), IsMSO(), XMLTextListsHelper::MakeNumRule(), SdXMLImport::NotifyContainsEmbeddedFont(), SdXMLLayerSetContext::SdXMLLayerSetContext(), SdXMLShowsContext::SdXMLShowsContext(), SdXMLImport::SetConfigurationSettings(), SchXMLImport::setTargetDocument(), SdXMLImport::setTargetDocument(), SdXMLImport::SetViewSettings(), SvXMLLineBreakContext::startFastElement(), XMLShapeImportHelper::XMLShapeImportHelper(), XMLTableImport::XMLTableImport(), XMLTextShapeImportHelper::XMLTextShapeImportHelper(), and SchXMLImport::~SchXMLImport().
|
static |
Definition at line 1950 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 398 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(), XMLEmbeddedObjectImportContext::SetComponent(), XFormsBindContext::startFastElement(), SchXMLChartContext::startFastElement(), SchXMLSeries2Context::startFastElement(), and xmloff::OElementImport::startFastElement().
|
inline |
Definition at line 399 of file xmlimp.hxx.
|
static |
Definition at line 1965 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 1993 of file xmlimp.cxx.
References aNamespaceURIPrefixMap.
Referenced by SvXMLImportFastNamespaceHandler::registerNamespace().
|
static |
Definition at line 1983 of file xmlimp.cxx.
References aNamespaceMap, NMSP_MASK, and NMSP_SHIFT.
Referenced by DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), and lcl_createElement().
|
overridevirtual |
Definition at line 530 of file xmlimp.cxx.
|
inline |
Definition at line 645 of file xmlimp.hxx.
References CreateNumberFormatsSupplier_(), and mxNumberFormatsSupplier.
Referenced by CreateDataStylesImport_().
OUString SvXMLImport::GetODFVersion | ( | ) | const |
Definition at line 1864 of file xmlimp.cxx.
References mpImpl.
Referenced by SchXMLPlotAreaContext::endFastElement(), XMLTransGradientStyleImport::importXML(), XMLGradientStyleImport::importXML(), and XMLNumberedParaContext::XMLNumberedParaContext().
|
static |
Definition at line 1955 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 1446 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 1919 of file xmlimp.cxx.
References mpImpl.
Referenced by AddRDFa(), and XMLTextMarkImportContext::endFastElement().
|
inline |
Definition at line 609 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 482 of file xmlimp.cxx.
References comphelper::getSomethingImpl().
Reference< embed::XStorage > const & SvXMLImport::GetSourceStorage | ( | ) | const |
Definition at line 1354 of file xmlimp.cxx.
References mpImpl.
Referenced by IsODFVersionConsistent(), and SdXMLImport::SetConfigurationSettings().
Reference< XOutputStream > SvXMLImport::GetStreamForEmbeddedObjectURLFromBase64 | ( | ) | const |
Definition at line 1360 of file xmlimp.cxx.
References Any, and mxEmbeddedResolver.
Referenced by SdXMLObjectShapeContext::createFastChildContext().
Reference< XOutputStream > SvXMLImport::GetStreamForGraphicObjectURLFromBase64 | ( | ) | const |
Definition at line 1319 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 1420 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 1593 of file xmlimp.cxx.
References mxStyles.
Referenced by XMLLineNumberingImportContext::CreateAndInsert().
const SvXMLStylesContext * SvXMLImport::GetStyles | ( | ) | const |
Definition at line 1608 of file xmlimp.cxx.
References mxStyles.
|
finaloverridevirtual |
Definition at line 1066 of file xmlimp.cxx.
References mpImpl.
|
inline |
Definition at line 601 of file xmlimp.hxx.
References CreateTextImport(), and mxTextImport.
Referenced by XMLTextShapeImportHelper::addShape(), XMLContentControlContext::characters(), XMLParaContext::characters(), XMLImpSpanContext_Impl::characters(), XMLTextStyleContext::CreateAndInsert(), SvxXMLListStyleContext::CreateAndInsertLate(), XMLTextMarkImportContext::CreateAndInsertMark(), XMLFootnoteBodyImportContext::createFastChildContext(), XMLTextHeaderFooterContext::createFastChildContext(), XMLIndexBodyContext::createFastChildContext(), XMLChangeElementImportContext::createFastChildContext(), XMLSectionImportContext::createFastChildContext(), SdXMLShapeContext::createFastChildContext(), xmloff::OTextLikeImport::createFastChildContext(), XMLAnnotationImportContext::createFastChildContext(), XMLImpSpanContext_Impl::CreateSpanContext(), endDocument(), XMLTextHeaderFooterContext::endFastElement(), XMLContentControlContext::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 2002 of file xmlimp.cxx.
References OUStringToOString(), and xTokenHandler.
Referenced by SvXMLLegacyToFastDocHandler::endElement(), and SvXMLLegacyToFastDocHandler::startElement().
const Reference< container::XNameContainer > & SvXMLImport::GetTransGradientHelper | ( | ) |
Definition at line 1173 of file xmlimp.cxx.
References mxModel, and mxTransGradientHelper.
|
staticnoexcept |
Definition at line 475 of file xmlimp.cxx.
References comphelper::UnoIdInit::getSeq().
|
inlineprotected |
Definition at line 271 of file xmlimp.hxx.
|
inline |
Definition at line 373 of file xmlimp.hxx.
|
private |
Definition at line 357 of file xmlimp.cxx.
References GetComponentContext(), xmloff::token::GetXMLToken(), mnImportFlags, mpNumImport, mxEventListener, mxModel, mxNamespaceMap, 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 952 of file xmlimp.cxx.
References Any, mpImpl, mpStyleMap, mxEmbeddedResolver, mxGraphicStorageHandler, mxImportInfo, mxNumberStyles, mxStatusIndicator, sName, and XML_NUMBERSTYLES.
Referenced by XMLAutoTextEventImport::initialize(), and SdXMLImport::initialize().
|
staticprivate |
Definition at line 2009 of file xmlimp.cxx.
References aNamespaceMap, aNamespaceURIPrefixMap, 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 1820 of file xmlimp.cxx.
Referenced by XFormsModelContext::endFastElement().
|
inline |
Definition at line 457 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 1852 of file xmlimp.cxx.
References getGeneratorVersion(), and LO_flag.
Referenced by XMLTransGradientStyleImport::importXML(), and XMLGradientStyleImport::importXML().
bool SvXMLImport::IsMSO | ( | ) | const |
Determines if the document was generated by Microsoft Office.
Definition at line 1874 of file xmlimp.cxx.
References GetModel(), and mpImpl.
Referenced by XMLTextListBlockContext::XMLTextListBlockContext().
|
protected |
Definition at line 1630 of file xmlimp.cxx.
References GetSourceStorage(), IsOOoXML(), and ODFVER_012_TEXT.
Referenced by processNSAttributes(), and startFastElement().
bool SvXMLImport::IsOOoXML | ( | ) | const |
Definition at line 1869 of file xmlimp.cxx.
References mpImpl.
Referenced by IsODFVersionConsistent().
bool SvXMLImport::IsPackageURL | ( | const OUString & | rURL | ) | const |
Definition at line 1237 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 1810 of file xmlimp.cxx.
References mpImpl.
Referenced by XMLShapeImportHelper::finishShape().
|
inline |
Definition at line 463 of file xmlimp.hxx.
bool SvXMLImport::IsTextDocInOOoFileFormat | ( | ) | const |
Definition at line 1815 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 1285 of file xmlimp.cxx.
References GetAbsoluteReference(), Graphic::GetXGraphic(), IsPackageURL(), and mxGraphicStorageHandler.
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 1307 of file xmlimp.cxx.
References mxGraphicStorageHandler.
Referenced by XMLSymbolImageContext::endFastElement(), XMLReplacementImageContext::endFastElement(), XMLBackgroundImageContext::endFastElement(), XMLBitmapStyleContext::endFastElement(), and SvxXMLListLevelStyleContext_Impl::GetProperties().
bool SvXMLImport::needFixPositionAfterZ | ( | ) | const |
Definition at line 1745 of file ximpshap.cxx.
References AOO_40x, getBuildIds(), and getGeneratorVersion().
Referenced by XMLMarkerStyleImport::importXML(), and SdXMLConnectorShapeContext::processAttribute().
|
inlinevirtual |
Reimplemented in SdXMLImport.
Definition at line 593 of file xmlimp.hxx.
Referenced by XMLFontStyleContextFontFaceUri::handleEmbeddedFont().
void SvXMLImport::NotifyMacroEventRead | ( | ) |
Definition at line 2111 of file xmlimp.cxx.
References mbNotifyMacroEventRead, mxModel, and comphelper::DocumentInfo::notifyMacroEventRead().
Referenced by XMLEventImportHelper::CreateContext().
|
overridevirtual |
Definition at line 509 of file xmlimp.cxx.
References mxFastDocumentHandler.
|
overridevirtual |
Definition at line 744 of file xmlimp.cxx.
|
static |
Definition at line 681 of file xmlimp.cxx.
References xmloff::token::GetXMLToken(), i, IsODFVersionConsistent(), mpImpl, SvXMLNamespaceMap::NormalizeURI(), and XML_NAMESPACE_UNKNOWN.
Referenced by SvXMLLegacyToFastDocHandler::startElement(), and startFastElement().
|
overridevirtual |
Definition at line 525 of file xmlimp.cxx.
Referenced by registerNamespaces().
|
private |
Definition at line 2102 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 1330 of file xmlimp.cxx.
References GetAbsoluteReference(), IsPackageURL(), and mxEmbeddedResolver.
Referenced by SdXMLObjectShapeContext::startFastElement().
OUString SvXMLImport::ResolveEmbeddedObjectURLFromBase64 | ( | ) |
Definition at line 1377 of file xmlimp.cxx.
References mxEmbeddedResolver.
|
protected |
Definition at line 1551 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 1438 of file xmlimp.cxx.
Referenced by XMLDocumentSettingsContext::endFastElement().
|
overridevirtual |
Definition at line 555 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 749 of file xmlimp.cxx.
References mxLocator.
|
virtual |
Definition at line 1442 of file xmlimp.cxx.
Referenced by XMLDocumentSettingsContext::endFastElement().
|
inlineprotected |
Definition at line 633 of file xmlimp.hxx.
|
overridevirtual |
Definition at line 540 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, |
const OUString & | rMsg1 | ||
) |
Definition at line 1765 of file xmlimp.cxx.
References aSeq, and SetError().
|
overridevirtual |
Definition at line 535 of file xmlimp.cxx.
|
overridevirtual |
Definition at line 515 of file xmlimp.cxx.
References mxFastDocumentHandler.
|
protected |
Definition at line 1537 of file xmlimp.cxx.
References mxFontDecls.
Referenced by SdXMLImport::CreateFontDeclsContext().
|
inlineprotected |
Definition at line 639 of file xmlimp.hxx.
|
overridevirtual |
Definition at line 545 of file xmlimp.cxx.
|
protected |
Definition at line 1581 of file xmlimp.cxx.
References mxMasterStyles.
|
overridevirtual |
Definition at line 550 of file xmlimp.cxx.
Referenced by SvXMLImport().
|
inline |
Definition at line 413 of file xmlimp.hxx.
|
virtual |
Reimplemented in SdXMLImport.
Definition at line 902 of file xmlimp.cxx.
References GetProgressBarHelper(), ProgressBarHelper::SetReference(), and ProgressBarHelper::SetRepeat().
Referenced by lcl_initDocumentProperties(), and SdXMLImport::SetStatistics().
|
protected |
Definition at line 1544 of file xmlimp.cxx.
References mxStyles.
|
overridevirtual |
Reimplemented in SdXMLImport, and SchXMLImport.
Definition at line 909 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 520 of file xmlimp.cxx.
Referenced by SvXMLImport().
|
virtual |
Reimplemented in SdXMLImport.
Definition at line 1434 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 1894 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 560 of file xmlimp.cxx.
References mpImpl, mxEmbeddedResolver, mxGraphicStorageHandler, mxModel, SAL_INFO, and xFactory.
|
overridevirtual |
Definition at line 755 of file xmlimp.cxx.
References aName, sax_fastparser::castToFastAttributeList(), CreateFastContext(), sax_fastparser::FastAttributeList::end(), sax_fastparser::FastAttributeList::find(), getNameFromToken(), IsODFVersionConsistent(), maContexts, maNamespaceAttrList, maNamespaceHandler, mpImpl, mxNamespaceMap, 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 818 of file xmlimp.cxx.
References CreateFastContext(), maContexts, name, SAL_INFO, SAL_WARN_IF, SetError(), SvXMLImportContext, XMLERROR_FLAG_SEVERE, and XMLERROR_UNKNOWN_ROOT.
|
finaloverridevirtual |
Definition at line 1061 of file xmlimp.cxx.
References cppu::supportsService().
|
friend |
Definition at line 187 of file xmlimp.hxx.
Referenced by CreateFastContext(), startFastElement(), and startUnknownElement().
|
friend |
Definition at line 188 of file xmlimp.hxx.
|
staticprivate |
Definition at line 237 of file xmlimp.hxx.
Referenced by getNamespacePrefixFromToken(), getNamespaceURIFromToken(), getPrefixAndNameFromToken(), initializeNamespaceMaps(), and registerNamespaces().
|
static |
Definition at line 533 of file xmlimp.hxx.
Referenced by DomBuilderContext::HandleAttributes(), SvXMLImportPropertyMapper::importXML(), and lcl_createElement().
|
staticprivate |
Definition at line 238 of file xmlimp.hxx.
Referenced by getNamespacePrefixFromURI(), and initializeNamespaceMaps().
|
static |
Definition at line 543 of file xmlimp.hxx.
Referenced by needFixPositionAfterZ(), and XMLGraphicsDefaultStyle::SetDefaults().
|
static |
Definition at line 549 of file xmlimp.hxx.
Referenced by PageStyleContext::FillPropertySet_PageStyle(), XMLTransGradientStyleImport::importXML(), XMLGradientStyleImport::importXML(), and XMLGraphicsDefaultStyle::SetDefaults().
|
staticprivate |
Definition at line 239 of file xmlimp.hxx.
Referenced by SvXMLImport().
|
private |
Definition at line 231 of file xmlimp.hxx.
Referenced by embeddedFontAlreadyProcessed().
|
static |
Definition at line 551 of file xmlimp.hxx.
|
static |
Definition at line 552 of file xmlimp.hxx.
Referenced by SdXMLObjectShapeContext::endFastElement().
|
static |
Definition at line 553 of file xmlimp.hxx.
Referenced by XMLGraphicsDefaultStyle::SetDefaults().
|
static |
Definition at line 554 of file xmlimp.hxx.
|
static |
Definition at line 555 of file xmlimp.hxx.
|
static |
Definition at line 556 of file xmlimp.hxx.
|
static |
Definition at line 560 of file xmlimp.hxx.
Referenced by PageStyleContext::FillPropertySet_PageStyle().
|
static |
: when adding a new value more specific than "6x", grep for all current uses and adapt them!!!
Definition at line 559 of file xmlimp.hxx.
Referenced by SdXMLShowsContext::SdXMLShowsContext().
|
static |
Definition at line 561 of file xmlimp.hxx.
Referenced by PageStyleContext::FillPropertySet_PageStyle(), XMLTransGradientStyleImport::importXML(), and XMLGradientStyleImport::importXML().
|
static |
Definition at line 550 of file xmlimp.hxx.
Referenced by isGeneratorVersionOlderThan().
|
private |
Definition at line 221 of file xmlimp.hxx.
Referenced by characters(), cleanup(), endFastElement(), endUnknownElement(), startFastElement(), and startUnknownElement().
|
private |
Definition at line 234 of file xmlimp.hxx.
Referenced by startFastElement(), and SvXMLImport().
|
private |
Definition at line 233 of file xmlimp.hxx.
Referenced by startFastElement(), and SvXMLImport().
|
protected |
Definition at line 257 of file xmlimp.hxx.
Referenced by SdXMLImport::setTargetDocument().
|
protected |
Definition at line 258 of file xmlimp.hxx.
Referenced by SdXMLImport::setTargetDocument().
|
protected |
Definition at line 259 of file xmlimp.hxx.
Referenced by NotifyMacroEventRead().
|
private |
Definition at line 230 of file xmlimp.hxx.
Referenced by InitCtor_(), and IsPackageURL().
|
private |
Definition at line 224 of file xmlimp.hxx.
Referenced by GetEventImport().
|
private |
Definition at line 216 of file xmlimp.hxx.
Referenced by ConvStarBatsCharToStarSymbol(), ConvStarMathCharToStarSymbol(), endDocument(), GetAbsoluteReference(), GetBaseURL(), GetComponentContext(), GetDocumentBase(), getGeneratorVersion(), getImplementationName(), getInterfaceToIdentifierMapper(), GetODFVersion(), GetRDFaImportHelper(), GetSourceStorage(), getSupportedServiceNames(), initialize(), IsMSO(), IsOOoXML(), IsShapePositionInHoriL2R(), IsTextDocInOOoFileFormat(), processNSAttributes(), setTargetDocument(), SetXmlId(), startDocument(), and startFastElement().
|
private |
Definition at line 222 of file xmlimp.hxx.
Referenced by CreateDataStylesImport_(), endDocument(), InitCtor_(), and setTargetDocument().
|
private |
Definition at line 223 of file xmlimp.hxx.
Referenced by endDocument(), and GetProgressBarHelper().
|
private |
Definition at line 226 of file xmlimp.hxx.
Referenced by AddStyleDisplayName(), endDocument(), GetStyleDisplayName(), and initialize().
|
private |
Definition at line 219 of file xmlimp.hxx.
|
private |
Definition at line 225 of file xmlimp.hxx.
Referenced by endDocument().
|
private |
Definition at line 204 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetAutoStyles(), and SetAutoStyles().
|
private |
Definition at line 209 of file xmlimp.hxx.
Referenced by GetBitmapHelper().
|
private |
Definition at line 199 of file xmlimp.hxx.
Referenced by GetChartImport().
|
private |
Definition at line 212 of file xmlimp.hxx.
Referenced by GetDashHelper().
|
private |
Definition at line 254 of file xmlimp.hxx.
Referenced by addEmbeddedFont().
|
private |
Definition at line 194 of file xmlimp.hxx.
Referenced by endDocument(), GetStreamForEmbeddedObjectURLFromBase64(), initialize(), ResolveEmbeddedObjectURL(), ResolveEmbeddedObjectURLFromBase64(), and startDocument().
|
private |
Definition at line 214 of file xmlimp.hxx.
Referenced by cleanup(), DisposingModel(), InitCtor_(), and setTargetDocument().
|
private |
Definition at line 235 of file xmlimp.hxx.
Referenced by parseStream(), and setFastDocumentHandler().
|
private |
Definition at line 202 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetFontDecls(), and SetFontDecls().
|
private |
Definition at line 200 of file xmlimp.hxx.
Referenced by endDocument(), and GetFormImport().
|
private |
Definition at line 207 of file xmlimp.hxx.
Referenced by GetGradientHelper().
|
private |
Definition at line 193 of file xmlimp.hxx.
Referenced by endDocument(), GetStreamForGraphicObjectURLFromBase64(), initialize(), loadGraphicByURL(), loadGraphicFromBase64(), and startDocument().
|
private |
Definition at line 208 of file xmlimp.hxx.
Referenced by GetHatchHelper().
|
private |
Definition at line 195 of file xmlimp.hxx.
Referenced by AddStyleDisplayName(), endDocument(), getBuildIds(), GetProgressBarHelper(), and initialize().
|
private |
Definition at line 190 of file xmlimp.hxx.
Referenced by setDocumentLocator().
|
private |
Definition at line 211 of file xmlimp.hxx.
Referenced by GetMarkerHelper().
|
private |
Definition at line 205 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), and SetMasterStyles().
|
private |
Definition at line 191 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 218 of file xmlimp.hxx.
Referenced by endFastElement(), InitCtor_(), and startFastElement().
|
private |
Definition at line 192 of file xmlimp.hxx.
Referenced by CreateNumberFormatsSupplier_(), GetNumberFormatsSupplier(), and InitCtor_().
|
private |
Definition at line 213 of file xmlimp.hxx.
Referenced by AddNumberStyle(), endDocument(), initialize(), and SetAutoStyles().
|
private |
Definition at line 232 of file xmlimp.hxx.
Referenced by SvXMLImport().
|
private |
Definition at line 198 of file xmlimp.hxx.
Referenced by endDocument(), and GetShapeImport().
|
private |
Definition at line 250 of file xmlimp.hxx.
Referenced by GetProgressBarHelper(), and initialize().
|
private |
Definition at line 203 of file xmlimp.hxx.
Referenced by DisposingModel(), endDocument(), GetStyles(), and SetStyles().
|
private |
Definition at line 197 of file xmlimp.hxx.
Referenced by cleanup(), and GetTextImport().
|
private |
Definition at line 210 of file xmlimp.hxx.
Referenced by GetTransGradientHelper().
|
static |
Definition at line 535 of file xmlimp.hxx.
Referenced by SvxXMLListLevelStyleContext_Impl::GetProperties().
|
static |
Definition at line 536 of file xmlimp.hxx.
Referenced by XMLTextFrameContext::createFastChildContext(), SvxXMLListLevelStyleContext_Impl::GetProperties(), and XMLTextImportPropertyMapper::handleSpecialItem().
|
static |
Definition at line 537 of file xmlimp.hxx.
|
static |
Definition at line 538 of file xmlimp.hxx.
|
static |
Definition at line 539 of file xmlimp.hxx.
|
static |
Definition at line 540 of file xmlimp.hxx.
|
static |
Definition at line 541 of file xmlimp.hxx.
Referenced by SdXMLObjectShapeContext::endFastElement().
|
static |
Definition at line 562 of file xmlimp.hxx.
Referenced by SchXMLAxisContext::CreateAxis().
|
staticprivate |
Definition at line 236 of file xmlimp.hxx.
Referenced by getNameFromToken(), getPrefixAndNameFromToken(), getTokenFromName(), and SvXMLImport().