10#ifndef INCLUDED_OOX_EXPORT_DMLPRESETSHAPEXPORT_HXX
11#define INCLUDED_OOX_EXPORT_DMLPRESETSHAPEXPORT_HXX
13#include <com/sun/star/awt/Rectangle.hpp>
14#include <com/sun/star/uno/Any.hxx>
15#include <com/sun/star/uno/Reference.hxx>
16#include <com/sun/star/uno/Sequence.hxx>
18#include <rtl/ustring.hxx>
33struct EnhancedCustomShapeAdjustmentValue;
53 css::uno::Reference<css::drawing::XShape>
m_xShape;
69 css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>>
m_HandleValues;
81 css::uno::Reference<css::drawing::XShape> xShape);
109 const css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>>&
112 const css::uno::Sequence<css::drawing::EnhancedCustomShapeAdjustmentValue>&
123 bool WriteAV(
const OUString& sValName,
const OUString& sVal);
129 static css::uno::Any
FindHandleValue(css::uno::Sequence<css::beans::PropertyValue> aValues,
130 std::u16string_view sKey);
Class for exporting the custom shapes to OOXML preset ones, if possible.
const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > & GetHandleValues() const
AngleAdjustmentValue GetAdjustmentPointAngleValue(sal_Int32 nPoint)
OUString m_sPresetShapeType
bool StartAVListWriting()
std::pair< bool, bool > m_bIsFlipped
const css::uno::Sequence< css::drawing::EnhancedCustomShapeAdjustmentValue > & GetAdjustmentValues() const
RadiusAdjustmentValue GetAdjustmentPointRadiusValue(sal_Int32 nPoint)
YAdjustmentValue GetAdjustmentPointYValue(sal_Int32 nPoint)
bool HasHandleValue() const
~DMLPresetShapeExporter()
bool WriteShapeWithAVlist()
XAdjustmentValue GetAdjustmentPointXValue(sal_Int32 nPoint)
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > m_HandleValues
static css::uno::Any FindHandleValue(css::uno::Sequence< css::beans::PropertyValue > aValues, std::u16string_view sKey)
AdjustmentPointValueBase YAdjustmentValue
css::uno::Reference< css::drawing::XShape > m_xShape
AdjustmentPointValueBase RadiusAdjustmentValue
const OUString & GetShapeType() const
css::uno::Any GetHandleValueOfModificationPoint(sal_Int32 nPoint, std::u16string_view sType)
AdjustmentPointValueBase XAdjustmentValue
bool WriteAV(const OUString &sValName, const OUString &sVal)
DrawingML * m_pDMLexporter
DMLPresetShapeExporter()=delete
AdjustmentPointValueBase AngleAdjustmentValue
css::uno::Sequence< css::drawing::EnhancedCustomShapeAdjustmentValue > m_AdjustmentValues
std::optional< double > nMinVal
std::optional< double > nMaxVal
std::optional< double > nCurrVal