diff options
Diffstat (limited to 'sd/source/filter/eppt/epptooxml.hxx')
-rw-r--r-- | sd/source/filter/eppt/epptooxml.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index d4f2b618f25d..eefec66f0432 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -119,6 +119,15 @@ private: static void WriteDiagram(const FSHelperPtr& pFS, PowerPointShapeExport& rDML, const css::uno::Reference<css::drawing::XShape>& rXShape, int nDiagramId); + /** Create a new placeholder index for a master placeholder shape + + @param rXShape Master placeholder shape + @returns Placeholder index + */ + unsigned CreateNewPlaceholderIndex(const css::uno::Reference<css::drawing::XShape>& rXShape); + css::uno::Reference<css::drawing::XShape> GetReferencedPlaceholderXShape(const PlaceholderType eType, PageType ePageType) const; + void WritePlaceholderReferenceShapes(PowerPointShapeExport& rDML, PageType ePageType); + /// Should we export as .pptm, ie. do we contain macros? bool mbPptm; @@ -141,6 +150,10 @@ private: ::oox::drawingml::ShapeExport::ShapeHashMap maShapeMap; + unsigned mnPlaceholderIndexMax; ///< Last used placeholder index + /// Map of placeholder indexes for Master placeholders + std::unordered_map< css::uno::Reference<css::drawing::XShape>, unsigned > maPlaceholderShapeToIndexMap; + struct AuthorComments { sal_Int32 nId; sal_Int32 nLastIndex; |