27using ::sax_fastparser::FSHelperPtr;
55class PowerPointShapeExport;
62 PowerPointExport(
const css::uno::Reference<css::uno::XComponentContext> & rContext,
const css::uno::Sequence<css::uno::Any>& rArguments);
81 sal_Int32
GetShapeID(
const css::uno::Reference<css::drawing::XShape>& rXShape);
88 virtual void ImplWriteSlide( sal_uInt32 nPageNum, sal_uInt32 nMasterNum, sal_uInt16 nMode,
89 bool bHasBackground, css::uno::Reference< css::beans::XPropertySet >
const & aXBackgroundPropSet )
override;
91 virtual void ImplWriteSlideMaster( sal_uInt32 nPageNum, css::uno::Reference< css::beans::XPropertySet >
const & aXBackgroundPropSet )
override;
102 void ImplWriteBackground( const ::sax_fastparser::FSHelperPtr& pFS,
const css::uno::Reference< css::beans::XPropertySet >& aXBackgroundPropSet );
166 typedef std::unordered_map< OUString, struct AuthorComments >
AuthorsMap;
virtual bool importDocument() noexcept override
static int GetPPTXLayoutId(int nOffset)
virtual ::oox::ole::VbaProject * implCreateVbaProject() const override
virtual bool ImplCreateDocument() override
sal_Int32 GetAuthorIdAndLastIndex(const OUString &sAuthor, sal_Int32 &nLastIndex)
virtual oox::drawingml::table::TableStyleListPtr getTableStyles() override
virtual const oox::drawingml::Theme * getCurrentTheme() const override
sal_Int32 mnLayoutFileIdMax
sal_uInt32 mnAnimationNodeIdMax
void writeDocumentProperties()
LayoutInfo mLayoutInfo[EPP_LAYOUT_SIZE]
::sax_fastparser::FSHelperPtr mPresentationFS
std::unordered_map< css::uno::Reference< css::drawing::XShape >, sal_Int32 > maPlaceholderShapeToIndexMap
Map of placeholder indexes for Master placeholders.
virtual void ImplWriteNotes(sal_uInt32 nPageNum) override
static const char * Get8Direction(sal_uInt8 nDirection)
sal_Int32 GetShapeID(const css::uno::Reference< css::drawing::XShape > &rXShape)
void WriteShapeTree(const ::sax_fastparser::FSHelperPtr &pFS, PageType ePageType, bool bMaster)
virtual bool ImplCreateMainNotes() override
std::unordered_map< OUString, struct AuthorComments > AuthorsMap
static const char * GetSideDirection(sal_uInt8 nDirection)
void embedEffectAudio(const FSHelperPtr &pFS, const OUString &sUrl, OUString &sRelId, OUString &sName)
virtual void ImplWriteSlide(sal_uInt32 nPageNum, sal_uInt32 nMasterNum, sal_uInt16 nMode, bool bHasBackground, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
sal_Int32 GetLayoutFileId(sal_Int32 nOffset, sal_uInt32 nMasterNum)
static void WriteDiagram(const FSHelperPtr &pFS, PowerPointShapeExport &rDML, const css::uno::Reference< css::drawing::XShape > &rXShape, int nDiagramId)
void WritePlaceholderReferenceShapes(PowerPointShapeExport &rDML, PageType ePageType)
sal_uInt32 mnSlideMasterIdMax
bool mbPptm
Should we export as .pptm, ie. do we contain macros?
PowerPointExport(const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Sequence< css::uno::Any > &rArguments)
void WriteModifyVerifier()
std::vector< ::sax_fastparser::FSHelperPtr > mpSlidesFSArray
::oox::drawingml::ShapeExport::ShapeHashMap maShapeMap
bool WriteComments(sal_uInt32 nPageNum)
void WriteCustomSlideShow()
sal_Int32 mnPlaceholderIndexMax
Last used placeholder index.
sal_Int32 GetNextAnimationNodeID()
sal_uInt32 GetNewSlideMasterId()
virtual oox::vml::Drawing * getVmlDrawing() override
virtual void ImplWriteSlideMaster(sal_uInt32 nPageNum, css::uno::Reference< css::beans::XPropertySet > const &aXBackgroundPropSet) override
sal_uInt32 GetNewSlideId()
static void WriteDefaultColorSchemes(const FSHelperPtr &pFS)
void WriteTransition(const ::sax_fastparser::FSHelperPtr &pFS)
void WritePresentationProps()
css::uno::Reference< css::drawing::XShape > GetReferencedPlaceholderXShape(const PlaceholderType eType, PageType ePageType) const
void ImplWriteBackground(const ::sax_fastparser::FSHelperPtr &pFS, const css::uno::Reference< css::beans::XPropertySet > &aXBackgroundPropSet)
virtual bool exportDocument() override
void AddLayoutIdAndRelation(const ::sax_fastparser::FSHelperPtr &pFS, sal_Int32 nLayoutFileId)
virtual OUString SAL_CALL getImplementationName() override
void ImplWritePPTXLayout(sal_Int32 nOffset, sal_uInt32 nMasterNum)
void WriteVBA()
If this is PPTM, output the VBA stream.
std::vector< OUString > maRelId
virtual oox::drawingml::chart::ChartConverter * getChartConverter() override
static const char * GetCornerDirection(sal_uInt8 nDirection)
sal_Int32 CreateNewPlaceholderIndex(const css::uno::Reference< css::drawing::XShape > &rXShape)
Create a new placeholder index for a master placeholder shape.
void WriteTheme(sal_Int32 nThemeNum, model::Theme *pTheme)
virtual ~PowerPointExport() override
std::unordered_map< css::uno::Reference< css::drawing::XShape >, sal_Int32 > ShapeHashMap
std::shared_ptr< TableStyleList > TableStyleListPtr
std::shared_ptr< FastSerializerHelper > FSHelperPtr
std::vector< sal_Int32 > mnFileIdArray