LibreOffice Module chart2 (master) 1
|
#include <VPolarAngleAxis.hxx>
Public Member Functions | |
VPolarAngleAxis (const AxisProperties &rAxisProperties, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier, sal_Int32 nDimensionCount) | |
virtual | ~VPolarAngleAxis () override |
virtual void | createMaximumLabels () override |
virtual void | createLabels () override |
virtual void | updatePositions () override |
virtual void | createShapes () override |
Public Member Functions inherited from chart::VPolarAxis | |
void | setIncrements (std::vector< ExplicitIncrementData > &&rIncrements) |
virtual bool | isAnythingToDraw () override |
virtual | ~VPolarAxis () override |
Public Member Functions inherited from chart::VAxisBase | |
VAxisBase (sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount, const AxisProperties &rAxisProperties, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier) | |
virtual | ~VAxisBase () override |
sal_Int32 | getDimensionCount () const |
Return the number of dimensions the diagram has. More... | |
virtual void | createMaximumLabels ()=0 |
virtual void | createLabels ()=0 |
virtual void | updatePositions ()=0 |
virtual bool | isAnythingToDraw () |
virtual void | initAxisLabelProperties (const css::awt::Size &rFontReferenceSize, const css::awt::Rectangle &rMaximumSpaceForLabels) |
virtual void | setExplicitScaleAndIncrement (const ExplicitScaleData &rScale, const ExplicitIncrementData &rIncrement) override |
virtual sal_Int32 | estimateMaximumAutoMainIncrementCount () |
virtual void | createAllTickInfos (TickInfoArraysType &rAllTickInfos) |
void | setExtraLinePositionAtOtherAxis (double fCrossingAt) |
virtual void | createDataTableView (std::vector< std::unique_ptr< VSeriesPlotter > > &rSeriesPlotterList, css::uno::Reference< css::util::XNumberFormatsSupplier > const &xNumberFormatsSupplier, rtl::Reference<::chart::ChartModel > const &xChartDoc, css::uno::Reference< css::uno::XComponentContext > const &rComponentContext) |
std::shared_ptr< DataTableView > | getDataTableView () |
Public Member Functions inherited from chart::VAxisOrGridBase | |
VAxisOrGridBase (sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount) | |
virtual | ~VAxisOrGridBase () override |
virtual void | setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix) override |
virtual void | setExplicitScaleAndIncrement (const ExplicitScaleData &rScale, const ExplicitIncrementData &rIncrement) |
void | set3DWallPositions (CuboidPlanePosition eLeftWallPos, CuboidPlanePosition eBackWallPos, CuboidPlanePosition eBottomPos) |
virtual TickFactory * | createTickFactory () |
Public Member Functions inherited from chart::PlotterBase | |
PlotterBase (sal_Int32 nDimension) | |
virtual | ~PlotterBase () |
virtual void | initPlotter (const rtl::Reference< SvxShapeGroupAnyD > &xLogicTarget, const rtl::Reference< SvxShapeGroupAnyD > &xFinalTarget, const OUString &rCID) |
virtual void | setScales (std::vector< ExplicitScaleData > &&rScales, bool bSwapXAndYAxis) |
virtual void | setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix) |
virtual void | createShapes ()=0 |
Private Member Functions | |
void | createTextShapes_ForAngleAxis (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, EquidistantTickIter &rTickIter, AxisLabelProperties const &rAxisLabelProperties, double fLogicRadius, double fLogicZ) |
Additional Inherited Members | |
Static Public Member Functions inherited from chart::VPolarAxis | |
static std::shared_ptr< VPolarAxis > | createAxis (const AxisProperties &rAxisProperties, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier, sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount) |
Static Public Member Functions inherited from chart::PlotterBase | |
static bool | isValidPosition (const css::drawing::Position3D &rPos) |
Protected Member Functions inherited from chart::VPolarAxis | |
VPolarAxis (const AxisProperties &rAxisProperties, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier, sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount) | |
Protected Member Functions inherited from chart::VAxisBase | |
void | removeTextShapesFromTicks () |
void | updateUnscaledValuesAtTicks (TickIter &rIter) |
virtual bool | prepareShapeCreation () |
void | recordMaximumTextSize (SvxShape &xShape, double fRotationAngleDegree) |
bool | isDateAxis () const |
bool | isComplexCategoryAxis () const |
Protected Member Functions inherited from chart::PlotterBase | |
rtl::Reference< SvxShapeGroupAnyD > | createGroupShape (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &rName=OUString()) |
Static Protected Member Functions inherited from chart::VAxisBase | |
static size_t | getIndexOfLongestLabel (const css::uno::Sequence< OUString > &rLabels) |
Protected Attributes inherited from chart::VPolarAxis | |
std::unique_ptr< PolarPlottingPositionHelper > | m_pPosHelper |
std::vector< ExplicitIncrementData > | m_aIncrements |
Protected Attributes inherited from chart::VAxisBase | |
css::uno::Reference< css::util::XNumberFormatsSupplier > | m_xNumberFormatsSupplier |
AxisProperties | m_aAxisProperties |
AxisLabelProperties | m_aAxisLabelProperties |
css::uno::Sequence< OUString > | m_aTextLabels |
bool | m_bUseTextLabels |
rtl::Reference< SvxShapeGroupAnyD > | m_xGroupShape_Shapes |
rtl::Reference< SvxShapeGroupAnyD > | m_xTextTarget |
rtl::Reference< SvxShapeGroupAnyD > | m_xDataTableTarget |
std::shared_ptr< DataTableView > | m_pDataTableView |
TickInfoArraysType | m_aAllTickInfos |
This typically consists of 2 TickInfo vectors (i.e. More... | |
bool | m_bReCreateAllTickInfos |
bool | m_bRecordMaximumTextSize |
sal_Int32 | m_nMaximumTextWidthSoFar |
sal_Int32 | m_nMaximumTextHeightSoFar |
Protected Attributes inherited from chart::VAxisOrGridBase | |
ExplicitScaleData | m_aScale |
ExplicitIncrementData | m_aIncrement |
sal_Int32 | m_nDimensionIndex |
::basegfx::B3DHomMatrix | m_aMatrixScreenToScene |
CuboidPlanePosition | m_eLeftWallPos |
CuboidPlanePosition | m_eBackWallPos |
CuboidPlanePosition | m_eBottomPos |
Protected Attributes inherited from chart::PlotterBase | |
rtl::Reference< SvxShapeGroupAnyD > | m_xLogicTarget |
rtl::Reference< SvxShapeGroupAnyD > | m_xFinalTarget |
OUString | m_aCID |
const sal_Int32 | m_nDimension |
PlottingPositionHelper * | m_pPosHelper |
Definition at line 27 of file VPolarAngleAxis.hxx.
chart::VPolarAngleAxis::VPolarAngleAxis | ( | const AxisProperties & | rAxisProperties, |
const css::uno::Reference< css::util::XNumberFormatsSupplier > & | xNumberFormatsSupplier, | ||
sal_Int32 | nDimensionCount | ||
) |
Definition at line 38 of file VPolarAngleAxis.cxx.
|
overridevirtual |
Definition at line 45 of file VPolarAngleAxis.cxx.
|
overridevirtual |
Implements chart::VAxisBase.
Definition at line 154 of file VPolarAngleAxis.cxx.
References createTextShapes_ForAngleAxis(), chart::VAxisBase::m_aAllTickInfos, chart::VAxisBase::m_aAxisLabelProperties, chart::VAxisBase::m_aAxisProperties, chart::VAxisOrGridBase::m_aIncrement, chart::AxisProperties::m_bDisplayLabels, chart::AxisLabelProperties::m_bOverlapAllowed, chart::VPolarAxis::m_pPosHelper, chart::VAxisBase::m_xTextTarget, chart::VAxisBase::prepareShapeCreation(), chart::VAxisBase::removeTextShapesFromTicks(), and chart::VAxisBase::updateUnscaledValuesAtTicks().
Referenced by createMaximumLabels(), createShapes(), and updatePositions().
|
overridevirtual |
Implements chart::VAxisBase.
Definition at line 136 of file VPolarAngleAxis.cxx.
References createLabels(), and chart::VAxisBase::prepareShapeCreation().
|
overridevirtual |
Implements chart::PlotterBase.
Definition at line 183 of file VPolarAngleAxis.cxx.
References createLabels(), chart::ShapeFactory::createLine2D(), chart::VPolarGrid::createLinePointSequence_ForAngleAxis(), chart::VAxisBase::m_aAllTickInfos, chart::VAxisBase::m_aAxisProperties, chart::VAxisOrGridBase::m_aIncrement, chart::AxisProperties::m_aLineProperties, chart::VAxisOrGridBase::m_aScale, chart::VPolarAxis::m_pPosHelper, chart::VAxisBase::m_xGroupShape_Shapes, chart::VAxisBase::prepareShapeCreation(), and chart::ShapeFactory::setShapeName().
|
private |
Definition at line 49 of file VPolarAngleAxis.cxx.
References aLabel, aPropNames, chart::LabelPositionHelper::changeTextAdjustment(), COL_AUTO(), chart::ShapeFactory::createText(), basegfx::deg2rad(), chart::LabelPositionHelper::doDynamicFontResize(), chart::EquidistantTickIter::firstInfo(), chart::FixedNumberFormatter::getFormattedString(), chart::PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForLogicValues(), getLength(), chart::ShapeFactory::getStackedString(), chart::PropertyMapper::getTextLabelMultiPropertyLists(), chart::PropertyMapper::getValuePointer(), chart::LABEL_ALIGN_CENTER, chart::VAxisBase::m_aAxisLabelProperties, chart::VAxisBase::m_aAxisProperties, chart::AxisLabelProperties::m_aFontReferenceSize, chart::AxisLabelProperties::m_aMaximumSpaceForLabels, chart::VAxisBase::m_aTextLabels, chart::AxisLabelProperties::m_bStackCharacters, chart::VAxisBase::m_bUseTextLabels, chart::AxisLabelProperties::m_fRotationAngleDegree, chart::AxisLabelProperties::m_nNumberFormatKey, chart::AxisLabelProperties::m_nRhythm, chart::VPolarAxis::m_pPosHelper, chart::AxisProperties::m_xAxisModel, chart::VAxisBase::m_xNumberFormatsSupplier, chart::ShapeFactory::makeTransformation(), chart::EquidistantTickIter::nextInfo(), nIndex, pLabels, u, and xTarget.
Referenced by createLabels().
|
overridevirtual |
Implements chart::VAxisBase.
Definition at line 144 of file VPolarAngleAxis.cxx.
References createLabels(), and chart::VAxisBase::prepareShapeCreation().