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>

Collaboration diagram for oox::drawingml::CustomShapeProperties:
[legend]

Public Member Functions

 CustomShapeProperties ()
 
void pushToPropSet (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::uno::Reference< css::drawing::XShape > &xShape, 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 ()
 
OptValue< GeomRect > & getTextRect ()
 
std::vector< Path2D > & getPath2DList ()
 
std::vector< css::drawing::EnhancedCustomShapeSegment > & getSegments ()
 
void setMirroredX (bool bMirroredX)
 
void setMirroredY (bool bMirroredY)
 
void setTextRotateAngle (sal_Int32 nAngle)
 
void setTextCameraZRotateAngle (sal_Int32 nAngle)
 
sal_Int32 getArcNum ()
 

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
 
OptValue< GeomRectmaTextRect
 
std::vector< Path2DmaPath2DList
 
std::vector< css::drawing::EnhancedCustomShapeSegment > maSegments
 
bool mbMirroredX
 
bool mbMirroredY
 
sal_Int32 mnTextRotateAngle
 
sal_Int32 mnTextCameraZRotateAngle
 
sal_Int32 mnArcNum
 

Static Private Attributes

static PresetDataMap maPresetDataMap
 

Detailed Description

Definition at line 95 of file customshapeproperties.hxx.

Member Typedef Documentation

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

Definition at line 145 of file customshapeproperties.hxx.

Constructor & Destructor Documentation

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

Definition at line 43 of file customshapeproperties.cxx.

Member Function Documentation

std::vector< AdjustHandle >& oox::drawingml::CustomShapeProperties::getAdjustHandleList ( )
inline
std::vector< CustomShapeGuide >& oox::drawingml::CustomShapeProperties::getAdjustmentGuideList ( )
inline
sal_Int32 oox::drawingml::CustomShapeProperties::getArcNum ( )
inline

Definition at line 125 of file customshapeproperties.hxx.

References mnArcNum.

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

Definition at line 74 of file customshapeproperties.cxx.

References maName, and nIndex.

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

std::vector< CustomShapeGuide >& oox::drawingml::CustomShapeProperties::getGuideList ( )
inline
std::vector< Path2D >& oox::drawingml::CustomShapeProperties::getPath2DList ( )
inline
std::vector< css::drawing::EnhancedCustomShapeSegment >& oox::drawingml::CustomShapeProperties::getSegments ( )
inline
sal_Int32 oox::drawingml::CustomShapeProperties::getShapePresetType ( ) const
inline

Definition at line 104 of file customshapeproperties.hxx.

References mnShapePresetType.

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

Definition at line 54 of file customshapeproperties.cxx.

References mnShapePresetType.

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

Definition at line 107 of file customshapeproperties.hxx.

References mbShapeTypeOverride.

OptValue< GeomRect >& oox::drawingml::CustomShapeProperties::getTextRect ( )
inline
void oox::drawingml::CustomShapeProperties::initializePresetDataMap ( )
staticprivate
void oox::drawingml::CustomShapeProperties::pushToPropSet ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const css::uno::Reference< css::drawing::XShape > &  xShape,
const css::awt::Size &  aSize 
)
sal_Int32 oox::drawingml::CustomShapeProperties::SetCustomShapeGuideValue ( std::vector< CustomShapeGuide > &  rGuideList,
const CustomShapeGuide rGuide 
)
static
void oox::drawingml::CustomShapeProperties::setMirroredX ( bool  bMirroredX)
inline

Definition at line 117 of file customshapeproperties.hxx.

References mbMirroredX.

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

Definition at line 118 of file customshapeproperties.hxx.

References mbMirroredY.

void oox::drawingml::CustomShapeProperties::setShapePresetType ( sal_Int32  nShapePresetType)
inline
void oox::drawingml::CustomShapeProperties::setShapeTypeOverride ( bool  bShapeTypeOverride)
inline

Definition at line 108 of file customshapeproperties.hxx.

References mbShapeTypeOverride.

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

Definition at line 120 of file customshapeproperties.hxx.

References mnTextCameraZRotateAngle.

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

Definition at line 119 of file customshapeproperties.hxx.

References mnTextRotateAngle.

Member Data Documentation

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

Definition at line 133 of file customshapeproperties.hxx.

Referenced by getAdjustHandleList(), and pushToPropSet().

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

Definition at line 131 of file customshapeproperties.hxx.

Referenced by getAdjustmentGuideList(), and pushToPropSet().

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

Definition at line 134 of file customshapeproperties.hxx.

Referenced by getConnectionSiteList().

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

Definition at line 132 of file customshapeproperties.hxx.

Referenced by getGuideList(), and pushToPropSet().

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

Definition at line 136 of file customshapeproperties.hxx.

Referenced by getPath2DList(), and pushToPropSet().

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

Definition at line 147 of file customshapeproperties.hxx.

Referenced by initializePresetDataMap(), and pushToPropSet().

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

Definition at line 139 of file customshapeproperties.hxx.

Referenced by getSegments(), and pushToPropSet().

OptValue< GeomRect > oox::drawingml::CustomShapeProperties::maTextRect
private

Definition at line 135 of file customshapeproperties.hxx.

Referenced by getTextRect(), and pushToPropSet().

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

Definition at line 140 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setMirroredX().

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

Definition at line 141 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setMirroredY().

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

Definition at line 130 of file customshapeproperties.hxx.

Referenced by getShapeTypeOverride(), and setShapeTypeOverride().

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

Definition at line 150 of file customshapeproperties.hxx.

Referenced by getArcNum().

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

Definition at line 143 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setTextCameraZRotateAngle().

sal_Int32 oox::drawingml::CustomShapeProperties::mnTextRotateAngle
private

Definition at line 142 of file customshapeproperties.hxx.

Referenced by pushToPropSet(), and setTextRotateAngle().


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