LibreOffice Module chart2 (master) 1
|
#include <AxisHelper.hxx>
Static Public Member Functions | |
static css::uno::Reference< css::chart2::XScaling > | createLinearScaling () |
static css::uno::Reference< css::chart2::XScaling > | createLogarithmicScaling (double fBase=10.0) |
static css::chart2::ScaleData | createDefaultScale () |
static void | removeExplicitScaling (css::chart2::ScaleData &rScaleData) |
static bool | isLogarithmic (const css::uno::Reference< css::chart2::XScaling > &xScaling) |
static void | checkDateAxis (css::chart2::ScaleData &rScale, ExplicitCategoriesProvider *pExplicitCategoriesProvider, bool bChartTypeAllowsDateAxis) |
static css::chart2::ScaleData | getDateCheckedScale (const rtl::Reference< ::chart::Axis > &xAxis, ChartModel &rModel) |
static sal_Int32 | getExplicitNumberFormatKeyForAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCorrespondingCoordinateSystem, const rtl::Reference< ::chart::ChartModel > &xChartDoc, bool bSearchForParallelAxisIfNothingIsFound) |
static rtl::Reference< ::chart::Axis > | createAxis (sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Reference< css::uno::XComponentContext > &xContext, ReferenceSizeProvider *pRefSizeProvider=nullptr) |
static rtl::Reference< ::chart::Axis > | createAxis (sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, const css::uno::Reference< css::uno::XComponentContext > &xContext, ReferenceSizeProvider *pRefSizeProvider=nullptr) |
static void | showAxis (sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Reference< css::uno::XComponentContext > &xContext, ReferenceSizeProvider *pRefSizeProvider=nullptr) |
static void | showGrid (sal_Int32 nDimensionIndex, sal_Int32 nCooSysIndex, bool bMainGrid, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static void | hideAxis (sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static void | hideGrid (sal_Int32 nDimensionIndex, sal_Int32 nCooSysIndex, bool bMainGrid, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static bool | isAxisShown (sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static bool | isGridShown (sal_Int32 nDimensionIndex, sal_Int32 nCooSysIndex, bool bMainGrid, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static void | makeAxisVisible (const rtl::Reference< ::chart::Axis > &xAxis) |
static void | makeGridVisible (const rtl::Reference< ::chart::GridProperties > &xGridProperties) |
static void | makeAxisInvisible (const rtl::Reference< ::chart::Axis > &xAxis) |
static void | makeGridInvisible (const rtl::Reference< ::chart::GridProperties > &xGridProperties) |
static void | hideAxisIfNoDataIsAttached (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static SAL_DLLPRIVATE bool | areAxisLabelsVisible (const rtl::Reference< ::chart::Axis > &xAxisProperties) |
static bool | isAxisVisible (const rtl::Reference< ::chart::Axis > &xAxis) |
static bool | isGridVisible (const rtl::Reference< ::chart::GridProperties > &xGridProperties) |
static rtl::Reference< ::chart::BaseCoordinateSystem > | getCoordinateSystemByIndex (const rtl::Reference< ::chart::Diagram > &xDiagram, sal_Int32 nIndex) |
static rtl::Reference< ::chart::BaseCoordinateSystem > | getCoordinateSystemOfAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static rtl::Reference< ::chart::Axis > | getAxis (sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static rtl::Reference< ::chart::Axis > | getAxis (sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys) |
static rtl::Reference< ::chart::Axis > | getCrossingMainAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys) |
static rtl::Reference< ::chart::Axis > | getParallelAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static rtl::Reference< ::chart::GridProperties > | getGridProperties (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex, sal_Int32 nSubGridIndex) |
static sal_Int32 | getDimensionIndexOfAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram) |
static bool | getIndicesForAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 &rOutDimensionIndex, sal_Int32 &rOutAxisIndex) |
static bool | getIndicesForAxis (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram, sal_Int32 &rOutCooSysIndex, sal_Int32 &rOutDimensionIndex, sal_Int32 &rOutAxisIndex) |
static std::vector< rtl::Reference< ::chart::Axis > > | getAllAxesOfDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram, bool bOnlyVisible=false) |
static SAL_DLLPRIVATE std::vector< rtl::Reference< ::chart::Axis > > | getAllAxesOfCoordinateSystem (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, bool bOnlyVisible=false) |
static std::vector< rtl::Reference< ::chart::GridProperties > > | getAllGrids (const rtl::Reference< ::chart::Diagram > &xDiagram) |
static void | getAxisOrGridPossibilities (css::uno::Sequence< sal_Bool > &rPossibilityList, const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAxis=true) |
static void | getAxisOrGridExistence (css::uno::Sequence< sal_Bool > &rExistenceList, const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAxis=true) |
static bool | changeVisibilityOfGrids (const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Sequence< sal_Bool > &rOldExistenceList, const css::uno::Sequence< sal_Bool > &rNewExistenceList) |
static bool | changeVisibilityOfAxes (const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Sequence< sal_Bool > &rOldExistenceList, const css::uno::Sequence< sal_Bool > &rNewExistenceList, const css::uno::Reference< css::uno::XComponentContext > &xContext, ReferenceSizeProvider *pRefSizeProvider) |
static bool | shouldAxisBeDisplayed (const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys) |
static bool | isSecondaryYAxisNeeded (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys) |
static rtl::Reference< ::chart::ChartType > | getChartTypeByIndex (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 nIndex) |
static void | setRTLAxisLayout (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys) |
static rtl::Reference< ::chart::ChartType > | getFirstChartTypeWithSeriesAttachedToAxisIndex (const rtl::Reference< ::chart::Diagram > &xDiagram, const sal_Int32 nAttachedAxisIndex) |
static bool | isAxisPositioningEnabled () |
Definition at line 47 of file AxisHelper.hxx.
|
static |
Definition at line 655 of file AxisHelper.cxx.
Referenced by isAxisVisible().
|
static |
Definition at line 940 of file AxisHelper.cxx.
References hideAxis(), and showAxis().
Referenced by chart::ChartController::executeDispatch_InsertAxes().
|
static |
Definition at line 963 of file AxisHelper.cxx.
References hideGrid(), and showGrid().
Referenced by chart::TitlesAndObjectsTabPage::commitToModel(), and chart::ChartController::executeDispatch_InsertGrid().
|
static |
Definition at line 124 of file AxisHelper.cxx.
References chart::ExplicitCategoriesProvider::isDateAxis(), and removeExplicitScaling().
Referenced by chart::AxisProperties::init(), and chart::SeriesPlotterContainer::initAxisUsageList().
|
static |
|
static |
|
static |
Definition at line 75 of file AxisHelper.cxx.
Referenced by removeExplicitScaling().
|
static |
Definition at line 65 of file AxisHelper.cxx.
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::ChartType::createCoordinateSystem2(), chart::BubbleChartType::createCoordinateSystem2(), chart::NetChartType_Base::createCoordinateSystem2(), chart::PieChartType::createCoordinateSystem2(), and chart::ScatterChartType::createCoordinateSystem2().
|
static |
Definition at line 70 of file AxisHelper.cxx.
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem(), and chart::ScaleAutomatism::calculateExplicitIncrementAndScaleForLogarithmic().
|
static |
bOnlyVisible | if </TRUE>, only axes with property "Show" set to </sal_True> are returned |
Definition at line 765 of file AxisHelper.cxx.
References DBG_UNHANDLED_EXCEPTION.
Referenced by getAllAxesOfDiagram(), and getCoordinateSystemOfAxis().
|
static |
bOnlyVisible | if </TRUE>, only axes with property "Show" set to </sal_True> are returned |
Definition at line 809 of file AxisHelper.cxx.
References getAllAxesOfCoordinateSystem().
Referenced by chart::wrapper::AllAxisItemConverter::AllAxisItemConverter(), chart::ObjectHierarchy::createAxesTree(), chart::ObjectHierarchy::createTree(), getAllGrids(), chart::ReferenceSizeProvider::getAutoResizeState(), chart::ChartTypeTemplate::resetStyles2(), and chart::ReferenceSizeProvider::setAutoResizeState().
|
static |
Definition at line 824 of file AxisHelper.cxx.
References getAllAxesOfDiagram().
Referenced by chart::wrapper::AllGridItemConverter::AllGridItemConverter().
|
static |
Referenced by chart::ChartTypeTemplate::adaptAxes(), chart::PieChartTypeTemplate::adaptScales(), chart::wrapper::SeriesOptionsItemConverter::ApplySpecialItem(), chart::Diagram::attachSeriesToAxis(), chart::ChartTypeTemplate::createAxes(), chart::Diagram::getAttachedAxis(), chart::wrapper::AxisWrapper::getAxis(), chart::ObjectIdentifier::getAxisForCID(), chart::InsertErrorBarsDialog::getAxisMinorStepWidthForErrorBarDecimals(), getCrossingMainAxis(), getExplicitNumberFormatKeyForAxis(), getGridProperties(), chart::ObjectIdentifier::getObjectPropertySet(), getParallelAxis(), hideAxis(), hideGrid(), isAxisShown(), isGridShown(), chart::PieChartTypeTemplate::resetStyles2(), chart::wrapper::SeriesOptionsItemConverter::SeriesOptionsItemConverter(), setRTLAxisLayout(), showAxis(), showGrid(), and chart::impl::ModelState::update().
|
static |
|
static |
Definition at line 915 of file AxisHelper.cxx.
References isAxisShown(), and isGridShown().
Referenced by chart::TitlesAndObjectsTabPage::commitToModel(), chart::ChartController::executeDispatch_InsertAxes(), chart::ChartController::executeDispatch_InsertGrid(), and chart::TitlesAndObjectsTabPage::initializePage().
|
static |
Definition at line 846 of file AxisHelper.cxx.
References chart::ChartTypeHelper::isSupportingMainAxis(), chart::ChartTypeHelper::isSupportingSecondaryAxis(), and nIndex.
Referenced by chart::ChartController::executeDispatch_InsertAxes(), chart::ChartController::executeDispatch_InsertGrid(), chart::TitlesAndObjectsTabPage::initializePage(), and chart::TitleDialogData::readFromModel().
|
static |
Definition at line 1004 of file AxisHelper.cxx.
References o3tl::make_unsigned(), and nIndex.
Referenced by chart::wrapper::AxisItemConverter::FillSpecialItem(), getDateCheckedScale(), chart::SeriesPlotterContainer::initAxisUsageList(), and shouldAxisBeDisplayed().
|
static |
Definition at line 550 of file AxisHelper.cxx.
References o3tl::make_unsigned(), and nIndex.
Referenced by chart::ChartTypeDialogController::commitToModel(), chart::wrapper::ChartDocumentWrapper::createInstance(), chart::wrapper::GridWrapper::getInnerPropertySet(), getParallelAxis(), hideGrid(), isGridShown(), and showGrid().
|
static |
Definition at line 982 of file AxisHelper.cxx.
References getAllAxesOfCoordinateSystem().
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::ObjectIdentifier::createClassifiedIdentifierForObject(), chart::wrapper::AxisItemConverter::FillSpecialItem(), chart::wrapper::Chart2ModelContact::getExplicitNumberFormatKeyForAxis(), chart::ChartView::getExplicitValuesForAxis(), and chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 595 of file AxisHelper.cxx.
References getAxis(), and getIndicesForAxis().
Referenced by chart::SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries(), chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::wrapper::AxisItemConverter::FillSpecialItem(), and chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 103 of file AxisHelper.cxx.
References getChartTypeByIndex(), chart::ChartModelHelper::getFirstCoordinateSystem(), getIndicesForAxis(), chart::ExplicitCategoriesProvider::isDateAxis(), and chart::ChartTypeHelper::isSupportingDateAxis().
Referenced by getExplicitNumberFormatKeyForAxis().
|
static |
Definition at line 700 of file AxisHelper.cxx.
References getIndicesForAxis().
Referenced by chart::ChartTypeTemplate::resetStyles2().
|
static |
Definition at line 138 of file AxisHelper.cxx.
References aData, CHART_UNONAME_LINK_TO_SRC_NUMFMT, CHART_UNONAME_NUMFMT, DBG_UNHANDLED_EXCEPTION, chart::DataSeriesHelper::getAllDataSequencesByRole(), chart::DataSeriesHelper::getAttachedAxisIndex(), getAxis(), chart::DataSeriesHelper::getDataSequenceByRole(), getDateCheckedScale(), chart::DiagramHelper::getDateNumberFormat(), getExplicitNumberFormatKeyForAxis(), getIndicesForAxis(), chart::DiagramHelper::getPercentNumberFormat(), chart::ChartTypeHelper::getRoleOfSequenceForYAxisNumberFormatDetection(), chart::DataSourceHelper::getUsedData(), i, nCount, and SAL_INFO.
Referenced by getExplicitNumberFormatKeyForAxis().
|
static |
Definition at line 1084 of file AxisHelper.cxx.
References chart::DataSeriesHelper::getAttachedAxisIndex().
Referenced by chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 678 of file AxisHelper.cxx.
References getAxis().
Referenced by chart::wrapper::GridWrapper::getInnerPropertySet(), and chart::ObjectIdentifier::getObjectPropertySet().
|
static |
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::ObjectHierarchy::createAxesTree(), chart::ObjectIdentifier::createClassifiedIdentifierForObject(), chart::ChartController::execute_Command(), chart::ChartController::executeDispatch_InsertAxisTitle(), chart::wrapper::AxisItemConverter::FillSpecialItem(), chart::ObjectNameProvider::getAxisName(), getCrossingMainAxis(), getDateCheckedScale(), getDimensionIndexOfAxis(), getExplicitNumberFormatKeyForAxis(), chart::ChartView::getExplicitValuesForAxis(), chart::ObjectNameProvider::getGridName(), getParallelAxis(), chart::ObjectPropertiesDialogParameter::init(), and shouldAxisBeDisplayed().
|
static |
|
static |
Definition at line 615 of file AxisHelper.cxx.
References getAxis(), getCoordinateSystemByIndex(), and getIndicesForAxis().
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem().
|
static |
Definition at line 461 of file AxisHelper.cxx.
References getAxis(), and makeAxisInvisible().
Referenced by changeVisibilityOfAxes().
|
static |
Definition at line 475 of file AxisHelper.cxx.
References makeAxisInvisible().
Referenced by chart::Diagram::attachSeriesToAxis().
|
static |
Definition at line 493 of file AxisHelper.cxx.
References getAxis(), getCoordinateSystemByIndex(), i, chart::MAIN_AXIS_INDEX, and makeGridInvisible().
Referenced by changeVisibilityOfGrids(), chart::ChartController::executeDispatch_ToggleGridHorizontal(), and chart::ChartController::executeDispatch_ToggleGridVertical().
|
static |
Definition at line 1101 of file AxisHelper.cxx.
References GetODFSaneDefaultVersion(), and SvtSaveOptions::ODFSVER_012.
Referenced by chart::SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries(), chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::AxisProperties::initAxisPositioning(), chart::AxisPositionsTabPage::Reset(), and chart::ScaleTabPage::ShowAxisOrigin().
|
static |
Definition at line 635 of file AxisHelper.cxx.
References getAxis(), and isAxisVisible().
Referenced by getAxisOrGridExistence().
|
static |
Definition at line 641 of file AxisHelper.cxx.
References areAxisLabelsVisible(), and chart::LinePropertiesHelper::IsLineVisible().
Referenced by chart::ObjectHierarchy::createAxesTree(), chart::ChartController::execute_Command(), and isAxisShown().
|
static |
Definition at line 525 of file AxisHelper.cxx.
References getAxis(), getCoordinateSystemByIndex(), isGridVisible(), and chart::MAIN_AXIS_INDEX.
Referenced by chart::ChartController::execute_Command(), chart::ChartController::executeDispatch_ToggleGridHorizontal(), chart::ChartController::executeDispatch_ToggleGridVertical(), getAxisOrGridExistence(), and chart::impl::ModelState::update().
|
static |
Definition at line 665 of file AxisHelper.cxx.
References chart::LinePropertiesHelper::IsLineVisible().
Referenced by chart::ObjectHierarchy::createAxesTree(), chart::VCartesianGrid::fillLinePropertiesFromGridModel(), and isGridShown().
|
static |
Definition at line 96 of file AxisHelper.cxx.
Referenced by chart::wrapper::AxisItemConverter::ApplySpecialItem(), chart::ScaleAutomatism::calculateExplicitScaleAndIncrement(), and chart::wrapper::AxisItemConverter::FillSpecialItem().
|
static |
Definition at line 870 of file AxisHelper.cxx.
References getPropertyValue().
Referenced by chart::ChartTypeTemplate::createAxes().
|
static |
Definition at line 467 of file AxisHelper.cxx.
Referenced by chart::ChartController::executeDispatch_DeleteAxis(), hideAxis(), and hideAxisIfNoDataIsAttached().
|
static |
Definition at line 442 of file AxisHelper.cxx.
References chart::LinePropertiesHelper::SetLineVisible().
Referenced by chart::Diagram::attachSeriesToAxis(), chart::ChartController::executeDispatch_InsertAxis(), and showAxis().
|
static |
Definition at line 517 of file AxisHelper.cxx.
Referenced by chart::ChartController::executeDispatch_DeleteMajorGrid(), chart::ChartController::executeDispatch_DeleteMinorGrid(), and hideGrid().
|
static |
Definition at line 452 of file AxisHelper.cxx.
References chart::LinePropertiesHelper::SetLineVisible().
Referenced by chart::ChartTypeTemplate::createCoordinateSystems(), chart::ChartController::executeDispatch_InsertMajorGrid(), chart::ChartController::executeDispatch_InsertMinorGrid(), and showGrid().
|
static |
Definition at line 86 of file AxisHelper.cxx.
References createDefaultScale().
Referenced by chart::ChartTypeTemplate::adaptScales(), chart::PieChartTypeTemplate::adaptScales(), checkDateAxis(), and chart::PieChartType::createCoordinateSystem2().
|
static |
Definition at line 1018 of file AxisHelper.cxx.
References CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME, DBG_UNHANDLED_EXCEPTION, getAxis(), chart::MAIN_AXIS_INDEX, and chart::SECONDARY_AXIS_INDEX.
Referenced by chart::ChartTypeDialogController::commitToModel(), and chart::wrapper::ChartDocumentWrapper::createInstance().
|
static |
Definition at line 890 of file AxisHelper.cxx.
References getChartTypeByIndex(), getIndicesForAxis(), chart::ChartTypeHelper::isSupportingMainAxis(), chart::ChartTypeHelper::isSupportingSecondaryAxis(), and chart::MAIN_AXIS_INDEX.
|
static |
Definition at line 392 of file AxisHelper.cxx.
References createAxis(), getAxis(), and makeAxisVisible().
Referenced by changeVisibilityOfAxes().
|
static |
Definition at line 414 of file AxisHelper.cxx.
References getAxis(), getCoordinateSystemByIndex(), i, chart::MAIN_AXIS_INDEX, and makeGridVisible().
Referenced by changeVisibilityOfGrids(), chart::ChartController::executeDispatch_ToggleGridHorizontal(), and chart::ChartController::executeDispatch_ToggleGridVertical().