|
LibreOffice Module oox (master) 1
|
#include <pptshape.hxx>
Public Member Functions | |
| PPTShape (const oox::ppt::ShapeLocation eShapeLocation, const char *pServiceType) | |
| virtual | ~PPTShape () override |
| 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) |
| ShapeLocation | getShapeLocation () const |
| void | setReferenced (bool bReferenced) |
| void | setPlaceholder (oox::drawingml::ShapePtr pPlaceholder) |
| void | setModelId (const OUString &rId) |
| void | setHasNoninheritedShapeProperties () |
| Flags shape as having a non-empty spPr tag. More... | |
| bool | hasNonInheritedShapeProperties () const |
| Returns whether or not the shape had a non-empty spPr tag. More... | |
Public Member Functions inherited from oox::drawingml::Shape | |
| Shape (const char *pServiceType=nullptr, bool bDefaultHeight=true) | |
| Shape (const ShapePtr &pSourceShape) | |
| Shape (Shape const &)=default | |
| virtual | ~Shape () |
| Shape & | operator= (Shape const &)=default |
| OUString & | getServiceName () |
| void | setServiceName (const char *pServiceName) |
| const OUString & | getDiagramDataModelID () const |
| void | setDiagramDataModelID (const OUString &rDiagramDataModelID) |
| PropertyMap & | getShapeProperties () |
| LineProperties & | getLineProperties () |
| const LineProperties & | getLineProperties () const |
| FillProperties & | getFillProperties () |
| const FillProperties & | getFillProperties () const |
| GraphicProperties & | getGraphicProperties () |
| const GraphicProperties & | getGraphicProperties () const |
| CustomShapePropertiesPtr & | getCustomShapeProperties () |
| OUString & | getConnectorName () |
| std::vector< OUString > & | getConnectorAdjustments () |
| ConnectorShapePropertiesList & | getConnectorShapeProperties () |
| void | setConnectorShape (bool bConnector) |
| bool | isConnectorShape () const |
| Shape3DProperties & | get3DProperties () |
| const Shape3DProperties & | get3DProperties () const |
| table::TablePropertiesPtr const & | getTableProperties () |
| EffectProperties & | getEffectProperties () const |
| void | setChildPosition (css::awt::Point nPosition) |
| void | setChildSize (css::awt::Size aSize) |
| void | setPosition (css::awt::Point nPosition) |
| const css::awt::Point & | getPosition () const |
| void | setSize (css::awt::Size aSize) |
| const css::awt::Size & | getSize () const |
| void | setRotation (sal_Int32 nRotation) |
| sal_Int32 | getRotation () const |
| void | setDiagramRotation (sal_Int32 nRotation) |
| void | setFlip (bool bFlipH, bool bFlipV) |
| bool | getFlipH () const |
| bool | getFlipV () const |
| void | addChild (const ShapePtr &rChildPtr) |
| std::vector< ShapePtr > & | getChildren () |
| void | setName (const OUString &rName) |
| const OUString & | getName () const |
| void | setInternalName (const OUString &rInternalName) |
| const OUString & | getInternalName () const |
| void | setId (const OUString &rId) |
| const OUString & | getId () const |
| void | setDescription (const OUString &rDescr) |
| void | setDecorative (bool const isDecorative) |
| void | setHidden (bool bHidden) |
| void | setHiddenMasterShape (bool bHiddenMasterShape) |
| void | setLocked (bool bLocked) |
| void | setSubType (sal_Int32 nSubType) |
| sal_Int32 | getSubType () const |
| void | setSubTypeIndex (sal_Int32 nSubTypeIndex) |
| const std::optional< sal_Int32 > & | getSubTypeIndex () const |
| void | setDefaults (bool bHeight) |
| ::oox::vml::OleObjectInfo & | setOleObjectType () |
| ChartShapeInfo & | setChartType (bool bEmbedShapes) |
| void | setDiagramType () |
| void | setTableType () |
| void | setTextBody (const TextBodyPtr &pTextBody) |
| const TextBodyPtr & | getTextBody () const |
| void | setMasterTextListStyle (const TextListStylePtr &pMasterTextListStyle) |
| const TextListStylePtr & | getMasterTextListStyle () const |
| ShapeStyleRefMap & | getShapeStyleRefs () |
| const ShapeStyleRefMap & | getShapeStyleRefs () const |
| const ShapeStyleRef * | getShapeStyleRef (sal_Int32 nRefType) const |
| bool | hasShapeStyleRefs () const |
| 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) |
| const css::uno::Reference< css::drawing::XShape > & | getXShape () const |
| void | applyShapeReference (const Shape &rReferencedShape, bool bUseText=true) |
| const ::std::vector< OUString > & | getExtDrawings () const |
| void | addExtDrawingRelId (const OUString &rRelId) |
| void | setFontRefColorForNodes (const Color &rColor) |
| const Color & | getFontRefColorForNodes () const |
| void | setLockedCanvas (bool bLockedCanvas) |
| bool | getLockedCanvas () const |
| void | setWPGChild (bool bWPG) |
| bool | isWPGChild () const |
| void | setWps (bool bWps) |
| bool | getWps () const |
| void | setTextBox (bool bTextBox) |
| const css::uno::Sequence< css::beans::PropertyValue > & | getDiagramDoms () const |
| void | setDiagramDoms (const css::uno::Sequence< css::beans::PropertyValue > &rDiagramDoms) |
| css::uno::Sequence< css::uno::Sequence< css::uno::Any > > | resolveRelationshipsOfTypeFromOfficeDoc (core::XmlFilterBase &rFilter, const OUString &sFragment, std::u16string_view sType) |
| void | setLinkedTxbxAttributes (const LinkedTxbxAttr &rhs) |
| void | setTxbxHasLinkedTxtBox (const bool rhs) |
| const LinkedTxbxAttr & | getLinkedTxbxAttributes () const |
| bool | isLinkedTxbx () const |
| void | setZOrder (sal_Int32 nZOrder) |
| sal_Int32 | getZOrder () const |
| void | setZOrderOff (sal_Int32 nZOrderOff) |
| sal_Int32 | getZOrderOff () const |
| void | setDataNodeType (sal_Int32 nDataNodeType) |
| sal_Int32 | getDataNodeType () const |
| void | setAspectRatio (double fAspectRatio) |
| double | getAspectRatio () const |
| void | setVerticalShapesCount (sal_Int32 nVerticalShapesCount) |
| sal_Int32 | getVerticalShapesCount () const |
| void | cloneFillProperties () |
| Changes reference semantics to value semantics for fill properties. More... | |
| void | keepDiagramDrawing (::oox::core::XmlFilterBase &rFilterBase, const OUString &rFragmentPath) |
| void | prepareDiagramHelper (const std::shared_ptr< Diagram > &rDiagramPtr, const std::shared_ptr<::oox::drawingml::Theme > &rTheme) |
| void | propagateDiagramHelper () |
| void | migrateDiagramHelperToNewShape (const ShapePtr &pTarget) |
Static Public Member Functions | |
| static oox::drawingml::ShapePtr | findPlaceholder (const sal_Int32 nFirstSubType, const sal_Int32 nSecondSubType, const std::optional< sal_Int32 > &oSubTypeIndex, std::vector< oox::drawingml::ShapePtr > &rShapes, bool bMasterOnly=false) |
| static oox::drawingml::ShapePtr | findPlaceholderByIndex (const sal_Int32 nIdx, std::vector< oox::drawingml::ShapePtr > &rShapes, bool bMasterOnly=false) |
| static oox::drawingml::TextListStylePtr | getSubTypeTextListStyle (const SlidePersist &rSlidePersist, sal_Int32 nSubType) |
Private Member Functions | |
| bool | IsPlaceHolderCandidate (const SlidePersist &rSlidePersist) const |
Private Attributes | |
| OUString | msModelId |
| ShapeLocation | meShapeLocation |
| bool | mbReferenced |
| oox::drawingml::ShapePtr | mpPlaceholder |
| bool | mbHasNoninheritedShapeProperties |
| Set if spPr tag is non empty for the shape. More... | |
Definition at line 46 of file pptshape.hxx.
| oox::ppt::PPTShape::PPTShape | ( | const oox::ppt::ShapeLocation | eShapeLocation, |
| const char * | pServiceType | ||
| ) |
Definition at line 61 of file pptshape.cxx.
References Shape.
|
overridevirtual |
Definition at line 69 of file pptshape.cxx.
| void oox::ppt::PPTShape::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 | ||
| ) |
Definition at line 160 of file pptshape.cxx.
References oox::drawingml::Shape::addChildren(), Any, aProperties, oox::drawingml::Shape::createAndInsert(), Exception, findPlaceholder(), findPlaceholderByIndex(), oox::drawingml::Shape::FRAMETYPE_DIAGRAM, oox::ppt::SlidePersist::getBodyTextStyle(), oox::drawingml::Shape::getChildren(), oox::ppt::SlidePersist::getDefaultTextStyle(), oox::core::XmlFilterBase::getDiagramFontHeights(), oox::drawingml::Shape::getFillProperties(), oox::drawingml::TextField::getLODateFormat(), oox::drawingml::TextField::getLOTimeFormat(), oox::ppt::SlidePersist::getMasterPersist(), oox::core::FilterBase::getModel(), oox::ppt::SlidePersist::getNotesTextStyle(), oox::ppt::SlidePersist::getOtherTextStyle(), oox::ppt::SlidePersist::getPage(), oox::PropertyMap::getProperty(), oox::drawingml::Shape::getShapeProperties(), oox::ppt::SlidePersist::getShapes(), oox::drawingml::Shape::getSubType(), oox::drawingml::Shape::getSubTypeIndex(), getSubTypeTextListStyle(), oox::drawingml::Shape::getTextBody(), oox::ppt::SlidePersist::getTitleTextStyle(), oox::drawingml::TextField::getType(), namespaces::i, oox::ppt::SlidePersist::isNotesPage(), IsPlaceHolderCandidate(), oox::drawingml::Shape::keepDiagramCompatibilityInfo(), oox::ppt::Layout, oox::ppt::lclDebugSubType(), oox::drawingml::Shape::maPosition, oox::drawingml::Shape::maSize, oox::ppt::Master, oox::drawingml::Shape::meFrameType, meShapeLocation, oox::drawingml::Shape::mnSubType, oox::drawingml::Shape::mpCustomShapePropertiesPtr, oox::drawingml::Shape::mpMasterTextListStyle, mpPlaceholder, oox::drawingml::Shape::msId, msModelId, oox::drawingml::Shape::msServiceName, oox::drawingml::Shape::mxShape, oox::drawingml::Shape::propagateDiagramHelper(), SAL_INFO, oox::core::XmlFilterBase::setDiagramFontHeights(), oox::drawingml::Shape::setMasterTextListStyle(), oox::drawingml::Shape::setPosition(), oox::drawingml::Shape::setSize(), oox::ppt::Slide, sServiceName, u, and value.
Referenced by oox::ppt::SlidePersist::createXShapes().
|
static |
Definition at line 642 of file pptshape.cxx.
References aIndex, and findPlaceholder().
Referenced by addShape(), findPlaceholder(), oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
|
static |
Definition at line 742 of file pptshape.cxx.
References findPlaceholderByIndex().
Referenced by addShape(), findPlaceholderByIndex(), oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
|
inline |
Definition at line 74 of file pptshape.hxx.
References meShapeLocation.
Referenced by oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
|
static |
Definition at line 114 of file pptshape.cxx.
References oox::ppt::SlidePersist::getBodyTextStyle(), oox::ppt::SlidePersist::getMasterPersist(), oox::ppt::SlidePersist::getNotesTextStyle(), oox::ppt::SlidePersist::getTitleTextStyle(), oox::ppt::SlidePersist::isNotesPage(), oox::ppt::lclDebugSubType(), and SAL_INFO.
Referenced by addShape().
|
inline |
Returns whether or not the shape had a non-empty spPr tag.
Definition at line 82 of file pptshape.hxx.
References mbHasNoninheritedShapeProperties.
|
private |
Definition at line 139 of file pptshape.cxx.
References oox::drawingml::Shape::getTextBody(), oox::ppt::SlidePersist::isNotesPage(), meShapeLocation, oox::drawingml::Shape::mpCustomShapePropertiesPtr, and oox::ppt::Slide.
Referenced by addShape().
|
inline |
Flags shape as having a non-empty spPr tag.
Definition at line 80 of file pptshape.hxx.
References mbHasNoninheritedShapeProperties.
Referenced by oox::ppt::PPTShapePropertiesContext::onCreateContext().
|
inline |
Definition at line 77 of file pptshape.hxx.
References msModelId.
|
inline |
Definition at line 76 of file pptshape.hxx.
References mpPlaceholder.
Referenced by oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
|
inline |
Definition at line 75 of file pptshape.hxx.
References mbReferenced.
Referenced by oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
|
private |
Set if spPr tag is non empty for the shape.
Definition at line 54 of file pptshape.hxx.
Referenced by hasNonInheritedShapeProperties(), and setHasNoninheritedShapeProperties().
|
private |
Definition at line 50 of file pptshape.hxx.
Referenced by setReferenced().
|
private |
Definition at line 49 of file pptshape.hxx.
Referenced by addShape(), getShapeLocation(), and IsPlaceHolderCandidate().
|
private |
Definition at line 52 of file pptshape.hxx.
Referenced by addShape(), and setPlaceholder().
|
private |
Definition at line 48 of file pptshape.hxx.
Referenced by addShape(), and setModelId().