LibreOffice Module chart2 (master) 1
|
#include <TitleHelper.hxx>
Public Types | |
enum | eTitleType { TITLE_BEGIN = 0 , MAIN_TITLE = 0 , SUB_TITLE , X_AXIS_TITLE , Y_AXIS_TITLE , Z_AXIS_TITLE , SECONDARY_X_AXIS_TITLE , SECONDARY_Y_AXIS_TITLE , NORMAL_TITLE_END , TITLE_AT_STANDARD_X_AXIS_POSITION , TITLE_AT_STANDARD_Y_AXIS_POSITION } |
Static Public Member Functions | |
static rtl::Reference< ::chart::Title > | getTitle (eTitleType nTitleIndex, ChartModel &rModel) |
static rtl::Reference< ::chart::Title > | getTitle (eTitleType nTitleIndex, const rtl::Reference< ::chart::ChartModel > &xModel) |
static rtl::Reference< ::chart::Title > | createTitle (eTitleType nTitleIndex, const OUString &rTitleText, const rtl::Reference< ::chart::ChartModel > &xModel, const css::uno::Reference< css::uno::XComponentContext > &xContext, ReferenceSizeProvider *pRefSizeProvider=nullptr) |
static rtl::Reference< ::chart::Title > | createOrShowTitle (eTitleType nTitleIndex, const OUString &rTitleText, const rtl::Reference< ::chart::ChartModel > &xModel, const css::uno::Reference< css::uno::XComponentContext > &xContex) |
static void | removeTitle (eTitleType nTitleIndex, const rtl::Reference< ::chart::ChartModel > &xModel) |
static OUString | getCompleteString (const rtl::Reference< ::chart::Title > &xTitle) |
static void | setCompleteString (const OUString &rNewText, const rtl::Reference< ::chart::Title > &xTitle, const css::uno::Reference< css::uno::XComponentContext > &xContext, const float *pDefaultCharHeight=nullptr) |
static bool | getTitleType (eTitleType &rType, const rtl::Reference< ::chart::Title > &xTitle, const rtl::Reference< ::chart::ChartModel > &xModel) |
static void | hideTitle (eTitleType nTitleIndex, const rtl::Reference< ::chart::ChartModel > &xModel) |
Definition at line 36 of file TitleHelper.hxx.
Definition at line 39 of file TitleHelper.hxx.
|
static |
Definition at line 181 of file TitleHelper.cxx.
References createTitle(), getTitle(), and xModel.
Referenced by chart::sidebar::ChartElementsPanel::setTitleVisible().
|
static |
Definition at line 199 of file TitleHelper.cxx.
References chart::AxisHelper::createAxis(), DBG_UNHANDLED_EXCEPTION, SECONDARY_X_AXIS_TITLE, SECONDARY_Y_AXIS_TITLE, setCompleteString(), chart::ReferenceSizeProvider::setValuesAtTitle(), SUB_TITLE, TITLE_AT_STANDARD_X_AXIS_POSITION, TITLE_AT_STANDARD_Y_AXIS_POSITION, X_AXIS_TITLE, xModel, Y_AXIS_TITLE, and Z_AXIS_TITLE.
Referenced by createOrShowTitle(), chart::ChartController::executeDispatch_InsertAxisTitle(), chart::wrapper::TitleWrapper::TitleWrapper(), and chart::TitleDialogData::writeDifferenceToModel().
|
static |
Definition at line 297 of file TitleHelper.cxx.
References aStringList.
Referenced by chart::ChartController::execute_Command(), chart::TitleDialogData::readFromModel(), and chart::sidebar::ChartElementsPanel::updateData().
|
static |
Definition at line 142 of file TitleHelper.cxx.
References MAIN_TITLE.
Referenced by chart::wrapper::AllTitleItemConverter::AllTitleItemConverter(), createOrShowTitle(), chart::ChartController::executeDispatch_NewArrangement(), chart::ObjectIdentifier::getObjectPropertySet(), chart::wrapper::TitleWrapper::getTitleObject(), getTitleType(), hideTitle(), chart::sidebar::IMPL_LINK(), chart::TitleDialogData::readFromModel(), chart::impl::ModelState::update(), chart::sidebar::ChartElementsPanel::updateData(), and chart::TitleDialogData::writeDifferenceToModel().
|
static |
|
static |
Definition at line 390 of file TitleHelper.cxx.
References getTitle(), NORMAL_TITLE_END, TITLE_BEGIN, and xModel.
Referenced by chart::ObjectIdentifier::createClassifiedIdentifierForObject(), and chart::ObjectNameProvider::getTitleName().
|
static |
Definition at line 411 of file TitleHelper.cxx.
References getTitle(), and xModel.
Referenced by chart::sidebar::ChartElementsPanel::setTitleVisible().
|
static |
Definition at line 380 of file TitleHelper.cxx.
References xModel.
Referenced by chart::ChartController::executeDispatch_Delete(), and chart::TitleDialogData::writeDifferenceToModel().
|
static |
Definition at line 308 of file TitleHelper.cxx.
References DBG_UNHANDLED_EXCEPTION, and nPos.
Referenced by createTitle(), chart::ChartController::EndTextEdit(), chart::sidebar::IMPL_LINK(), and chart::TitleDialogData::writeDifferenceToModel().