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 const &implementationName, sal_Int16 const eDefaultMeasureUnit, const enum::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, 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 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 AddAttributeASCII (sal_uInt16 nPrefix, const char *pName, const char *pValue)
 
void AddAttribute (sal_uInt16 nPrefix, const char *pName, const OUString &rValue)
 
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)
 
SvXMLAttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList ()
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
virtual ErrCode exportDoc (enum::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID)
 
void collectDataStyles (bool bFromUsedStyles)
 
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 ExportScripts_ ()
 Override this method to export the content of <office:scripts>. More...
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
virtual XMLShapeExportCreateShapeExport ()
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool ()
 
SchXMLExportHelperCreateChartExport ()
 
virtual XMLPageExportCreatePageExport ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
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 (const OUString &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 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 73 of file sdxmlexp_impl.hxx.

Constructor & Destructor Documentation

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

Definition at line 373 of file sdxmlexp.cxx.

References CM, and util.

SdXMLExport::~SdXMLExport ( )
overridevirtual

Member Function Documentation

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

Reimplemented from SvXMLExport.

Definition at line 2394 of file sdxmlexp.cxx.

References maUsedDateStyles, and maUsedTimeStyles.

Referenced by ImpPrepDrawPageHeaderFooterDecls().

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

Definition at line 2472 of file sdxmlexp.cxx.

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

Referenced by collectAutoStyles().

void SdXMLExport::collectAutoStyles ( )
overridevirtual
XMLFontAutoStylePool * SdXMLExport::CreateFontAutoStylePool ( )
overrideprotectedvirtual
void SdXMLExport::exportAnnotations ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private
void SdXMLExport::exportAutoDataStyles ( )
overridevirtual
void SdXMLExport::ExportAutoStyles_ ( )
overrideprivatevirtual
void SdXMLExport::ExportContent_ ( )
overrideprivatevirtual
void SdXMLExport::exportDataStyles ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 2410 of file sdxmlexp.cxx.

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 1621 of file sdxmlexp.cxx.

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

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

Definition at line 2334 of file sdxmlexp.cxx.

References SvXMLExport::GetFormExport().

Referenced by ExportContent_(), and ExportMasterStyles_().

void SdXMLExport::ExportMasterStyles_ ( )
overrideprivatevirtual
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 1604 of file sdxmlexp.cxx.

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

void SdXMLExport::exportPresentationSettings ( )
private
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 1986 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().

void SdXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual
OUString SdXMLExport::getDataStyleName ( const sal_Int32  nNumberFormat,
bool  bTimeFormat = false 
) const
overridevirtual
OUString SdXMLExport::getNavigationOrder ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private

Definition at line 2439 of file sdxmlexp.cxx.

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

Referenced by ExportContent_().

XMLPageExportPropertyMapper* SdXMLExport::GetPresPagePropsMapper ( ) const
inline

Definition at line 168 of file sdxmlexp_impl.hxx.

Referenced by ImpCreatePresPageStyleName(), and setSourceDocument().

XMLShapeExportPropertyMapper* SdXMLExport::GetPropertySetMapper ( ) const
inline
void SdXMLExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 2353 of file sdxmlexp.cxx.

References SvXMLExport::GetModel().

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

Definition at line 1137 of file sdxmlexp.cxx.

References a, and mvPageMasterInfoList.

Referenced by ImpPrepPageMasterInfos().

ImpXMLEXPPageMasterInfo * SdXMLExport::ImpGetPageMasterInfoByName ( const OUString &  rName)
private

Definition at line 1274 of file sdxmlexp.cxx.

References mvPageMasterInfoList.

Referenced by ImpPrepAutoLayoutInfo().

void SdXMLExport::ImplExportHeaderFooterDeclAttributes ( const HeaderFooterPageSettingsImpl aSettings)
private
bool SdXMLExport::ImpPrepAutoLayoutInfo ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage,
OUString &  rName 
)
private
void SdXMLExport::ImpPrepAutoLayoutInfos ( )
private
HeaderFooterPageSettingsImpl SdXMLExport::ImpPrepDrawPageHeaderFooterDecls ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage)
private
void SdXMLExport::ImpPrepDrawPageInfos ( )
private
void SdXMLExport::ImpPrepMasterPageInfos ( )
private
void SdXMLExport::ImpPrepPageMasterInfos ( )
private
sal_uInt32 SdXMLExport::ImpRecursiveObjectCount ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)
private

Definition at line 569 of file sdxmlexp.cxx.

References a, Any, and nCount.

Referenced by setSourceDocument().

void SdXMLExport::ImpWriteAutoLayoutInfos ( )
private

Definition at line 705 of file sdxmlexp.cxx.

References a, SvXMLExport::AddAttribute(), 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(), ImpWriteAutoLayoutPlaceholder(), tools::Rectangle::Left(), mvAutoLayoutInfoList, Point, tools::Rectangle::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetTop(), tools::Rectangle::setWidth(), tools::Rectangle::Top(), 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_().

void SdXMLExport::ImpWriteAutoLayoutPlaceholder ( XmlPlaceholder  ePl,
const tools::Rectangle rRect 
)
private
void SdXMLExport::ImpWriteHeaderFooterDecls ( )
private
void SdXMLExport::ImpWritePageMasterInfos ( )
private
void SdXMLExport::ImpWritePresentationStyles ( )
private
bool SdXMLExport::IsDraw ( ) const
inline

Definition at line 170 of file sdxmlexp_impl.hxx.

References mbIsDraw.

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

Reimplemented from SvXMLExport.

Definition at line 389 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, xmloff::token::XML_N_SMIL_COMPAT, 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

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

Definition at line 96 of file sdxmlexp_impl.hxx.

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

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

Definition at line 92 of file sdxmlexp_impl.hxx.

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

css::uno::Sequence< OUString > SdXMLExport::maDrawPagesAutoLayoutNames
private
::std::vector< HeaderFooterPageSettingsImpl > SdXMLExport::maDrawPagesHeaderFooterSettings
private

Definition at line 95 of file sdxmlexp_impl.hxx.

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

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

Definition at line 91 of file sdxmlexp_impl.hxx.

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

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

Definition at line 94 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().

HeaderFooterPageSettingsImpl SdXMLExport::maHandoutPageHeaderFooterSettings
private

Definition at line 102 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepMasterPageInfos().

::std::vector< OUString > SdXMLExport::maHeaderDeclsVector
private
::std::vector< OUString > SdXMLExport::maMasterPagesStyleNames
private
SdXMLFormatMap SdXMLExport::maUsedDateStyles
private

Definition at line 108 of file sdxmlexp_impl.hxx.

Referenced by addDataStyle(), and exportAutoDataStyles().

SdXMLFormatMap SdXMLExport::maUsedTimeStyles
private

Definition at line 109 of file sdxmlexp_impl.hxx.

Referenced by addDataStyle(), and exportAutoDataStyles().

bool SdXMLExport::mbIsDraw
private

Definition at line 111 of file sdxmlexp_impl.hxx.

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

sal_Int32 SdXMLExport::mnDocDrawPageCount
private
sal_Int32 SdXMLExport::mnDocMasterPageCount
private
sal_uInt32 SdXMLExport::mnObjectCount
private

Definition at line 80 of file sdxmlexp_impl.hxx.

Referenced by ExportMeta_(), and setSourceDocument().

ImpXMLEXPPageMasterInfo* SdXMLExport::mpHandoutPageMaster
private

Definition at line 86 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

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

Definition at line 106 of file sdxmlexp_impl.hxx.

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

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

Definition at line 105 of file sdxmlexp_impl.hxx.

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

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

Definition at line 104 of file sdxmlexp_impl.hxx.

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

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

Definition at line 87 of file sdxmlexp_impl.hxx.

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

ImpXMLEXPPageMasterList SdXMLExport::mvNotesPageMasterUsageList
private

Definition at line 85 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

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

Definition at line 84 of file sdxmlexp_impl.hxx.

Referenced by ExportMasterStyles_(), and ImpPrepPageMasterInfos().

css::uno::Reference< css::container::XIndexAccess > SdXMLExport::mxDocDrawPages
private
css::uno::Reference< css::container::XIndexAccess > SdXMLExport::mxDocMasterPages
private
css::uno::Reference< css::container::XNameAccess > SdXMLExport::mxDocStyleFamilies
private

Definition at line 75 of file sdxmlexp_impl.hxx.

Referenced by ImpWritePresentationStyles(), and setSourceDocument().


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