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

#include <sdxmlexp_impl.hxx>

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

Public Member Functions

 SdXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, bool bIsDraw, SvXMLExportFlags nExportFlags)
 
virtual ~SdXMLExport () override
 
void collectAutoStyles () override
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
XMLShapeExportPropertyMapperGetPropertySetMapper () const
 
XMLPageExportPropertyMapperGetPresPagePropsMapper () const
 
bool IsDraw () const
 
bool IsImpress () const
 
virtual void addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false) override
 
virtual void exportDataStyles () override
 
virtual void exportAutoDataStyles () override
 
virtual OUString getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const override
 
- Public Member Functions inherited from SvXMLExport
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag)
 
virtual ~SvXMLExport () override
 
virtual void collectAutoStyles ()
 
virtual void SAL_CALL setSourceDocument (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 OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) 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
 
OUString EnsureNamespace (OUString const &i_rNamespace)
 ensures that the given namespace is in scope at the next started element. More...
 
void CheckAttrList ()
 
void ClearAttrList ()
 
void AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddAttribute (const OUString &rQName, const OUString &rValue)
 
void AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty)
 Add language tag attributes, deciding which are necessary. More...
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty)
 Same as AddLanguageTagAttributes() but with LanguageTag parameter instead of Locale. More...
 
void AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
comphelper::AttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList () const
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
size_t GetInfoID (const OUString sPersonalInfo) const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
virtual ErrCode exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID)
 
void collectDataStyles (bool bFromUsedStyles)
 
virtual void addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false)
 
virtual void exportDataStyles ()
 
virtual void exportAutoDataStyles ()
 
virtual OUString getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const
 
sal_Int32 dataStyleForceSystemLanguage (sal_Int32 nFormat) const
 
virtual void exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape)
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
rtl::Reference< XMLTextParagraphExport > const & GetTextParagraphExport ()
 
rtl::Reference< XMLShapeExport > const & GetShapeExport ()
 
rtl::Reference< SvXMLAutoStylePoolP > const & GetAutoStylePool ()
 
rtl::Reference< XMLPageExport > const & GetPageExport ()
 
rtl::Reference< SchXMLExportHelper > const & GetChartExport ()
 
rtl::Reference< XMLFontAutoStylePool > const & GetFontAutoStylePool ()
 
ProgressBarHelperGetProgressBarHelper ()
 
rtl::Reference< xmloff::OFormLayerXMLExport > const & GetFormExport ()
 
bool HasFormExport () const
 
const css::uno::Reference< css::beans::XPropertySet > & getExportInfo () const
 
const css::uno::Reference< css::task::XStatusIndicator > & GetStatusIndicator () const
 
XMLEventExportGetEventExport ()
 get Event export, with handlers for script types "None" and "StarBasic" already registered; other handlers may be registered, too. More...
 
XMLImageMapExportGetImageMapExport ()
 get the export for image maps More...
 
OUString AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString())
 
bool AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
bool GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType)
 
OUString AddEmbeddedObject (const OUString &rEmbeddedObjectURL)
 
bool AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL)
 
OUString EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const
 
bool IsSaveLinkedSections () const
 
SvXMLExportFlags getExportFlags () const
 
void ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp)
 
OUString GetRelativeReference (const OUString &rValue)
 
void StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside)
 
void StartElement (const OUString &rName, bool bIgnWSOutside)
 
void Characters (const OUString &rChars)
 
void EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside)
 
void EndElement (const OUString &rName, bool bIgnWSInside)
 
void IgnorableWhitespace ()
 
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 export. More...
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
SvtModuleOptions::EFactory GetModelType () const
 
bool writeOutlineStyleAsNormalListStyle () const
 
css::uno::Reference< css::embed::XStorage > const & GetTargetStorage () const
 
char const * GetODFVersionAttributeValue () const
 returns value of ODF version attribute More...
 
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion () const
 returns the deterministic version for odf export More...
 
void SAL_DLLPRIVATE AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue)
 add xml:id and legacy namespace id More...
 
void AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc)
 add xml:id attribute (for RDF metadata) More...
 
void AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent)
 add RDFa attributes for a metadatable text content More...
 
bool exportTextNumberElement () const
 
bool SetNullDateOnUnitConverter ()
 set null date from model to unit converter, if not already done More...
 
OUString const & GetImageFilterName () const
 Get clamped mimetype for image export (empty if none) More...
 

Protected Member Functions

virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool () override
 
- Protected Member Functions inherited from SvXMLExport
void setExportFlags (SvXMLExportFlags nExportFlags)
 
SvXMLNamespaceMapGetNamespaceMap_ ()
 
void ResetNamespaceMap ()
 
virtual void ExportMeta_ ()
 Override this method to export the content of <office:meta>. More...
 
virtual void ExportScripts_ ()
 Override this method to export the content of <office:scripts>. More...
 
virtual void ExportFontDecls_ ()
 Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created. More...
 
virtual void ExportStyles_ (bool bUsed)
 Override this method to export the content of <style:styles>. More...
 
virtual void ExportAutoStyles_ ()=0
 Override this method to export the contents of <style:auto-styles>. More...
 
virtual void ExportMasterStyles_ ()=0
 Override this method to export the contents of <style:master-styles>. More...
 
virtual void ExportContent_ ()=0
 Override this method to export the content of <office:body>. More...
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
virtual XMLShapeExportCreateShapeExport ()
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool ()
 
SchXMLExportHelperCreateChartExport ()
 
virtual XMLPageExportCreatePageExport ()
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual sal_Int32 GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings)
 returns the current document settings More...
 
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 SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 

Private Member Functions

virtual void ExportStyles_ (bool bUsed) override
 Override this method to export the content of <style:styles>. More...
 
virtual void ExportAutoStyles_ () override
 Override this method to export the contents of <style:auto-styles>. More...
 
virtual void ExportFontDecls_ () override
 Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created. More...
 
virtual void ExportMasterStyles_ () override
 Override this method to export the contents of <style:master-styles>. More...
 
virtual void ExportContent_ () override
 Override this method to export the content of <office:body>. More...
 
virtual void ExportMeta_ () override
 Override this method to export the content of <office:meta>. More...
 
ImpXMLEXPPageMasterInfoImpGetOrCreatePageMasterInfo (const css::uno::Reference< css::drawing::XDrawPage > &xMasterPage)
 
void ImpPrepPageMasterInfos ()
 
void ImpWritePageMasterInfos ()
 
void ImpPrepAutoLayoutInfos ()
 
HeaderFooterPageSettingsImpl ImpPrepDrawPageHeaderFooterDecls (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
ImpXMLEXPPageMasterInfoImpGetPageMasterInfoByName (std::u16string_view rName)
 
void ImpPrepDrawPageInfos ()
 
void ImpPrepMasterPageInfos ()
 
void ImpWritePresentationStyles ()
 
OUString ImpCreatePresPageStyleName (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, bool bExportBackground=true)
 
bool ImpPrepAutoLayoutInfo (const css::uno::Reference< css::drawing::XDrawPage > &xPage, OUString &rName)
 
void ImpWriteAutoLayoutInfos ()
 
void ImpWriteAutoLayoutPlaceholder (XmlPlaceholder ePl, const tools::Rectangle &rRect)
 
void ImpWriteHeaderFooterDecls ()
 
void ImplExportHeaderFooterDeclAttributes (const HeaderFooterPageSettingsImpl &aSettings)
 
void exportFormsElement (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
void ExportThemeElement (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
void exportPresentationSettings ()
 
sal_uInt32 ImpRecursiveObjectCount (const css::uno::Reference< css::drawing::XShapes > &xShapes)
 
OUString getNavigationOrder (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
void collectAnnotationAutoStyles (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
void exportAnnotations (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 

Private Attributes

css::uno::Reference< css::container::XNameAccess > mxDocStyleFamilies
 
css::uno::Reference< css::container::XIndexAccess > mxDocMasterPages
 
css::uno::Reference< css::container::XIndexAccess > mxDocDrawPages
 
sal_Int32 mnDocMasterPageCount
 
sal_Int32 mnDocDrawPageCount
 
sal_uInt32 mnObjectCount
 
std::vector< std::unique_ptr< ImpXMLEXPPageMasterInfo > > mvPageMasterInfoList
 
ImpXMLEXPPageMasterList mvPageMasterUsageList
 
ImpXMLEXPPageMasterList mvNotesPageMasterUsageList
 
ImpXMLEXPPageMasterInfompHandoutPageMaster
 
std::vector< std::unique_ptr< ImpXMLAutoLayoutInfo > > mvAutoLayoutInfoList
 
css::uno::Sequence< OUString > maDrawPagesAutoLayoutNames
 
::std::vector< OUString > maDrawPagesStyleNames
 
::std::vector< OUString > maDrawNotesPagesStyleNames
 
::std::vector< OUString > maMasterPagesStyleNames
 
OUString maHandoutMasterStyleName
 
::std::vector< HeaderFooterPageSettingsImplmaDrawPagesHeaderFooterSettings
 
::std::vector< HeaderFooterPageSettingsImplmaDrawNotesPagesHeaderFooterSettings
 
::std::vector< OUString > maHeaderDeclsVector
 
::std::vector< OUString > maFooterDeclsVector
 
::std::vector< DateTimeDeclImplmaDateTimeDeclsVector
 
HeaderFooterPageSettingsImpl maHandoutPageHeaderFooterSettings
 
rtl::Reference< XMLSdPropHdlFactorympSdPropHdlFactory
 
rtl::Reference< XMLShapeExportPropertyMappermpPropertySetMapper
 
rtl::Reference< XMLPageExportPropertyMappermpPresPagePropsMapper
 
SdXMLFormatMap maUsedDateStyles
 
SdXMLFormatMap maUsedTimeStyles
 
bool mbIsDraw
 

Additional Inherited Members

- Protected Attributes inherited from SvXMLExport
bool mbSaveLinkedSections
 
bool mbAutoStylesCollected
 

Detailed Description

Definition at line 72 of file sdxmlexp_impl.hxx.

Constructor & Destructor Documentation

◆ SdXMLExport()

SdXMLExport::SdXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
OUString const &  implementationName,
bool  bIsDraw,
SvXMLExportFlags  nExportFlags 
)

Definition at line 381 of file sdxmlexp.cxx.

References CM, and implementationName.

◆ ~SdXMLExport()

SdXMLExport::~SdXMLExport ( )
overridevirtual

Member Function Documentation

◆ addDataStyle()

void SdXMLExport::addDataStyle ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
)
overridevirtual

◆ collectAnnotationAutoStyles()

void SdXMLExport::collectAnnotationAutoStyles ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

Definition at line 2549 of file sdxmlexp.cxx.

References Exception, SvXMLExport::GetTextParagraphExport(), and TOOLS_WARN_EXCEPTION.

Referenced by collectAutoStyles().

◆ collectAutoStyles()

void SdXMLExport::collectAutoStyles ( )
overridevirtual

◆ CreateFontAutoStylePool()

XMLFontAutoStylePool * SdXMLExport::CreateFontAutoStylePool ( )
overrideprotectedvirtual

◆ exportAnnotations()

void SdXMLExport::exportAnnotations ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

◆ exportAutoDataStyles()

void SdXMLExport::exportAutoDataStyles ( )
overridevirtual

◆ ExportAutoStyles_()

void SdXMLExport::ExportAutoStyles_ ( )
overrideprivatevirtual

◆ ExportContent_()

void SdXMLExport::ExportContent_ ( )
overrideprivatevirtual

◆ exportDataStyles()

void SdXMLExport::exportDataStyles ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 2487 of file sdxmlexp.cxx.

◆ ExportFontDecls_()

void SdXMLExport::ExportFontDecls_ ( )
overrideprivatevirtual

Override this method to export the font declarations The default implementation will export the contents of the XMLFontAutoStylePool if it has been created.

Reimplemented from SvXMLExport.

Definition at line 1626 of file sdxmlexp.cxx.

References SvXMLExport::ExportFontDecls_(), and SvXMLExport::GetFontAutoStylePool().

◆ exportFormsElement()

void SdXMLExport::exportFormsElement ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

Definition at line 2345 of file sdxmlexp.cxx.

References SvXMLExport::GetFormExport().

Referenced by ExportContent_(), and ExportMasterStyles_().

◆ ExportMasterStyles_()

void SdXMLExport::ExportMasterStyles_ ( )
overrideprivatevirtual

◆ ExportMeta_()

void SdXMLExport::ExportMeta_ ( )
overrideprivatevirtual

Override this method to export the content of <office:meta>.

There is a default implementation.

Reimplemented from SvXMLExport.

Definition at line 1609 of file sdxmlexp.cxx.

References SvXMLExport::ExportMeta_(), SvXMLExport::GetModel(), and mnObjectCount.

◆ exportPresentationSettings()

void SdXMLExport::exportPresentationSettings ( )
private

◆ ExportStyles_()

void SdXMLExport::ExportStyles_ ( bool  bUsed)
overrideprivatevirtual

Override this method to export the content of <style:styles>.

If bUsed is set, used styles should be exported only. Overriding Methods must call this method !

Reimplemented from SvXMLExport.

Definition at line 1991 of file sdxmlexp.cxx.

References Any, SvXMLExport::ExportStyles_(), SvXMLExport::getExportInfo(), GetPropertySetMapper(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), gsPageLayoutNames(), ImpPrepAutoLayoutInfos(), ImpWriteAutoLayoutInfos(), ImpWritePresentationStyles(), maDrawPagesAutoLayoutNames, SvtSaveOptions::ODFSVER_012, and XMLShapeExportPropertyMapper::SetAutoStyles().

◆ ExportThemeElement()

void SdXMLExport::ExportThemeElement ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

◆ GetConfigurationSettings()

void SdXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual

◆ getDataStyleName()

OUString SdXMLExport::getDataStyleName ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
) const
overridevirtual

◆ getNavigationOrder()

OUString SdXMLExport::getNavigationOrder ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

Definition at line 2516 of file sdxmlexp.cxx.

References Exception, SvXMLExport::getInterfaceToIdentifierMapper(), nCount, nIndex, and sId.

Referenced by ExportContent_().

◆ GetPresPagePropsMapper()

XMLPageExportPropertyMapper * SdXMLExport::GetPresPagePropsMapper ( ) const
inline

Definition at line 168 of file sdxmlexp_impl.hxx.

References mpPresPagePropsMapper.

Referenced by ImpCreatePresPageStyleName(), and setSourceDocument().

◆ GetPropertySetMapper()

XMLShapeExportPropertyMapper * SdXMLExport::GetPropertySetMapper ( ) const
inline

◆ GetViewSettings()

void SdXMLExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 2430 of file sdxmlexp.cxx.

References SvXMLExport::GetModel().

◆ ImpCreatePresPageStyleName()

OUString SdXMLExport::ImpCreatePresPageStyleName ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage,
bool  bExportBackground = true 
)
private

◆ ImpGetOrCreatePageMasterInfo()

ImpXMLEXPPageMasterInfo * SdXMLExport::ImpGetOrCreatePageMasterInfo ( const css::uno::Reference< css::drawing::XDrawPage > &  xMasterPage)
private

Definition at line 1145 of file sdxmlexp.cxx.

References a, and mvPageMasterInfoList.

Referenced by ImpPrepPageMasterInfos().

◆ ImpGetPageMasterInfoByName()

ImpXMLEXPPageMasterInfo * SdXMLExport::ImpGetPageMasterInfoByName ( std::u16string_view  rName)
private

Definition at line 1282 of file sdxmlexp.cxx.

References mvPageMasterInfoList.

Referenced by ImpPrepAutoLayoutInfo().

◆ ImplExportHeaderFooterDeclAttributes()

void SdXMLExport::ImplExportHeaderFooterDeclAttributes ( const HeaderFooterPageSettingsImpl aSettings)
private

◆ ImpPrepAutoLayoutInfo()

bool SdXMLExport::ImpPrepAutoLayoutInfo ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage,
OUString &  rName 
)
private

◆ ImpPrepAutoLayoutInfos()

void SdXMLExport::ImpPrepAutoLayoutInfos ( )
private

◆ ImpPrepDrawPageHeaderFooterDecls()

HeaderFooterPageSettingsImpl SdXMLExport::ImpPrepDrawPageHeaderFooterDecls ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

◆ ImpPrepDrawPageInfos()

void SdXMLExport::ImpPrepDrawPageInfos ( )
private

◆ ImpPrepMasterPageInfos()

void SdXMLExport::ImpPrepMasterPageInfos ( )
private

◆ ImpPrepPageMasterInfos()

void SdXMLExport::ImpPrepPageMasterInfos ( )
private

◆ ImpRecursiveObjectCount()

sal_uInt32 SdXMLExport::ImpRecursiveObjectCount ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)
private

Definition at line 577 of file sdxmlexp.cxx.

References a, Any, ImpRecursiveObjectCount(), and nCount.

Referenced by ImpRecursiveObjectCount(), and setSourceDocument().

◆ ImpWriteAutoLayoutInfos()

void SdXMLExport::ImpWriteAutoLayoutInfos ( )
private

Definition at line 713 of file sdxmlexp.cxx.

References a, SvXMLExport::AddAttribute(), Point::AdjustX(), Point::AdjustY(), AUTOLAYOUT_4CLIPART, AUTOLAYOUT_CHART, AUTOLAYOUT_CHARTTEXT, AUTOLAYOUT_CLIPTEXT, AUTOLAYOUT_HANDOUT1, AUTOLAYOUT_HANDOUT2, AUTOLAYOUT_HANDOUT3, AUTOLAYOUT_HANDOUT4, AUTOLAYOUT_HANDOUT6, AUTOLAYOUT_HANDOUT9, AUTOLAYOUT_NOTES, AUTOLAYOUT_OBJ, AUTOLAYOUT_OBJTEXT, AUTOLAYOUT_ONLY_TEXT, AUTOLAYOUT_TAB, AUTOLAYOUT_TEXTCHART, AUTOLAYOUT_TEXTCLIP, AUTOLAYOUT_TEXTOBJ, AUTOLAYOUT_TEXTOVEROBJ, AUTOLAYOUT_TITLE, AUTOLAYOUT_TITLE_2CONTENT, AUTOLAYOUT_TITLE_2CONTENT_CONTENT, AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_2VTEXT, AUTOLAYOUT_TITLE_4CONTENT, AUTOLAYOUT_TITLE_6CONTENT, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_CONTENT_2CONTENT, AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_ONLY, AUTOLAYOUT_TITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), ImpWriteAutoLayoutPlaceholder(), tools::Rectangle::Left(), mvAutoLayoutInfoList, tools::Rectangle::setHeight(), Size::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetTop(), tools::Rectangle::setWidth(), Size::setWidth(), Point::setX(), tools::Rectangle::Top(), Size::Width(), Point::X(), xmloff::token::XML_NAME, XML_NAMESPACE_STYLE, xmloff::token::XML_PRESENTATION_PAGE_LAYOUT, XmlPlaceholderChart, XmlPlaceholderGraphic, XmlPlaceholderHandout, XmlPlaceholderNotes, XmlPlaceholderObject, XmlPlaceholderOutline, XmlPlaceholderPage, XmlPlaceholderSubtitle, XmlPlaceholderTable, XmlPlaceholderTitle, XmlPlaceholderVerticalOutline, and XmlPlaceholderVerticalTitle.

Referenced by ExportStyles_().

◆ ImpWriteAutoLayoutPlaceholder()

void SdXMLExport::ImpWriteAutoLayoutPlaceholder ( XmlPlaceholder  ePl,
const tools::Rectangle rRect 
)
private

◆ ImpWriteHeaderFooterDecls()

void SdXMLExport::ImpWriteHeaderFooterDecls ( )
private

◆ ImpWritePageMasterInfos()

void SdXMLExport::ImpWritePageMasterInfos ( )
private

◆ ImpWritePresentationStyles()

void SdXMLExport::ImpWritePresentationStyles ( )
private

◆ IsDraw()

bool SdXMLExport::IsDraw ( ) const
inline

Definition at line 170 of file sdxmlexp_impl.hxx.

References mbIsDraw.

◆ IsImpress()

bool SdXMLExport::IsImpress ( ) const
inline

◆ setSourceDocument()

void SAL_CALL SdXMLExport::setSourceDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 397 of file sdxmlexp.cxx.

References a, SvXMLNamespaceMap::Add(), Any, aXMLSDPresPageProps, XMLTextParagraphExport::CreateParaExtPropMapper(), SvXMLExport::GetAutoStylePool(), SvXMLExport::GetModel(), SvXMLExport::GetNamespaceMap_(), GetPresPagePropsMapper(), SvXMLExport::GetProgressBarHelper(), GetPropertySetMapper(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), xmloff::token::GetXMLToken(), ImpRecursiveObjectCount(), IsImpress(), maDrawNotesPagesHeaderFooterSettings, maDrawNotesPagesStyleNames, maDrawPagesAutoLayoutNames, maDrawPagesHeaderFooterSettings, maDrawPagesStyleNames, maMasterPagesStyleNames, mbIsDraw, mnDocDrawPageCount, mnDocMasterPageCount, mnObjectCount, mpPresPagePropsMapper, mpPropertySetMapper, mpSdPropHdlFactory, mxDocDrawPages, mxDocMasterPages, mxDocStyleFamilies, SvtSaveOptions::ODFSVER_EXTENDED, SD_DRAWINGPAGE_ID, SD_GRAPHICS_ID, SD_PRESENTATION_ID, ProgressBarHelper::SetReference(), SvXMLExport::setSourceDocument(), xmloff::token::XML_N_ANIMATION, xmloff::token::XML_N_OFFICE_EXT, xmloff::token::XML_N_PRESENTATION, XML_NAMESPACE_ANIMATION, XML_NAMESPACE_OFFICE_EXT, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SMIL, xmloff::token::XML_NP_ANIMATION, xmloff::token::XML_NP_OFFICE_EXT, xmloff::token::XML_NP_PRESENTATION, xmloff::token::XML_NP_SMIL, XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME, XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX, XML_STYLE_FAMILY_SD_PRESENTATION_NAME, and XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX.

Member Data Documentation

◆ maDateTimeDeclsVector

::std::vector< DateTimeDeclImpl > SdXMLExport::maDateTimeDeclsVector
private

◆ maDrawNotesPagesHeaderFooterSettings

::std::vector< HeaderFooterPageSettingsImpl > SdXMLExport::maDrawNotesPagesHeaderFooterSettings
private

Definition at line 95 of file sdxmlexp_impl.hxx.

Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().

◆ maDrawNotesPagesStyleNames

::std::vector< OUString > SdXMLExport::maDrawNotesPagesStyleNames
private

Definition at line 91 of file sdxmlexp_impl.hxx.

Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().

◆ maDrawPagesAutoLayoutNames

css::uno::Sequence< OUString > SdXMLExport::maDrawPagesAutoLayoutNames
private

◆ maDrawPagesHeaderFooterSettings

::std::vector< HeaderFooterPageSettingsImpl > SdXMLExport::maDrawPagesHeaderFooterSettings
private

Definition at line 94 of file sdxmlexp_impl.hxx.

Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().

◆ maDrawPagesStyleNames

::std::vector< OUString > SdXMLExport::maDrawPagesStyleNames
private

Definition at line 90 of file sdxmlexp_impl.hxx.

Referenced by ExportContent_(), ImpPrepDrawPageInfos(), and setSourceDocument().

◆ maFooterDeclsVector

::std::vector< OUString > SdXMLExport::maFooterDeclsVector
private

◆ maHandoutMasterStyleName

OUString SdXMLExport::maHandoutMasterStyleName
private

Definition at line 93 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().

◆ maHandoutPageHeaderFooterSettings

HeaderFooterPageSettingsImpl SdXMLExport::maHandoutPageHeaderFooterSettings
private

Definition at line 101 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().

◆ maHeaderDeclsVector

::std::vector< OUString > SdXMLExport::maHeaderDeclsVector
private

◆ maMasterPagesStyleNames

::std::vector< OUString > SdXMLExport::maMasterPagesStyleNames
private

◆ maUsedDateStyles

SdXMLFormatMap SdXMLExport::maUsedDateStyles
private

Definition at line 107 of file sdxmlexp_impl.hxx.

Referenced by addDataStyle(), and exportAutoDataStyles().

◆ maUsedTimeStyles

SdXMLFormatMap SdXMLExport::maUsedTimeStyles
private

Definition at line 108 of file sdxmlexp_impl.hxx.

Referenced by addDataStyle(), and exportAutoDataStyles().

◆ mbIsDraw

bool SdXMLExport::mbIsDraw
private

Definition at line 110 of file sdxmlexp_impl.hxx.

Referenced by IsDraw(), IsImpress(), and setSourceDocument().

◆ mnDocDrawPageCount

sal_Int32 SdXMLExport::mnDocDrawPageCount
private

◆ mnDocMasterPageCount

sal_Int32 SdXMLExport::mnDocMasterPageCount
private

◆ mnObjectCount

sal_uInt32 SdXMLExport::mnObjectCount
private

Definition at line 79 of file sdxmlexp_impl.hxx.

Referenced by ExportMeta_(), and setSourceDocument().

◆ mpHandoutPageMaster

ImpXMLEXPPageMasterInfo* SdXMLExport::mpHandoutPageMaster
private

Definition at line 85 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

◆ mpPresPagePropsMapper

rtl::Reference<XMLPageExportPropertyMapper> SdXMLExport::mpPresPagePropsMapper
private

Definition at line 105 of file sdxmlexp_impl.hxx.

Referenced by GetPresPagePropsMapper(), setSourceDocument(), and ~SdXMLExport().

◆ mpPropertySetMapper

rtl::Reference<XMLShapeExportPropertyMapper> SdXMLExport::mpPropertySetMapper
private

Definition at line 104 of file sdxmlexp_impl.hxx.

Referenced by GetPropertySetMapper(), setSourceDocument(), and ~SdXMLExport().

◆ mpSdPropHdlFactory

rtl::Reference<XMLSdPropHdlFactory> SdXMLExport::mpSdPropHdlFactory
private

Definition at line 103 of file sdxmlexp_impl.hxx.

Referenced by setSourceDocument(), and ~SdXMLExport().

◆ mvAutoLayoutInfoList

std::vector< std::unique_ptr<ImpXMLAutoLayoutInfo> > SdXMLExport::mvAutoLayoutInfoList
private

Definition at line 86 of file sdxmlexp_impl.hxx.

Referenced by ImpPrepAutoLayoutInfo(), ImpWriteAutoLayoutInfos(), and ~SdXMLExport().

◆ mvNotesPageMasterUsageList

ImpXMLEXPPageMasterList SdXMLExport::mvNotesPageMasterUsageList
private

Definition at line 84 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

◆ mvPageMasterInfoList

std::vector< std::unique_ptr<ImpXMLEXPPageMasterInfo> > SdXMLExport::mvPageMasterInfoList
private

◆ mvPageMasterUsageList

ImpXMLEXPPageMasterList SdXMLExport::mvPageMasterUsageList
private

Definition at line 83 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

◆ mxDocDrawPages

css::uno::Reference< css::container::XIndexAccess > SdXMLExport::mxDocDrawPages
private

◆ mxDocMasterPages

css::uno::Reference< css::container::XIndexAccess > SdXMLExport::mxDocMasterPages
private

◆ mxDocStyleFamilies

css::uno::Reference< css::container::XNameAccess > SdXMLExport::mxDocStyleFamilies
private

Definition at line 74 of file sdxmlexp_impl.hxx.

Referenced by ImpWritePresentationStyles(), and setSourceDocument().


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