|
LibreOffice Module chart2 (master) 1
|
#include <VAxisProperties.hxx>
Public Member Functions | |
| AxisProperties (rtl::Reference<::chart::Axis > xAxisModel, ExplicitCategoriesProvider *pExplicitCategoriesProvider, rtl::Reference<::chart::DataTable > const &xDataTableModel) | |
| void | init (bool bCartesian=false) |
| void | initAxisPositioning (const css::uno::Reference< css::beans::XPropertySet > &xAxisProp) |
| TickmarkProperties | makeTickmarkPropertiesForComplexCategories (sal_Int32 nTickLength, sal_Int32 nTickStartDistanceToAxis) const |
Static Public Member Functions | |
| static TickmarkProperties | getBiggestTickmarkProperties () |
Private Member Functions | |
| AxisProperties ()=delete | |
| TickmarkProperties | makeTickmarkProperties (sal_Int32 nDepth) const |
| const VLineProperties & | makeLinePropertiesForDepth () const |
Definition at line 94 of file VAxisProperties.hxx.
| chart::AxisProperties::AxisProperties | ( | rtl::Reference<::chart::Axis > | xAxisModel, |
| ExplicitCategoriesProvider * | pExplicitCategoriesProvider, | ||
| rtl::Reference<::chart::DataTable > const & | xDataTableModel | ||
| ) |
Definition at line 156 of file VAxisProperties.cxx.
|
privatedelete |
|
static |
Definition at line 147 of file VAxisProperties.cxx.
References chart::lcl_calcTickLengthForDepth(), chart::lcl_getTickOffset(), chart::TickmarkProperties::Length, and chart::TickmarkProperties::RelativePos.
Referenced by chart::TickFactory2D::getDistanceAxisTickToText().
| void chart::AxisProperties::init | ( | bool | bCartesian = false | ) |
Definition at line 246 of file VAxisProperties.cxx.
References chart::AxisHelper::checkDateAxis(), chart::ExplicitCategoriesProvider::hasComplexCategories(), initAxisPositioning(), chart::VLineProperties::initFromPropertySet(), chart::lcl_getLabelAlignmentForXAxis(), chart::lcl_getLabelAlignmentForYAxis(), chart::lcl_getLabelAlignmentForZAxis(), m_aLineProperties, m_aTickmarkPropertiesList, m_bComplexCategories, m_bCrossingAxisHasReverseDirection, m_bDataTableAlignAxisValuesWithColumns, m_bDisplayDataTable, m_bDisplayLabels, m_bSwapXAndY, m_bTryStaggeringFirst, m_eCrossoverType, m_eLabelPos, m_nAxisType, m_nDimensionIndex, m_nMajorTickmarks, m_nMinorTickmarks, m_pExplicitCategoriesProvider, m_xAxisModel, m_xDataTableModel, makeTickmarkProperties(), maLabelAlignment, chart::AxisLabelAlignment::meAlignment, chart::AxisLabelAlignment::mfInnerTickDirection, chart::AxisLabelAlignment::mfLabelDirection, and TOOLS_WARN_EXCEPTION.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), chart::VPolarCoordinateSystem::createVAxisList(), and chart::VPolarRadiusAxis::VPolarRadiusAxis().
| void chart::AxisProperties::initAxisPositioning | ( | const css::uno::Reference< css::beans::XPropertySet > & | xAxisProp | ) |
Definition at line 207 of file VAxisProperties.cxx.
References chart::AxisHelper::isAxisPositioningEnabled(), m_bCrossingAxisHasReverseDirection, m_bCrossingAxisIsCategoryAxes, m_bIsMainAxis, m_eCrossoverType, m_eLabelPos, m_eTickmarkPos, m_pfMainLinePositionAtOtherAxis, and TOOLS_WARN_EXCEPTION.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and init().
|
inlineprivate |
Definition at line 167 of file VAxisProperties.hxx.
References m_aLineProperties.
Referenced by makeTickmarkProperties(), and makeTickmarkPropertiesForComplexCategories().
|
private |
Definition at line 97 of file VAxisProperties.cxx.
References chart::TickmarkProperties::aLineProperties, chart::lcl_calcTickLengthForDepth(), chart::lcl_getTickOffset(), chart::TickmarkProperties::Length, m_nMajorTickmarks, m_nMinorTickmarks, makeLinePropertiesForDepth(), maLabelAlignment, chart::AxisLabelAlignment::mfInnerTickDirection, and chart::TickmarkProperties::RelativePos.
Referenced by init().
| TickmarkProperties chart::AxisProperties::makeTickmarkPropertiesForComplexCategories | ( | sal_Int32 | nTickLength, |
| sal_Int32 | nTickStartDistanceToAxis | ||
| ) | const |
Definition at line 135 of file VAxisProperties.cxx.
References chart::TickmarkProperties::aLineProperties, chart::lcl_getTickOffset(), chart::TickmarkProperties::Length, makeLinePropertiesForDepth(), maLabelAlignment, chart::AxisLabelAlignment::mfInnerTickDirection, chart::AxisLabelAlignment::mfLabelDirection, and chart::TickmarkProperties::RelativePos.
| VLineProperties chart::AxisProperties::m_aLineProperties |
Definition at line 135 of file VAxisProperties.hxx.
Referenced by chart::VPolarAngleAxis::createShapes(), init(), and makeLinePropertiesForDepth().
| std::vector<TickmarkProperties> chart::AxisProperties::m_aTickmarkPropertiesList |
Definition at line 133 of file VAxisProperties.hxx.
Referenced by chart::TickFactory2D::getDistanceAxisTickToText(), and init().
| bool chart::AxisProperties::m_bComplexCategories |
Definition at line 139 of file VAxisProperties.hxx.
Referenced by chart::createSingleLabel(), init(), chart::VAxisBase::initAxisLabelProperties(), and chart::VAxisBase::isComplexCategoryAxis().
| bool chart::AxisProperties::m_bCrossingAxisHasReverseDirection |
Definition at line 109 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), init(), and initAxisPositioning().
| bool chart::AxisProperties::m_bCrossingAxisIsCategoryAxes |
Definition at line 110 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and initAxisPositioning().
| bool chart::AxisProperties::m_bDataTableAlignAxisValuesWithColumns |
Definition at line 116 of file VAxisProperties.hxx.
Referenced by init().
| bool chart::AxisProperties::m_bDisplayDataTable |
Definition at line 115 of file VAxisProperties.hxx.
Referenced by init(), and chart::VAxisBase::prepareShapeCreation().
| bool chart::AxisProperties::m_bDisplayLabels |
Definition at line 118 of file VAxisProperties.hxx.
Referenced by chart::VPolarAngleAxis::createLabels(), chart::VPolarRadiusAxis::createShapes(), chart::VCartesianCoordinateSystem::createVAxisList(), chart::VPolarCoordinateSystem::createVAxisList(), init(), chart::VAxisBase::initAxisLabelProperties(), and chart::VAxisBase::prepareShapeCreation().
| bool chart::AxisProperties::m_bIsMainAxis |
Definition at line 99 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), initAxisPositioning(), and chart::VPolarRadiusAxis::VPolarRadiusAxis().
| bool chart::AxisProperties::m_bLimitSpaceForLabels |
Definition at line 144 of file VAxisProperties.hxx.
Referenced by chart::createSingleLabel(), and chart::VCartesianCoordinateSystem::createVAxisList().
| bool chart::AxisProperties::m_bSwapXAndY |
Definition at line 100 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and init().
| bool chart::AxisProperties::m_bTryStaggeringFirst |
Definition at line 123 of file VAxisProperties.hxx.
Referenced by init().
| css::chart::ChartAxisPosition chart::AxisProperties::m_eCrossoverType |
Definition at line 102 of file VAxisProperties.hxx.
Referenced by init(), and initAxisPositioning().
| css::chart::ChartAxisLabelPosition chart::AxisProperties::m_eLabelPos |
Definition at line 103 of file VAxisProperties.hxx.
Referenced by chart::TickFactory2D::getDistanceAxisTickToText(), init(), and initAxisPositioning().
| css::chart::ChartAxisMarkPosition chart::AxisProperties::m_eTickmarkPos |
Definition at line 104 of file VAxisProperties.hxx.
Referenced by initAxisPositioning().
| sal_Int32 chart::AxisProperties::m_nAxisType |
Definition at line 138 of file VAxisProperties.hxx.
Referenced by init(), and chart::VAxisBase::initAxisLabelProperties().
| sal_Int32 chart::AxisProperties::m_nDimensionIndex |
Definition at line 98 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and init().
| sal_Int32 chart::AxisProperties::m_nMajorTickmarks |
Definition at line 131 of file VAxisProperties.hxx.
Referenced by init(), and makeTickmarkProperties().
| sal_Int32 chart::AxisProperties::m_nMinorTickmarks |
Definition at line 132 of file VAxisProperties.hxx.
Referenced by init(), and makeTickmarkProperties().
| sal_Int32 chart::AxisProperties::m_nNumberFormatKey |
Definition at line 125 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), chart::VPolarCoordinateSystem::createVAxisList(), and chart::VAxisBase::initAxisLabelProperties().
| ExplicitCategoriesProvider* chart::AxisProperties::m_pExplicitCategoriesProvider |
Definition at line 140 of file VAxisProperties.hxx.
Referenced by init(), and chart::VAxisBase::initAxisLabelProperties().
| std::optional<double> chart::AxisProperties::m_pfExrtaLinePositionAtOtherAxis |
Definition at line 107 of file VAxisProperties.hxx.
Referenced by chart::VAxisBase::setExtraLinePositionAtOtherAxis().
| std::optional<double> chart::AxisProperties::m_pfMainLinePositionAtOtherAxis |
Definition at line 106 of file VAxisProperties.hxx.
Referenced by chart::VPolarRadiusAxis::createShapes(), and initAxisPositioning().
| rtl::Reference<::chart::Axis> chart::AxisProperties::m_xAxisModel |
Definition at line 96 of file VAxisProperties.hxx.
Referenced by chart::VPolarAngleAxis::createTextShapes_ForAngleAxis(), chart::getAxisLabelProperties(), init(), chart::VAxisBase::initAxisLabelProperties(), and chart::VAxisBase::isAnythingToDraw().
| css::uno::Reference<css::chart2::data::XTextualDataSequence> chart::AxisProperties::m_xAxisTextProvider |
Definition at line 141 of file VAxisProperties.hxx.
Referenced by chart::VCartesianCoordinateSystem::createVAxisList(), and chart::VAxisBase::initAxisLabelProperties().
| rtl::Reference<::chart::DataTable> chart::AxisProperties::m_xDataTableModel |
Definition at line 146 of file VAxisProperties.hxx.
Referenced by init().
| AxisLabelAlignment chart::AxisProperties::maLabelAlignment |
Definition at line 112 of file VAxisProperties.hxx.
Referenced by chart::createSingleLabel(), chart::getAxisLabelProperties(), chart::TickFactory2D::getDistanceAxisTickToText(), init(), chart::lcl_getLabelAlignmentForXAxis(), chart::lcl_getLabelAlignmentForYAxis(), chart::lcl_getLabelAlignmentForZAxis(), makeTickmarkProperties(), makeTickmarkPropertiesForComplexCategories(), and chart::VPolarRadiusAxis::VPolarRadiusAxis().