20 #ifndef INCLUDED_OOX_PPT_PPTSHAPE_HXX
21 #define INCLUDED_OOX_PPT_PPTSHAPE_HXX
25 #include <com/sun/star/uno/Reference.hxx>
29 #include <rtl/ustring.hxx>
32 namespace basegfx {
class B2DHomMatrix; }
36 namespace drawing {
class XShapes; }
40 namespace core {
class XmlFilterBase; }
41 namespace drawingml {
class Theme; }
42 template <
typename Type>
class OptValue;
62 const char* pServiceType );
71 const css::uno::Reference< css::drawing::XShapes >& rxShapes,
78 void setModelId(
const OUString& rId ) { msModelId = rId; }
87 std::vector< oox::drawingml::ShapePtr >& rShapes,
bool bMasterOnly =
false );
89 std::vector< oox::drawingml::ShapePtr >& rShapes,
bool bMasterOnly =
false );
96 #endif // INCLUDED_OOX_PPT_PPTSHAPE_HXX
void setModelId(const OUString &rId)
void setReferenced(bool bReferenced)
exports com.sun.star. awt
void addShape(::oox::core::XmlFilterBase &rFilterBase, const Theme *pTheme, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const basegfx::B2DHomMatrix &aTransformation, const FillProperties &rShapeOrParentShapeFillProps, ShapeIdMap *pShapeMap=nullptr, oox::drawingml::ShapePtr pParentGroupShape=nullptr)
bool hasNonInheritedShapeProperties() const
Returns whether or not the shape had a non-empty spPr tag.
exports com.sun.star. drawing
ShapeLocation getShapeLocation() const
static oox::drawingml::ShapePtr findPlaceholder(const sal_Int32 nFirstSubType, const sal_Int32 nSecondSubType, const OptValue< sal_Int32 > &oSubTypeIndex, std::vector< oox::drawingml::ShapePtr > &rShapes, bool bMasterOnly=false)
void setPlaceholder(oox::drawingml::ShapePtr pPlaceholder)
static oox::drawingml::TextListStylePtr getSubTypeTextListStyle(const SlidePersist &rSlidePersist, sal_Int32 nSubType)
bool mbHasNoninheritedShapeProperties
Set if spPr tag is non empty for the shape.
virtual ~PPTShape() override
std::shared_ptr< TextListStyle > TextListStylePtr
static oox::drawingml::ShapePtr findPlaceholderByIndex(const sal_Int32 nIdx, std::vector< oox::drawingml::ShapePtr > &rShapes, bool bMasterOnly=false)
::std::map< OUString, ShapePtr > ShapeIdMap
PPTShape(const oox::ppt::ShapeLocation eShapeLocation, const char *pServiceType)
bool IsPlaceHolderCandidate(const SlidePersist &rSlidePersist) const
std::shared_ptr< Shape > ShapePtr
ShapeLocation meShapeLocation
void addShape(oox::core::XmlFilterBase &rFilterBase, const SlidePersist &rPersist, const oox::drawingml::Theme *pTheme, const css::uno::Reference< css::drawing::XShapes > &rxShapes, basegfx::B2DHomMatrix &aTransformation,::oox::drawingml::ShapeIdMap *pShapeMap)
oox::drawingml::ShapePtr mpPlaceholder
void setHasNoninheritedShapeProperties()
Flags shape as having a non-empty spPr tag.