LibreOffice Module sd (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
oox::core::PowerPointExport Class Referencefinal

#include <epptooxml.hxx>

Inheritance diagram for oox::core::PowerPointExport:
[legend]
Collaboration diagram for oox::core::PowerPointExport:
[legend]

Classes

struct  AuthorComments
 

Public Member Functions

 PowerPointExport (const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Sequence< css::uno::Any > &rArguments)
 
virtual ~PowerPointExport () override
 
virtual bool importDocument () noexcept override
 
virtual bool exportDocument () override
 
virtual oox::vml::DrawinggetVmlDrawing () override
 
virtual const oox::drawingml::ThemegetCurrentTheme () const override
 
virtual oox::drawingml::table::TableStyleListPtr getTableStyles () override
 
virtual oox::drawingml::chart::ChartConvertergetChartConverter () override
 
sal_Int32 GetShapeID (const css::uno::Reference< css::drawing::XShape > &rXShape)
 
sal_Int32 GetNextAnimationNodeID ()
 
void embedEffectAudio (const FSHelperPtr &pFS, const OUString &sUrl, OUString &sRelId, OUString &sName)
 
- Public Member Functions inherited from oox::core::XmlFilterBase
 XmlFilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~XmlFilterBase () override
 
virtual const ::oox::drawingml::ThemegetCurrentTheme () const=0
 
virtual std::shared_ptr<::oox::drawingml::ThemegetCurrentThemePtr () const
 
virtual ::oox::vml::DrawinggetVmlDrawing ()=0
 
virtual ::oox::drawingml::chart::ChartConvertergetChartConverter ()=0
 
virtual void useInternalChartDataTable (bool)
 
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles ()=0
 
OUString getFragmentPathFromFirstTypeFromOfficeDoc (std::u16string_view rPart)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler, FastParser &rParser)
 
css::uno::Reference< css::xml::dom::XDocument > importFragment (const OUString &rFragmentPath)
 
bool importFragment (const ::rtl::Reference< FragmentHandler > &rxHandler, const css::uno::Reference< css::xml::sax::XFastSAXSerializable > &rxSerializer)
 
RelationsRef importRelations (const OUString &rFragmentPath)
 
OUString addRelation (const OUString &rType, std::u16string_view rTarget)
 
OUString addRelation (const css::uno::Reference< css::io::XOutputStream > &rOutputStream, const OUString &rType, std::u16string_view rTarget, bool bExternal=false)
 
css::uno::Reference< css::io::XOutputStream > openFragmentStream (const OUString &rStreamName, const OUString &rMediaType)
 
::sax_fastparser::FSHelperPtr openFragmentStreamWithSerializer (const OUString &rStreamName, const OUString &rMediaType)
 
sal_Int32 GetUniqueId ()
 
sal_Int32 GetMaxDocId ()
 
void SetMaxDocId (sal_Int32 maxDocId)
 
void exportDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xProperties, bool bSecurityOptOpenReadOnly)
 
void exportCustomFragments ()
 
void importDocumentProperties ()
 
bool isMSO2007Document () const
 
bool isMSODocument () const
 
void setMissingExtDrawing ()
 
void setDiagramFontHeights (NamedShapePairs *pDiagramFontHeights)
 
NamedShapePairsgetDiagramFontHeights ()
 
void checkDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xDocProps)
 
OUString getNamespaceURL (sal_Int32 nNSID) const
 
- Public Member Functions inherited from oox::core::FilterBase
 FilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~FilterBase () override
 
bool isImportFilter () const
 
bool isExportFilter () const
 
OoxmlVersion getVersion () const
 
virtual bool importDocument ()=0
 
virtual bool exportDocument ()=0
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
const css::uno::Reference< css::frame::XModel > & getModel () const
 
const css::uno::Reference< css::lang::XMultiServiceFactory > & getModelFactory () const
 
const css::uno::Reference< css::frame::XFrame > & getTargetFrame () const
 
const css::uno::Reference< css::task::XStatusIndicator > & getStatusIndicator () const
 
::comphelper::SequenceAsHashMapgetFilterData () const
 
utl::MediaDescriptorgetMediaDescriptor () const
 
const OUString & getFileUrl () const
 
OUString getAbsoluteUrl (const OUString &rUrl) const
 
StorageRef const & getStorage () const
 
css::uno::Reference< css::io::XInputStream > openInputStream (const OUString &rStreamName) const
 
css::uno::Reference< css::io::XOutputStream > openOutputStream (const OUString &rStreamName) const
 
void commitStorage () const
 
GraphicHelpergetGraphicHelper () const
 
ModelObjectHelpergetModelObjectHelper () const
 
ModelObjectHelpergetModelObjectHelperForModel (const css::uno::Reference< css::lang::XMultiServiceFactory > &xFactory) const
 
::oox::ole::OleObjectHelpergetOleObjectHelper () const
 
::oox::ole::VbaProjectgetVbaProject () const
 
bool importBinaryData (StreamDataSequence &orDataSeq, const OUString &rStreamName)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &rMediaDescSeq) override
 
virtual void SAL_CALL cancel () override
 
bool exportVBA () const
 
bool isExportTemplate () const
 
- Public Member Functions inherited from PPTWriterBase
 PPTWriterBase ()
 
 PPTWriterBase (const css::uno::Reference< css::frame::XModel > &rModel, const css::uno::Reference< css::task::XStatusIndicator > &rStatInd)
 
virtual ~PPTWriterBase ()
 
void exportPPT (const std::vector< css::beans::PropertyValue > &)
 
bool InitSOIface ()
 
bool GetPageByIndex (sal_uInt32 nIndex, PageType)
 
sal_uInt32 GetMasterIndex (PageType ePageType)
 
void SetCurrentStyleSheet (sal_uInt32 nPageNum)
 
bool GetPresObj () const
 
bool CreateSlide (sal_uInt32 nPageNum)
 
bool CreateSlideMaster (sal_uInt32 nPageNum)
 
bool CreateNotes (sal_uInt32 nPageNum)
 
- Public Member Functions inherited from PropValue
 PropValue ()
 
- Public Member Functions inherited from GroupTable
sal_uInt32 GetCurrentGroupIndex () const
 
sal_Int32 GetCurrentGroupLevel () const
 
const css::uno::Reference< css::container::XIndexAccess > & GetCurrentGroupAccess () const
 
sal_uInt32 GetGroupsClosed ()
 
void ResetGroupTable (sal_uInt32 nCount)
 
void ClearGroupTable ()
 
bool EnterGroup (css::uno::Reference< css::container::XIndexAccess > const &rIndex)
 
bool GetNextGroupEntry ()
 
 GroupTable ()
 
 ~GroupTable ()
 

Static Public Member Functions

static const char * GetSideDirection (sal_uInt8 nDirection)
 
static const char * GetCornerDirection (sal_uInt8 nDirection)
 
static const char * Get8Direction (sal_uInt8 nDirection)
 
static int GetPPTXLayoutId (int nOffset)
 
- Static Public Member Functions inherited from oox::core::XmlFilterBase
static void putPropertiesToDocumentGrabBag (const css::uno::Reference< css::lang::XComponent > &xDstDoc, const comphelper::SequenceAsHashMap &rProperties)
 
static FastParsercreateParser ()
 
- Static Public Member Functions inherited from PPTWriterBase
static PHLayout const & GetLayout (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
static PHLayout const & GetLayout (sal_Int32 nOffset)
 
static sal_Int32 GetLayoutOffset (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
static sal_Int32 GetLayoutOffsetFixed (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet)
 
static sal_Int8 GetTransition (sal_Int16 nTransitionType, sal_Int16 nTransitionSubtype, css::presentation::FadeEffect eEffect, sal_Int32 nTransitionFadeColor, sal_uInt8 &nDirection)
 
static sal_Int8 GetTransition (css::presentation::FadeEffect eEffect, sal_uInt8 &nDirection)
 
- Static Public Member Functions inherited from PropValue
static bool GetPropertyValue (css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName, bool bTestPropertyAvailability=false)
 
static css::beans::PropertyState GetPropertyState (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName)
 

Private Types

typedef std::unordered_map< OUString, struct AuthorCommentsAuthorsMap
 

Private Member Functions

virtual void ImplWriteSlide (sal_uInt32 nPageNum, sal_uInt32 nMasterNum, sal_uInt16 nMode, bool bHasBackground, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
 
virtual void ImplWriteNotes (sal_uInt32 nPageNum) override
 
virtual void ImplWriteSlideMaster (sal_uInt32 nPageNum, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
 
void ImplWritePPTXLayout (sal_Int32 nOffset, sal_uInt32 nMasterNum)
 
void WriteTheme (sal_Int32 nThemeNum, model::Theme *pTheme)
 
virtual bool ImplCreateDocument () override
 
virtual bool ImplCreateMainNotes () override
 
virtual ::oox::ole::VbaProjectimplCreateVbaProject () const override
 
void WriteNotesMaster ()
 
bool WriteComments (sal_uInt32 nPageNum)
 
void ImplWriteBackground (const ::sax_fastparser::FSHelperPtr &pFS, const css::uno::Reference< css::beans::XPropertySet > &aXBackgroundPropSet)
 
void WriteTransition (const ::sax_fastparser::FSHelperPtr &pFS)
 
sal_Int32 GetLayoutFileId (sal_Int32 nOffset, sal_uInt32 nMasterNum)
 
void WriteShapeTree (const ::sax_fastparser::FSHelperPtr &pFS, PageType ePageType, bool bMaster)
 
sal_uInt32 GetNewSlideId ()
 
sal_uInt32 GetNewSlideMasterId ()
 
sal_Int32 GetAuthorIdAndLastIndex (const OUString &sAuthor, sal_Int32 &nLastIndex)
 
void writeDocumentProperties ()
 
void WriteCustomSlideShow ()
 
void AddLayoutIdAndRelation (const ::sax_fastparser::FSHelperPtr &pFS, sal_Int32 nLayoutFileId)
 
virtual OUString SAL_CALL getImplementationName () override
 
sal_Int32 CreateNewPlaceholderIndex (const css::uno::Reference< css::drawing::XShape > &rXShape)
 Create a new placeholder index for a master placeholder shape. More...
 
css::uno::Reference< css::drawing::XShape > GetReferencedPlaceholderXShape (const PlaceholderType eType, PageType ePageType) const
 
void WritePlaceholderReferenceShapes (PowerPointShapeExport &rDML, PageType ePageType)
 
void WriteAuthors ()
 
void WritePresentationProps ()
 
void WriteVBA ()
 If this is PPTM, output the VBA stream. More...
 
void WriteModifyVerifier ()
 

Static Private Member Functions

static void WriteDefaultColorSchemes (const FSHelperPtr &pFS)
 
static void WriteDiagram (const FSHelperPtr &pFS, PowerPointShapeExport &rDML, const css::uno::Reference< css::drawing::XShape > &rXShape, int nDiagramId)
 

Private Attributes

bool mbPptm
 Should we export as .pptm, ie. do we contain macros? More...
 
bool mbExportTemplate
 
::sax_fastparser::FSHelperPtr mPresentationFS
 
LayoutInfo mLayoutInfo [EPP_LAYOUT_SIZE]
 
std::vector< ::sax_fastparser::FSHelperPtrmpSlidesFSArray
 
sal_Int32 mnLayoutFileIdMax
 
sal_uInt32 mnSlideIdMax
 
sal_uInt32 mnSlideMasterIdMax
 
sal_uInt32 mnAnimationNodeIdMax
 
sal_uInt32 mnDiagramId
 
std::vector< OUString > maRelId
 
bool mbCreateNotes
 
::oox::drawingml::ShapeExport::ShapeHashMap maShapeMap
 
sal_Int32 mnPlaceholderIndexMax
 Last used placeholder index. More...
 
std::unordered_map< css::uno::Reference< css::drawing::XShape >, sal_Int32 > maPlaceholderShapeToIndexMap
 Map of placeholder indexes for Master placeholders. More...
 
AuthorsMap maAuthors
 

Friends

class PowerPointShapeExport
 

Additional Inherited Members

- Protected Member Functions inherited from oox::core::XmlFilterBase
virtual css::uno::Reference< css::io::XInputStream > implGetInputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual css::uno::Reference< css::io::XStream > implGetOutputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual bool implFinalizeExport (utl::MediaDescriptor &rMediaDescriptor) override
 
- Protected Member Functions inherited from oox::core::FilterBase
virtual css::uno::Reference< css::io::XInputStream > implGetInputStream (utl::MediaDescriptor &rMediaDesc) const
 
virtual css::uno::Reference< css::io::XStream > implGetOutputStream (utl::MediaDescriptor &rMediaDesc) const
 
virtual bool implFinalizeExport (utl::MediaDescriptor &rMediaDescriptor)
 
css::uno::Reference< css::io::XStream > const & getMainDocumentStream () const
 
- Protected Member Functions inherited from PPTWriterBase
virtual void ImplWriteSlide (sal_uInt32, sal_uInt32, sal_uInt16, bool, css::uno::Reference< css::beans::XPropertySet > const &)
 
virtual void ImplWriteNotes (sal_uInt32 nPageNum)=0
 
virtual void ImplWriteSlideMaster (sal_uInt32, css::uno::Reference< css::beans::XPropertySet > const &)
 
virtual void exportPPTPre (const std::vector< css::beans::PropertyValue > &)
 
virtual void exportPPTPost ()
 
virtual bool ImplCreateDocument ()=0
 
virtual bool ImplCreateMainNotes ()=0
 
bool GetStyleSheets ()
 
bool GetShapeByIndex (sal_uInt32 nIndex, bool bGroup)
 
bool CreateMainNotes ()
 
css::awt::Size MapSize (const css::awt::Size &)
 
css::awt::Point MapPoint (const css::awt::Point &)
 
::tools::Rectangle MapRectangle (const css::awt::Rectangle &)
 
bool ContainsOtherShapeThanPlaceholders ()
 
- Protected Member Functions inherited from PropValue
bool ImplGetPropertyValue (const OUString &rString)
 
bool ImplGetPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &)
 
- Protected Attributes inherited from oox::core::XmlFilterBase
bool mbMissingExtDrawing
 
- Protected Attributes inherited from PPTWriterBase
css::uno::Reference< css::frame::XModel > mXModel
 
css::uno::Reference< css::task::XStatusIndicator > mXStatusIndicator
 
bool mbStatusIndicator
 
css::uno::Reference< css::drawing::XDrawPagesSupplier > mXDrawPagesSupplier
 
css::uno::Reference< css::drawing::XMasterPagesSupplier > mXMasterPagesSupplier
 
css::uno::Reference< css::drawing::XDrawPages > mXDrawPages
 
css::uno::Reference< css::drawing::XDrawPage > mXDrawPage
 
css::uno::Reference< css::beans::XPropertySetmXPagePropSet
 
css::uno::Reference< css::beans::XPropertySetmXBackgroundPropSet
 
css::uno::Reference< css::drawing::XShapes > mXShapes
 
css::uno::Reference< css::drawing::XShape > mXShape
 
css::awt::Size maSize
 
css::awt::Point maPosition
 
::tools::Rectangle maRect
 
OString mType
 
bool mbPresObj
 
bool mbEmptyPresObj
 
bool mbIsBackgroundDark
 
sal_Int32 mnAngle
 
sal_uInt32 mnPages
 number of Slides ( w/o master pages & notes & handout ) More...
 
sal_uInt32 mnMasterPages
 
Fraction maFraction
 
MapMode maMapModeSrc
 
MapMode maMapModeDest
 
css::awt::Size maDestPageSize
 
css::awt::Size maPageSize
 
css::awt::Size maNotesPageSize
 
PageType meLatestPageType
 
std::vector< std::unique_ptr< PPTExStyleSheet > > maStyleSheetList
 
PPTExStyleSheetmpStyleSheet
 
FontCollection maFontCollection
 
- Protected Attributes inherited from PropValue
css::uno::Any mAny
 
css::uno::Reference< css::beans::XPropertySetmXPropSet
 

Detailed Description

Definition at line 57 of file epptooxml.hxx.

Member Typedef Documentation

◆ AuthorsMap

typedef std::unordered_map< OUString, struct AuthorComments > oox::core::PowerPointExport::AuthorsMap
private

Definition at line 166 of file epptooxml.hxx.

Constructor & Destructor Documentation

◆ PowerPointExport()

PowerPointExport::PowerPointExport ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
const css::uno::Sequence< css::uno::Any > &  rArguments 
)

◆ ~PowerPointExport()

PowerPointExport::~PowerPointExport ( )
overridevirtual

Definition at line 400 of file pptx-epptooxml.cxx.

Member Function Documentation

◆ AddLayoutIdAndRelation()

void PowerPointExport::AddLayoutIdAndRelation ( const ::sax_fastparser::FSHelperPtr pFS,
sal_Int32  nLayoutFileId 
)
private

◆ CreateNewPlaceholderIndex()

sal_Int32 PowerPointExport::CreateNewPlaceholderIndex ( const css::uno::Reference< css::drawing::XShape > &  rXShape)
private

Create a new placeholder index for a master placeholder shape.

Parameters
rXShapeMaster placeholder shape
Returns
Placeholder index

Definition at line 2225 of file pptx-epptooxml.cxx.

References maPlaceholderShapeToIndexMap, and mnPlaceholderIndexMax.

◆ embedEffectAudio()

void PowerPointExport::embedEffectAudio ( const FSHelperPtr pFS,
const OUString &  sUrl,
OUString &  sRelId,
OUString &  sName 
)

◆ exportDocument()

bool PowerPointExport::exportDocument ( )
overridevirtual

◆ Get8Direction()

const char * PowerPointExport::Get8Direction ( sal_uInt8  nDirection)
static

Definition at line 676 of file pptx-epptooxml.cxx.

References GetCornerDirection(), and GetSideDirection().

Referenced by WriteTransition().

◆ GetAuthorIdAndLastIndex()

sal_Int32 PowerPointExport::GetAuthorIdAndLastIndex ( const OUString &  sAuthor,
sal_Int32 &  nLastIndex 
)
private

◆ getChartConverter()

virtual oox::drawingml::chart::ChartConverter * oox::core::PowerPointExport::getChartConverter ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 74 of file epptooxml.hxx.

◆ GetCornerDirection()

const char * PowerPointExport::GetCornerDirection ( sal_uInt8  nDirection)
static

Definition at line 653 of file pptx-epptooxml.cxx.

Referenced by Get8Direction(), and WriteTransition().

◆ getCurrentTheme()

virtual const oox::drawingml::Theme * oox::core::PowerPointExport::getCurrentTheme ( ) const
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 72 of file epptooxml.hxx.

◆ getImplementationName()

OUString PowerPointExport::getImplementationName ( )
overrideprivatevirtual

Definition at line 2169 of file pptx-epptooxml.cxx.

◆ GetLayoutFileId()

sal_Int32 PowerPointExport::GetLayoutFileId ( sal_Int32  nOffset,
sal_uInt32  nMasterNum 
)
private

◆ GetNewSlideId()

sal_uInt32 oox::core::PowerPointExport::GetNewSlideId ( )
inlineprivate

Definition at line 110 of file epptooxml.hxx.

References mnSlideIdMax.

Referenced by ImplWriteSlide().

◆ GetNewSlideMasterId()

sal_uInt32 oox::core::PowerPointExport::GetNewSlideMasterId ( )
inlineprivate

Definition at line 111 of file epptooxml.hxx.

References mnSlideMasterIdMax.

Referenced by AddLayoutIdAndRelation(), and ImplWriteSlideMaster().

◆ GetNextAnimationNodeID()

sal_Int32 PowerPointExport::GetNextAnimationNodeID ( )

Definition at line 2156 of file pptx-epptooxml.cxx.

References mnAnimationNodeIdMax.

◆ GetPPTXLayoutId()

int PowerPointExport::GetPPTXLayoutId ( int  nOffset)
static

Definition at line 232 of file pptx-epptooxml.cxx.

References nId, and SAL_INFO.

Referenced by ImplWriteSlide().

◆ GetReferencedPlaceholderXShape()

Reference< XShape > PowerPointExport::GetReferencedPlaceholderXShape ( const PlaceholderType  eType,
PageType  ePageType 
) const
private

◆ GetShapeID()

sal_Int32 PowerPointExport::GetShapeID ( const css::uno::Reference< css::drawing::XShape > &  rXShape)

Definition at line 2151 of file pptx-epptooxml.cxx.

References maShapeMap.

◆ GetSideDirection()

const char * PowerPointExport::GetSideDirection ( sal_uInt8  nDirection)
static

Definition at line 630 of file pptx-epptooxml.cxx.

Referenced by Get8Direction(), and WriteTransition().

◆ getTableStyles()

virtual oox::drawingml::table::TableStyleListPtr oox::core::PowerPointExport::getTableStyles ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 73 of file epptooxml.hxx.

◆ getVmlDrawing()

virtual oox::vml::Drawing * oox::core::PowerPointExport::getVmlDrawing ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 71 of file epptooxml.hxx.

◆ ImplCreateDocument()

bool PowerPointExport::ImplCreateDocument ( )
overrideprivatevirtual

◆ ImplCreateMainNotes()

bool PowerPointExport::ImplCreateMainNotes ( )
overrideprivatevirtual

Implements PPTWriterBase.

Definition at line 2161 of file pptx-epptooxml.cxx.

References mbCreateNotes, and WriteNotesMaster().

◆ implCreateVbaProject()

oox::ole::VbaProject * PowerPointExport::implCreateVbaProject ( ) const
overrideprivatevirtual

◆ ImplWriteBackground()

void PowerPointExport::ImplWriteBackground ( const ::sax_fastparser::FSHelperPtr pFS,
const css::uno::Reference< css::beans::XPropertySet > &  aXBackgroundPropSet 
)
private

◆ ImplWriteNotes()

void PowerPointExport::ImplWriteNotes ( sal_uInt32  nPageNum)
overrideprivatevirtual

◆ ImplWritePPTXLayout()

void PowerPointExport::ImplWritePPTXLayout ( sal_Int32  nOffset,
sal_uInt32  nMasterNum 
)
private

◆ ImplWriteSlide()

void PowerPointExport::ImplWriteSlide ( sal_uInt32  nPageNum,
sal_uInt32  nMasterNum,
sal_uInt16  nMode,
bool  bHasBackground,
css::uno::Reference< css::beans::XPropertySet > const &  aXBackgroundPropSet 
)
overrideprivatevirtual

◆ ImplWriteSlideMaster()

void PowerPointExport::ImplWriteSlideMaster ( sal_uInt32  nPageNum,
css::uno::Reference< css::beans::XPropertySet > const &  aXBackgroundPropSet 
)
overrideprivatevirtual

◆ importDocument()

bool PowerPointExport::importDocument ( )
overridevirtualnoexcept

Implements oox::core::FilterBase.

Definition at line 427 of file pptx-epptooxml.cxx.

◆ WriteAuthors()

void PowerPointExport::WriteAuthors ( )
private

◆ WriteComments()

bool PowerPointExport::WriteComments ( sal_uInt32  nPageNum)
private

◆ WriteCustomSlideShow()

void PowerPointExport::WriteCustomSlideShow ( )
private

◆ WriteDefaultColorSchemes()

void PowerPointExport::WriteDefaultColorSchemes ( const FSHelperPtr pFS)
staticprivate

Definition at line 1947 of file pptx-epptooxml.cxx.

References Count, getPredefinedClrNames(), I32SHEX(), nId, and sName.

◆ WriteDiagram()

void PowerPointExport::WriteDiagram ( const FSHelperPtr pFS,
PowerPointShapeExport rDML,
const css::uno::Reference< css::drawing::XShape > &  rXShape,
int  nDiagramId 
)
staticprivate

Definition at line 2174 of file pptx-epptooxml.cxx.

References SAL_INFO, and oox::drawingml::DrawingML::WriteDiagram().

Referenced by WriteShapeTree().

◆ writeDocumentProperties()

void PowerPointExport::writeDocumentProperties ( )
private

◆ WriteModifyVerifier()

void PowerPointExport::WriteModifyVerifier ( )
private

Definition at line 1286 of file pptx-epptooxml.cxx.

References Exception, mPresentationFS, PPTWriterBase::mXModel, nCount, sHash, and xFactory.

Referenced by exportDocument().

◆ WriteNotesMaster()

void PowerPointExport::WriteNotesMaster ( )
private

◆ WritePlaceholderReferenceShapes()

void PowerPointExport::WritePlaceholderReferenceShapes ( PowerPointShapeExport rDML,
PageType  ePageType 
)
private

◆ WritePresentationProps()

void PowerPointExport::WritePresentationProps ( )
private

◆ WriteShapeTree()

void PowerPointExport::WriteShapeTree ( const ::sax_fastparser::FSHelperPtr pFS,
PageType  ePageType,
bool  bMaster 
)
private

◆ WriteTheme()

void PowerPointExport::WriteTheme ( sal_Int32  nThemeNum,
model::Theme pTheme 
)
private

Definition at line 1998 of file pptx-epptooxml.cxx.

References DOCUMENT_PPTX, and oox::ThemeExport::write().

Referenced by ImplWriteSlideMaster(), and WriteNotesMaster().

◆ WriteTransition()

void PowerPointExport::WriteTransition ( const ::sax_fastparser::FSHelperPtr pFS)
private

◆ WriteVBA()

void PowerPointExport::WriteVBA ( )
private

Friends And Related Function Documentation

◆ PowerPointShapeExport

friend class PowerPointShapeExport
friend

Definition at line 59 of file epptooxml.hxx.

Member Data Documentation

◆ maAuthors

AuthorsMap oox::core::PowerPointExport::maAuthors
private

Definition at line 167 of file epptooxml.hxx.

Referenced by exportDocument(), GetAuthorIdAndLastIndex(), and WriteAuthors().

◆ maPlaceholderShapeToIndexMap

std::unordered_map< css::uno::Reference<css::drawing::XShape>, sal_Int32 > oox::core::PowerPointExport::maPlaceholderShapeToIndexMap
private

Map of placeholder indexes for Master placeholders.

Definition at line 160 of file epptooxml.hxx.

Referenced by CreateNewPlaceholderIndex(), and WritePlaceholderReferenceShapes().

◆ maRelId

std::vector<OUString> oox::core::PowerPointExport::maRelId
private

Definition at line 152 of file epptooxml.hxx.

Referenced by exportDocument(), ImplWriteSlide(), and WriteCustomSlideShow().

◆ maShapeMap

::oox::drawingml::ShapeExport::ShapeHashMap oox::core::PowerPointExport::maShapeMap
private

Definition at line 156 of file epptooxml.hxx.

Referenced by exportDocument(), GetShapeID(), ImplWriteBackground(), and WriteShapeTree().

◆ mbCreateNotes

bool oox::core::PowerPointExport::mbCreateNotes
private

Definition at line 154 of file epptooxml.hxx.

Referenced by ImplCreateDocument(), ImplCreateMainNotes(), and ImplWriteNotes().

◆ mbExportTemplate

bool oox::core::PowerPointExport::mbExportTemplate
private

Definition at line 138 of file epptooxml.hxx.

Referenced by exportDocument(), and PowerPointExport().

◆ mbPptm

bool oox::core::PowerPointExport::mbPptm
private

Should we export as .pptm, ie. do we contain macros?

Definition at line 135 of file epptooxml.hxx.

Referenced by exportDocument(), PowerPointExport(), and WriteVBA().

◆ mLayoutInfo

LayoutInfo oox::core::PowerPointExport::mLayoutInfo[EPP_LAYOUT_SIZE]
private

Definition at line 142 of file epptooxml.hxx.

Referenced by GetLayoutFileId(), and ImplWritePPTXLayout().

◆ mnAnimationNodeIdMax

sal_uInt32 oox::core::PowerPointExport::mnAnimationNodeIdMax
private

Definition at line 148 of file epptooxml.hxx.

Referenced by GetNextAnimationNodeID().

◆ mnDiagramId

sal_uInt32 oox::core::PowerPointExport::mnDiagramId
private

Definition at line 150 of file epptooxml.hxx.

Referenced by WriteShapeTree().

◆ mnLayoutFileIdMax

sal_Int32 oox::core::PowerPointExport::mnLayoutFileIdMax
private

Definition at line 144 of file epptooxml.hxx.

Referenced by ImplWritePPTXLayout().

◆ mnPlaceholderIndexMax

sal_Int32 oox::core::PowerPointExport::mnPlaceholderIndexMax
private

Last used placeholder index.

Definition at line 158 of file epptooxml.hxx.

Referenced by CreateNewPlaceholderIndex().

◆ mnSlideIdMax

sal_uInt32 oox::core::PowerPointExport::mnSlideIdMax
private

Definition at line 146 of file epptooxml.hxx.

Referenced by GetNewSlideId().

◆ mnSlideMasterIdMax

sal_uInt32 oox::core::PowerPointExport::mnSlideMasterIdMax
private

Definition at line 147 of file epptooxml.hxx.

Referenced by GetNewSlideMasterId().

◆ mPresentationFS

::sax_fastparser::FSHelperPtr oox::core::PowerPointExport::mPresentationFS
private

◆ mpSlidesFSArray

std::vector< ::sax_fastparser::FSHelperPtr > oox::core::PowerPointExport::mpSlidesFSArray
private

Definition at line 143 of file epptooxml.hxx.

Referenced by exportDocument(), ImplWriteNotes(), and ImplWriteSlide().


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