20#ifndef INCLUDED_OOX_DRAWINGML_CUSTOMSHAPEPROPERTIES_HXX
21#define INCLUDED_OOX_DRAWINGML_CUSTOMSHAPEPROPERTIES_HXX
24#include <unordered_map>
26#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
27#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
28#include <com/sun/star/drawing/XShape.hpp>
31#include <oox/token/tokens.hxx>
35class CustomShapeProperties;
48 css::drawing::EnhancedCustomShapeParameterPair
53 std::optional< css::drawing::EnhancedCustomShapeParameter >
55 std::optional< css::drawing::EnhancedCustomShapeParameter >
58 std::optional< css::drawing::EnhancedCustomShapeParameter >
60 std::optional< css::drawing::EnhancedCustomShapeParameter >
68 css::drawing::EnhancedCustomShapeParameterPair
70 css::drawing::EnhancedCustomShapeParameter
76 css::drawing::EnhancedCustomShapeParameter
l;
77 css::drawing::EnhancedCustomShapeParameter
t;
78 css::drawing::EnhancedCustomShapeParameter
r;
79 css::drawing::EnhancedCustomShapeParameter
b;
89 std::vector< css::drawing::EnhancedCustomShapeParameterPair >
parameter;
100 void pushToPropSet(
const css::uno::Reference < css::beans::XPropertySet > & xPropSet,
101 const css::awt::Size &aSize );
123 static sal_Int32
GetCustomShapeGuideValue(
const std::vector< CustomShapeGuide >& rGuideList, std::u16string_view rFormulaName );
145 std::vector< css::drawing::EnhancedCustomShapeSegment >
void setTextCameraZRotateAngle(sal_Int32 nAngle)
void setMirroredY(bool bMirroredY)
void setTextAreaRotateAngle(sal_Int32 nAngle)
std::vector< css::drawing::EnhancedCustomShapeSegment > & getSegments()
std::vector< ConnectionSite > & getConnectionSiteList()
static void initializePresetDataMap()
std::optional< sal_Int32 > moTextAreaRotateAngle
void setShapePresetType(sal_Int32 nShapePresetType)
sal_Int32 mnTextCameraZRotateAngle
void pushToPropSet(const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::awt::Size &aSize)
bool representsDefaultShape() const
Returns whether or not the current CustomShapeProperties represent a default shape preset that is rec...
void setShapeTypeOverride(bool bShapeTypeOverride)
std::unordered_map< sal_Int32, PropertyMap > PresetDataMap
std::vector< CustomShapeGuide > & getGuideList()
std::optional< GeomRect > & getTextRect()
std::vector< Path2D > & getPath2DList()
std::vector< CustomShapeGuide > maGuideList
sal_Int32 mnTextPreRotateAngle
static PresetDataMap maPresetDataMap
static sal_Int32 GetCustomShapeGuideValue(const std::vector< CustomShapeGuide > &rGuideList, std::u16string_view rFormulaName)
std::vector< CustomShapeGuide > maAdjustmentGuideList
css::uno::Sequence< sal_Int8 > const & getShapePresetTypeName() const
std::vector< AdjustHandle > & getAdjustHandleList()
sal_Int32 getShapePresetType() const
sal_Int32 mnShapePresetType
std::vector< CustomShapeGuide > & getAdjustmentGuideList()
std::optional< GeomRect > maTextRect
void setTextPreRotateAngle(sal_Int32 nAngle)
bool getShapeTypeOverride() const
static sal_Int32 SetCustomShapeGuideValue(std::vector< CustomShapeGuide > &rGuideList, const CustomShapeGuide &rGuide)
void setMirroredX(bool bMirroredX)
std::vector< css::drawing::EnhancedCustomShapeSegment > maSegments
std::vector< Path2D > maPath2DList
std::vector< ConnectionSite > maConnectionSiteList
std::vector< AdjustHandle > maAdjustHandleList
std::shared_ptr< CustomShapeProperties > CustomShapePropertiesPtr
std::optional< OUString > gdRef1
std::optional< css::drawing::EnhancedCustomShapeParameter > min2
std::optional< OUString > gdRef2
AdjustHandle(bool bPolar)
std::optional< css::drawing::EnhancedCustomShapeParameter > min1
std::optional< css::drawing::EnhancedCustomShapeParameter > max1
css::drawing::EnhancedCustomShapeParameterPair pos
std::optional< css::drawing::EnhancedCustomShapeParameter > max2
css::drawing::EnhancedCustomShapeParameter ang
css::drawing::EnhancedCustomShapeParameterPair pos
css::drawing::EnhancedCustomShapeParameter l
css::drawing::EnhancedCustomShapeParameter b
css::drawing::EnhancedCustomShapeParameter r
css::drawing::EnhancedCustomShapeParameter t
std::vector< css::drawing::EnhancedCustomShapeParameterPair > parameter