LibreOffice Module chart2 (master) 1
|
#include <LabelPositionHelper.hxx>
Public Member Functions | |
LabelPositionHelper ()=delete | |
LabelPositionHelper (sal_Int32 nDimensionCount, rtl::Reference< SvxShapeGroupAnyD > xLogicTarget) | |
virtual | ~LabelPositionHelper () |
css::awt::Point | transformSceneToScreenPosition (const css::drawing::Position3D &rScenePosition3D) const |
Static Public Member Functions | |
static void | changeTextAdjustment (tAnySequence &rPropValues, const tNameSequence &rPropNames, LabelAlignment eAlignment) |
static void | doDynamicFontResize (tAnySequence &rPropValues, const tNameSequence &rPropNames, const css::uno::Reference< css::beans::XPropertySet > &xAxisModelProps, const css::awt::Size &rNewReferenceSize) |
static void | correctPositionForRotation (const rtl::Reference< SvxShapeText > &xShape2DText, LabelAlignment eLabelAlignment, const double fRotationAngle, bool bRotateAroundCenter) |
Protected Attributes | |
sal_Int32 | m_nDimensionCount |
Private Attributes | |
rtl::Reference< SvxShapeGroupAnyD > | m_xLogicTarget |
Definition at line 36 of file LabelPositionHelper.hxx.
|
delete |
chart::LabelPositionHelper::LabelPositionHelper | ( | sal_Int32 | nDimensionCount, |
rtl::Reference< SvxShapeGroupAnyD > | xLogicTarget | ||
) |
Definition at line 36 of file LabelPositionHelper.cxx.
|
virtual |
Definition at line 44 of file LabelPositionHelper.cxx.
|
static |
Definition at line 54 of file LabelPositionHelper.cxx.
References chart::PropertyMapper::getValuePointer(), chart::LABEL_ALIGN_BOTTOM, chart::LABEL_ALIGN_LEFT, chart::LABEL_ALIGN_LEFT_BOTTOM, chart::LABEL_ALIGN_LEFT_TOP, chart::LABEL_ALIGN_RIGHT, chart::LABEL_ALIGN_RIGHT_BOTTOM, chart::LABEL_ALIGN_RIGHT_TOP, chart::LABEL_ALIGN_TOP, and u.
Referenced by chart::VSeriesPlotter::createDataLabel(), and chart::VPolarAngleAxis::createTextShapes_ForAngleAxis().
|
static |
Definition at line 415 of file LabelPositionHelper.cxx.
References chart::LABEL_ALIGN_BOTTOM, chart::LABEL_ALIGN_LEFT, chart::LABEL_ALIGN_LEFT_BOTTOM, chart::LABEL_ALIGN_LEFT_TOP, chart::LABEL_ALIGN_RIGHT, chart::LABEL_ALIGN_RIGHT_BOTTOM, chart::LABEL_ALIGN_RIGHT_TOP, and chart::LABEL_ALIGN_TOP.
Referenced by chart::VSeriesPlotter::createDataLabel(), and chart::createSingleLabel().
|
static |
Definition at line 93 of file LabelPositionHelper.cxx.
References chart::PropertyMapper::getValuePointer(), chart::lcl_doDynamicFontResize(), and u.
Referenced by chart::VPolarAngleAxis::createTextShapes_ForAngleAxis(), and chart::VDataSeries::getTextLabelMultiPropertyLists().
awt::Point chart::LabelPositionHelper::transformSceneToScreenPosition | ( | const css::drawing::Position3D & | rScenePosition3D | ) | const |
Definition at line 48 of file LabelPositionHelper.cxx.
References m_nDimensionCount, m_xLogicTarget, and chart::PlottingPositionHelper::transformSceneToScreenPosition().
Referenced by chart::AreaChart::createShapes(), chart::NetChart::createShapes(), chart::PieChart::createTextLabelShape(), chart::BarChart::getLabelScreenPositionAndAlignment(), and chart::PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCircleValues().
|
protected |
Definition at line 57 of file LabelPositionHelper.hxx.
Referenced by chart::PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCircleValues(), and transformSceneToScreenPosition().
|
private |
Definition at line 61 of file LabelPositionHelper.hxx.
Referenced by transformSceneToScreenPosition().