LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
oox::drawingml::CustomShapeProperties Class Referencefinal

#include <customshapeproperties.hxx>

Public Member Functions

 CustomShapeProperties ()
 
void pushToPropSet (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::awt::Size &aSize)
 
sal_Int32 getShapePresetType () const
 
css::uno::Sequence< sal_Int8 > const & getShapePresetTypeName () const
 
void setShapePresetType (sal_Int32 nShapePresetType)
 
bool getShapeTypeOverride () const
 
void setShapeTypeOverride (bool bShapeTypeOverride)
 
std::vector< CustomShapeGuide > & getAdjustmentGuideList ()
 
std::vector< CustomShapeGuide > & getGuideList ()
 
std::vector< AdjustHandle > & getAdjustHandleList ()
 
std::vector< ConnectionSite > & getConnectionSiteList ()
 
std::optional< GeomRect > & getTextRect ()
 
std::vector< Path2D > & getPath2DList ()
 
std::vector< css::drawing::EnhancedCustomShapeSegment > & getSegments ()
 
void setMirroredX (bool bMirroredX)
 
void setMirroredY (bool bMirroredY)
 
void setTextPreRotateAngle (sal_Int32 nAngle)
 
void setTextCameraZRotateAngle (sal_Int32 nAngle)
 
void setTextAreaRotateAngle (sal_Int32 nAngle)
 
sal_Int32 getArcNum ()
 
bool representsDefaultShape () const
 Returns whether or not the current CustomShapeProperties represent a default shape preset that is rectangular. More...
 

Static Public Member Functions

static sal_Int32 SetCustomShapeGuideValue (std::vector< CustomShapeGuide > &rGuideList, const CustomShapeGuide &rGuide)
 
static sal_Int32 GetCustomShapeGuideValue (const std::vector< CustomShapeGuide > &rGuideList, std::u16string_view rFormulaName)
 

Private Types

typedef std::unordered_map< sal_Int32, PropertyMapPresetDataMap
 

Static Private Member Functions

static void initializePresetDataMap ()
 

Private Attributes

sal_Int32 mnShapePresetType
 
bool mbShapeTypeOverride
 
std::vector< CustomShapeGuidemaAdjustmentGuideList
 
std::vector< CustomShapeGuidemaGuideList
 
std::vector< AdjustHandlemaAdjustHandleList
 
std::vector< ConnectionSitemaConnectionSiteList
 
std::optional< GeomRectmaTextRect
 
std::vector< Path2DmaPath2DList
 
std::vector< css::drawing::EnhancedCustomShapeSegment > maSegments
 
bool mbMirroredX
 
bool mbMirroredY
 
sal_Int32 mnTextPreRotateAngle
 
sal_Int32 mnTextCameraZRotateAngle
 
std::optional< sal_Int32 > moTextAreaRotateAngle
 
sal_Int32 mnArcNum
 

Static Private Attributes

static PresetDataMap maPresetDataMap
 

Detailed Description

Definition at line 95 of file customshapeproperties.hxx.

Member Typedef Documentation

◆ PresetDataMap

typedef std::unordered_map< sal_Int32, PropertyMap > oox::drawingml::CustomShapeProperties::PresetDataMap
private

Definition at line 152 of file customshapeproperties.hxx.

Constructor & Destructor Documentation

◆ CustomShapeProperties()

oox::drawingml::CustomShapeProperties::CustomShapeProperties ( )

Definition at line 46 of file customshapeproperties.cxx.

Member Function Documentation

◆ getAdjustHandleList()

std::vector< AdjustHandle > & oox::drawingml::CustomShapeProperties::getAdjustHandleList ( )
inline

◆ getAdjustmentGuideList()

std::vector< CustomShapeGuide > & oox::drawingml::CustomShapeProperties::getAdjustmentGuideList ( )
inline

◆ getArcNum()

sal_Int32 oox::drawingml::CustomShapeProperties::getArcNum ( )
inline

Definition at line 125 of file customshapeproperties.hxx.

References mnArcNum.

◆ getConnectionSiteList()

std::vector< ConnectionSite > & oox::drawingml::CustomShapeProperties::getConnectionSiteList ( )
inline

◆ GetCustomShapeGuideValue()

sal_Int32 oox::drawingml::CustomShapeProperties::GetCustomShapeGuideValue ( const std::vector< CustomShapeGuide > &  rGuideList,
std::u16string_view  rFormulaName 
)
static

Definition at line 77 of file customshapeproperties.cxx.

References maName, and nIndex.

Referenced by oox::drawingml::GetAdjCoordinate(), and pushToPropSet().

◆ getGuideList()

std::vector< CustomShapeGuide > & oox::drawingml::CustomShapeProperties::getGuideList ( )
inline

◆ getPath2DList()

std::vector< Path2D > & oox::drawingml::CustomShapeProperties::getPath2DList ( )
inline

◆ getSegments()

std::vector< css::drawing::EnhancedCustomShapeSegment > & oox::drawingml::CustomShapeProperties::getSegments ( )
inline

◆ getShapePresetType()

sal_Int32 oox::drawingml::CustomShapeProperties::getShapePresetType ( ) const
inline

Definition at line 103 of file customshapeproperties.hxx.

References mnShapePresetType.

Referenced by representsDefaultShape().

◆ getShapePresetTypeName()

uno::Sequence< sal_Int8 > const & oox::drawingml::CustomShapeProperties::getShapePresetTypeName ( ) const

◆ getShapeTypeOverride()

bool oox::drawingml::CustomShapeProperties::getShapeTypeOverride ( ) const
inline

Definition at line 106 of file customshapeproperties.hxx.

References mbShapeTypeOverride.

◆ getTextRect()

std::optional< GeomRect > & oox::drawingml::CustomShapeProperties::getTextRect ( )
inline

◆ initializePresetDataMap()

void oox::drawingml::CustomShapeProperties::initializePresetDataMap ( )
staticprivate

◆ pushToPropSet()

void oox::drawingml::CustomShapeProperties::pushToPropSet ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const css::awt::Size &  aSize 
)

◆ representsDefaultShape()

bool oox::drawingml::CustomShapeProperties::representsDefaultShape ( ) const

Returns whether or not the current CustomShapeProperties represent a default shape preset that is rectangular.

Definition at line 92 of file customshapeproperties.cxx.

References getShapePresetType(), and maPath2DList.

◆ SetCustomShapeGuideValue()

sal_Int32 oox::drawingml::CustomShapeProperties::SetCustomShapeGuideValue ( std::vector< CustomShapeGuide > &  rGuideList,
const CustomShapeGuide rGuide 
)
static

◆ setMirroredX()

void oox::drawingml::CustomShapeProperties::setMirroredX ( bool  bMirroredX)
inline

Definition at line 116 of file customshapeproperties.hxx.

References mbMirroredX.

◆ setMirroredY()

void oox::drawingml::CustomShapeProperties::setMirroredY ( bool  bMirroredY)
inline

Definition at line 117 of file customshapeproperties.hxx.

References mbMirroredY.

◆ setShapePresetType()

void oox::drawingml::CustomShapeProperties::setShapePresetType ( sal_Int32  nShapePresetType)
inline

◆ setShapeTypeOverride()

void oox::drawingml::CustomShapeProperties::setShapeTypeOverride ( bool  bShapeTypeOverride)
inline

Definition at line 107 of file customshapeproperties.hxx.

References mbShapeTypeOverride.

◆ setTextAreaRotateAngle()

void oox::drawingml::CustomShapeProperties::setTextAreaRotateAngle ( sal_Int32  nAngle)
inline

Definition at line 120 of file customshapeproperties.hxx.

References moTextAreaRotateAngle.

◆ setTextCameraZRotateAngle()

void oox::drawingml::CustomShapeProperties::setTextCameraZRotateAngle ( sal_Int32  nAngle)
inline

Definition at line 119 of file customshapeproperties.hxx.

References mnTextCameraZRotateAngle.

◆ setTextPreRotateAngle()

void oox::drawingml::CustomShapeProperties::setTextPreRotateAngle ( sal_Int32  nAngle)
inline

Definition at line 118 of file customshapeproperties.hxx.

References mnTextPreRotateAngle.

Member Data Documentation

◆ maAdjustHandleList

std::vector< AdjustHandle > oox::drawingml::CustomShapeProperties::maAdjustHandleList
private

Definition at line 139 of file customshapeproperties.hxx.

Referenced by getAdjustHandleList(), and pushToPropSet().

◆ maAdjustmentGuideList

std::vector< CustomShapeGuide > oox::drawingml::CustomShapeProperties::maAdjustmentGuideList
private

Definition at line 137 of file customshapeproperties.hxx.

Referenced by getAdjustmentGuideList(), and pushToPropSet().

◆ maConnectionSiteList

std::vector< ConnectionSite > oox::drawingml::CustomShapeProperties::maConnectionSiteList
private

Definition at line 140 of file customshapeproperties.hxx.

Referenced by getConnectionSiteList().

◆ maGuideList

std::vector< CustomShapeGuide > oox::drawingml::CustomShapeProperties::maGuideList
private

Definition at line 138 of file customshapeproperties.hxx.

Referenced by getGuideList(), and pushToPropSet().

◆ maPath2DList

std::vector< Path2D > oox::drawingml::CustomShapeProperties::maPath2DList
private

Definition at line 142 of file customshapeproperties.hxx.

Referenced by getPath2DList(), pushToPropSet(), and representsDefaultShape().

◆ maPresetDataMap

CustomShapeProperties::PresetDataMap oox::drawingml::CustomShapeProperties::maPresetDataMap
staticprivate

Definition at line 154 of file customshapeproperties.hxx.

Referenced by initializePresetDataMap(), and pushToPropSet().

◆ maSegments

std::vector< css::drawing::EnhancedCustomShapeSegment > oox::drawingml::CustomShapeProperties::maSegments
private

Definition at line 145 of file customshapeproperties.hxx.

Referenced by getSegments(), and pushToPropSet().

◆ maTextRect

std::optional< GeomRect > oox::drawingml::CustomShapeProperties::maTextRect
private

Definition at line 141 of file customshapeproperties.hxx.

Referenced by getTextRect(), and pushToPropSet().

◆ mbMirroredX

bool oox::drawingml::CustomShapeProperties::mbMirroredX
private

Definition at line 146 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setMirroredX().

◆ mbMirroredY

bool oox::drawingml::CustomShapeProperties::mbMirroredY
private

Definition at line 147 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setMirroredY().

◆ mbShapeTypeOverride

bool oox::drawingml::CustomShapeProperties::mbShapeTypeOverride
private

Definition at line 136 of file customshapeproperties.hxx.

Referenced by getShapeTypeOverride(), and setShapeTypeOverride().

◆ mnArcNum

sal_Int32 oox::drawingml::CustomShapeProperties::mnArcNum
private

Definition at line 157 of file customshapeproperties.hxx.

Referenced by getArcNum().

◆ mnShapePresetType

sal_Int32 oox::drawingml::CustomShapeProperties::mnShapePresetType
private

◆ mnTextCameraZRotateAngle

sal_Int32 oox::drawingml::CustomShapeProperties::mnTextCameraZRotateAngle
private

Definition at line 149 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setTextCameraZRotateAngle().

◆ mnTextPreRotateAngle

sal_Int32 oox::drawingml::CustomShapeProperties::mnTextPreRotateAngle
private

Definition at line 148 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setTextPreRotateAngle().

◆ moTextAreaRotateAngle

std::optional< sal_Int32 > oox::drawingml::CustomShapeProperties::moTextAreaRotateAngle
private

Definition at line 150 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setTextAreaRotateAngle().


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