23#include <unordered_map>
25#include <com/sun/star/uno/Sequence.h>
26#include <com/sun/star/uno/Reference.h>
49 const css::uno::Reference< css::beans::XPropertySet >& xTarget
50 ,
const css::uno::Reference< css::beans::XPropertySet >& xSource
55 ,
const css::uno::Reference< css::beans::XPropertySet >& xSource
71 ,
const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
83 , std::u16string_view rPropName );
88 ,
bool bLimitedHeight );
107 const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
110 , sal_Int32 nLimitedSpace=-1
111 ,
bool bLimitedHeight=
false
112 ,
bool bSupportsLabelBorder =
true);
118 const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
PropertyMapper provides easy mapping of the property names of various objects in the chart model,...
static const tPropertyNameMap & getPropertyNameMapForFillAndLineProperties()
static css::uno::Any * getValuePointerForLimitedSpace(tAnySequence &rPropValues, const tNameSequence &rPropNames, bool bLimitedHeight)
static const tPropertyNameMap & getPropertyNameMapForTextShapeProperties()
static css::uno::Any * getValuePointer(tAnySequence &rPropValues, const tNameSequence &rPropNames, std::u16string_view rPropName)
static void setMultiProperties(const tNameSequence &rNames, const tAnySequence &rValues, SvxShape &xTarget)
static const tPropertyNameMap & getPropertyNameMapForLineProperties()
static void setMappedProperties(SvxShape &xTarget, const css::uno::Reference< css::beans::XPropertySet > &xSource, const tPropertyNameMap &rMap)
static const tPropertyNameMap & getPropertyNameMapForFilledSeriesProperties()
static const tPropertyNameMap & getPropertyNameMapForTextLabelProperties()
static const tPropertyNameMap & getPropertyNameMapForCharacterProperties()
static void getMultiPropertyListsFromValueMap(tNameSequence &rNames, tAnySequence &rValues, const tPropertyNameValueMap &rValueMap)
static const tPropertyNameMap & getPropertyNameMapForFillProperties()
static const tPropertyNameMap & getPropertyNameMapForLineSeriesProperties()
static void getPreparedTextShapePropertyLists(const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, tNameSequence &rPropNames, tAnySequence &rPropValues)
adds line-, fill- and character properties and sets some suitable defaults for auto-grow properties
static void getTextLabelMultiPropertyLists(const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, tNameSequence &rPropNames, tAnySequence &rPropValues, bool bName=true, sal_Int32 nLimitedSpace=-1, bool bLimitedHeight=false, bool bSupportsLabelBorder=true)
static void getValueMap(tPropertyNameValueMap &rValueMap, const tPropertyNameMap &rNameMap, const css::uno::Reference< css::beans::XPropertySet > &xSourceProp)
Fetch property values from the source object and map it to the destination container.
static const tPropertyNameMap & getPropertyNameMapForParagraphProperties()
static void setMappedProperties(const css::uno::Reference< css::beans::XPropertySet > &xTarget, const css::uno::Reference< css::beans::XPropertySet > &xSource, const tPropertyNameMap &rMap)
css::uno::Sequence< OUString > tNameSequence
std::unordered_map< OUString, OUString > tPropertyNameMap
css::uno::Sequence< css::uno::Any > tAnySequence
std::unordered_map< OUString, css::uno::Any > tPropertyNameValueMap
class SAL_NO_VTABLE XPropertySet