LibreOffice Module chart2 (master) 1
|
Provides localized ui strings for the userinterface. More...
#include <ObjectNameProvider.hxx>
Static Public Member Functions | |
static OUString | getName (ObjectType eObjectType, bool bPlural=false) |
static OUString | getAxisName (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel) |
static OUString | getGridName (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel) |
static OUString | getTitleName (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel) |
static OUString | getTitleNameByType (TitleHelper::eTitleType eType) |
static OUString | getNameForCID (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartDocument) |
static OUString | getName_ObjectForSeries (ObjectType eObjectType, std::u16string_view rSeriesCID, const rtl::Reference<::chart::ChartModel > &xChartDocument) |
static OUString | getName_ObjectForAllSeries (ObjectType eObjectType) |
static OUString | getHelpText (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel, bool bVerbose=false) |
Provides help texts for the various chart elements. More... | |
static OUString | getSelectedObjectText (std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartDocument) |
This is used for showing the currently selected object in the status bar (command "Context") More... | |
Provides localized ui strings for the userinterface.
Definition at line 34 of file ObjectNameProvider.hxx.
|
static |
Definition at line 332 of file ObjectNameProvider.cxx.
References chart::AxisHelper::getIndicesForAxis(), chart::ObjectIdentifier::getObjectPropertySet(), and chart::SchResId().
Referenced by getHelpText(), getNameForCID(), and chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 427 of file ObjectNameProvider.cxx.
References chart::ObjectIdentifier::getAxisForCID(), chart::AxisHelper::getIndicesForAxis(), chart::ObjectIdentifier::getObjectType(), chart::OBJECTTYPE_GRID, and chart::SchResId().
Referenced by getHelpText(), getNameForCID(), and chart::ObjectPropertiesDialogParameter::init().
|
static |
Provides help texts for the various chart elements.
The parameter rObjectCID has to be a ClassifiedIdentifier - see class ObjectIdentifier.
Definition at line 480 of file ObjectNameProvider.cxx.
References aWildcard, DBG_UNHANDLED_EXCEPTION, getAxisName(), chart::DataSeriesHelper::getCoordinateSystemOfSeries(), chart::ObjectIdentifier::getDataSeriesForCID(), getGridName(), chart::ObjectIdentifier::getIndexFromParticleOrCID(), AllSettings::GetLocaleDataWrapper(), chart::RegressionCurveHelper::getMeanValueLine(), getName(), LocaleDataWrapper::getNumDecimalSep(), chart::ObjectIdentifier::getObjectType(), chart::ObjectIdentifier::getParticleID(), chart::RegressionCurveHelper::getRegressionCurveAtIndex(), chart::RegressionCurveHelper::getRegressionCurveName(), chart::RegressionCurveHelper::getRegressionType(), Application::GetSettings(), getTitleName(), chart::RegressionCurveHelper::initializeCurveCalculator(), nIndex, chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_GRID, chart::OBJECTTYPE_SUBGRID, chart::OBJECTTYPE_TITLE, chart::SchResId(), and o3tl::toInt32().
Referenced by getSelectedObjectText(), chart::AccessibleChartElement::getToolTipText(), and chart::ChartController::requestQuickHelp().
|
static |
Definition at line 219 of file ObjectNameProvider.cxx.
References chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_AXIS_UNITLABEL, chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_CURVE_EQUATION, chart::OBJECTTYPE_DATA_ERRORS_X, chart::OBJECTTYPE_DATA_ERRORS_Y, chart::OBJECTTYPE_DATA_ERRORS_Z, chart::OBJECTTYPE_DATA_LABEL, chart::OBJECTTYPE_DATA_LABELS, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_DATA_STOCK_GAIN, chart::OBJECTTYPE_DATA_STOCK_LOSS, chart::OBJECTTYPE_DATA_STOCK_RANGE, chart::OBJECTTYPE_DATA_TABLE, chart::OBJECTTYPE_DIAGRAM, chart::OBJECTTYPE_DIAGRAM_FLOOR, chart::OBJECTTYPE_DIAGRAM_WALL, chart::OBJECTTYPE_GRID, chart::OBJECTTYPE_LEGEND, chart::OBJECTTYPE_LEGEND_ENTRY, chart::OBJECTTYPE_PAGE, chart::OBJECTTYPE_SUBGRID, chart::OBJECTTYPE_TITLE, and chart::SchResId().
Referenced by chart::ChartController::execute_MouseButtonUp(), chart::ChartController::executeDispatch_PositionAndSize(), chart::ChartController::executeDlg_ObjectProperties(), getHelpText(), getName_ObjectForAllSeries(), getName_ObjectForSeries(), getNameForCID(), chart::DragMethod_Base::getUndoDescription(), chart::ChartController::impl_moveOrResizeObject(), chart::ChartController::impl_switchDiagramPositioningToExcludingPositioning(), chart::ObjectPropertiesDialogParameter::init(), and chart::SchTitleDlg::SchTitleDlg().
|
static |
Definition at line 859 of file ObjectNameProvider.cxx.
References getName(), chart::replaceParamterInString(), chart::SchResId(), and u.
Referenced by chart::ChartController::executeDispatch_InsertErrorBars(), getName_ObjectForSeries(), chart::ObjectPropertiesDialogParameter::init(), and chart::InsertErrorBarsDialog::InsertErrorBarsDialog().
|
static |
Definition at line 842 of file ObjectNameProvider.cxx.
References chart::ObjectIdentifier::getDataSeriesForCID(), getName(), getName_ObjectForAllSeries(), chart::replaceParamterInString(), chart::SchResId(), and u.
Referenced by chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 775 of file ObjectNameProvider.cxx.
References eType, getAxisName(), chart::ObjectIdentifier::getDataSeriesForCID(), getGridName(), chart::ObjectIdentifier::getIndexFromParticleOrCID(), getName(), chart::ObjectIdentifier::getObjectType(), chart::RegressionCurveHelper::getRegressionCurveAtIndex(), chart::RegressionCurveHelper::getRegressionCurveName(), getTitleName(), chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_CURVE_EQUATION, chart::OBJECTTYPE_DATA_ERRORS_X, chart::OBJECTTYPE_DATA_ERRORS_Y, chart::OBJECTTYPE_DATA_ERRORS_Z, chart::OBJECTTYPE_DATA_LABEL, chart::OBJECTTYPE_DATA_LABELS, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_GRID, chart::OBJECTTYPE_SUBGRID, and chart::OBJECTTYPE_TITLE.
Referenced by chart::AccessibleChartElement::getAccessibleName(), chart::lcl_addObjectsToList(), and chart::SelectorListBox::UpdateChartElementsListAndSelection().
|
static |
This is used for showing the currently selected object in the status bar (command "Context")
Definition at line 724 of file ObjectNameProvider.cxx.
References chart::DataSeriesHelper::getCoordinateSystemOfSeries(), chart::ObjectIdentifier::getDataSeriesForCID(), getHelpText(), chart::ObjectIdentifier::getObjectType(), chart::ObjectIdentifier::getParticleID(), chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_POINT, chart::replaceParamterInString(), chart::SchResId(), o3tl::toInt32(), and u.
Referenced by chart::StatusBarCommandDispatch::fireStatusEvent().
|
static |
Definition at line 408 of file ObjectNameProvider.cxx.
References eType, chart::ObjectIdentifier::getObjectPropertySet(), getTitleNameByType(), chart::TitleHelper::getTitleType(), and chart::SchResId().
Referenced by getHelpText(), getNameForCID(), and chart::ObjectPropertiesDialogParameter::init().
|
static |
Definition at line 370 of file ObjectNameProvider.cxx.
References eType, chart::TitleHelper::MAIN_TITLE, chart::SchResId(), chart::TitleHelper::SECONDARY_X_AXIS_TITLE, chart::TitleHelper::SECONDARY_Y_AXIS_TITLE, chart::TitleHelper::SUB_TITLE, chart::TitleHelper::X_AXIS_TITLE, chart::TitleHelper::Y_AXIS_TITLE, and chart::TitleHelper::Z_AXIS_TITLE.
Referenced by chart::ChartController::executeDispatch_InsertAxisTitle(), and getTitleName().