LibreOffice Module chart2 (master) 1
|
PropertyMapper provides easy mapping of the property names of various objects in the chart model, to the property names of the destination shape objects (those whose service names begin with com.sun.star.drawing.). More...
#include <PropertyMapper.hxx>
Static Public Member Functions | |
static void | setMappedProperties (const css::uno::Reference< css::beans::XPropertySet > &xTarget, const css::uno::Reference< css::beans::XPropertySet > &xSource, const tPropertyNameMap &rMap) |
static void | setMappedProperties (SvxShape &xTarget, const css::uno::Reference< css::beans::XPropertySet > &xSource, const tPropertyNameMap &rMap) |
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. More... | |
static void | getMultiPropertyListsFromValueMap (tNameSequence &rNames, tAnySequence &rValues, const tPropertyNameValueMap &rValueMap) |
static css::uno::Any * | getValuePointer (tAnySequence &rPropValues, const tNameSequence &rPropNames, std::u16string_view rPropName) |
static css::uno::Any * | getValuePointerForLimitedSpace (tAnySequence &rPropValues, const tNameSequence &rPropNames, bool bLimitedHeight) |
static void | setMultiProperties (const tNameSequence &rNames, const tAnySequence &rValues, SvxShape &xTarget) |
static const tPropertyNameMap & | getPropertyNameMapForCharacterProperties () |
static const tPropertyNameMap & | getPropertyNameMapForParagraphProperties () |
static const tPropertyNameMap & | getPropertyNameMapForFillProperties () |
static const tPropertyNameMap & | getPropertyNameMapForLineProperties () |
static const tPropertyNameMap & | getPropertyNameMapForFillAndLineProperties () |
static const tPropertyNameMap & | getPropertyNameMapForTextShapeProperties () |
static const tPropertyNameMap & | getPropertyNameMapForFilledSeriesProperties () |
static const tPropertyNameMap & | getPropertyNameMapForLineSeriesProperties () |
static const tPropertyNameMap & | getPropertyNameMapForTextLabelProperties () |
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 | 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 More... | |
PropertyMapper provides easy mapping of the property names of various objects in the chart model, to the property names of the destination shape objects (those whose service names begin with com.sun.star.drawing.).
Definition at line 45 of file PropertyMapper.hxx.
|
static |
Definition at line 213 of file PropertyMapper.cxx.
References uno::Any::hasValue(), and pValues.
Referenced by chart::VButton::createShapes(), getPreparedTextShapePropertyLists(), and getTextLabelMultiPropertyLists().
|
static |
adds line-, fill- and character properties and sets some suitable defaults for auto-grow properties
Definition at line 528 of file PropertyMapper.cxx.
References getMultiPropertyListsFromValueMap(), getPropertyNameMapForTextShapeProperties(), and getValueMap().
Referenced by chart::VSeriesPlotter::createRegressionCurveEquationShapes().
|
static |
Definition at line 264 of file PropertyMapper.cxx.
Referenced by getTextLabelMultiPropertyLists().
|
static |
Definition at line 382 of file PropertyMapper.cxx.
|
static |
Definition at line 445 of file PropertyMapper.cxx.
Referenced by chart::PieChart::createDataPoint().
|
static |
Definition at line 333 of file PropertyMapper.cxx.
|
static |
Definition at line 359 of file PropertyMapper.cxx.
Referenced by chart::VSeriesPlotter::addErrorBorder(), and chart::VSeriesPlotter::createErrorBar().
|
static |
Definition at line 408 of file PropertyMapper.cxx.
|
static |
Definition at line 319 of file PropertyMapper.cxx.
|
static |
Definition at line 438 of file PropertyMapper.cxx.
References aMap.
Referenced by getTextLabelMultiPropertyLists().
|
static |
Definition at line 401 of file PropertyMapper.cxx.
Referenced by getPreparedTextShapePropertyLists().
|
static |
Definition at line 493 of file PropertyMapper.cxx.
References getMultiPropertyListsFromValueMap(), getPropertyNameMapForCharacterProperties(), getPropertyNameMapForTextLabelProperties(), and getValueMap().
Referenced by chart::VButton::createShapes(), chart::VPolarAngleAxis::createTextShapes_ForAngleAxis(), and chart::VDataSeries::getTextLabelMultiPropertyLists().
|
static |
Fetch property values from the source object and map it to the destination container.
Only those properties that are explicitly set will be inserted into the destination container.
rValueMap | destination container |
rNameMap | property name mapping rule |
xSourceProp | source object from which the property values are pulled. |
Definition at line 164 of file PropertyMapper.cxx.
References uno::Any::hasValue(), i, n, rTarget, and TOOLS_WARN_EXCEPTION.
Referenced by getPreparedTextShapePropertyLists(), and getTextLabelMultiPropertyLists().
|
static |
Definition at line 243 of file PropertyMapper.cxx.
References nCount.
Referenced by chart::LabelPositionHelper::changeTextAdjustment(), chart::VPolarAngleAxis::createTextShapes_ForAngleAxis(), chart::LabelPositionHelper::doDynamicFontResize(), and getValuePointerForLimitedSpace().
|
static |
Definition at line 256 of file PropertyMapper.cxx.
References getValuePointer().
|
static |
|
static |
|
static |
Definition at line 478 of file PropertyMapper.cxx.
References TOOLS_WARN_EXCEPTION, and xTarget.
Referenced by chart::lcl_ResizeTextShapeToFitAvailableSpace().