LibreOffice Module chart2 (master) 1
|
#include <LegendHelper.hxx>
Static Public Member Functions | |
static rtl::Reference< ::chart::Legend > | showLegend (ChartModel &rModel, const css::uno::Reference< css::uno::XComponentContext > &xContext) |
static void | hideLegend (ChartModel &rModel) |
static rtl::Reference< ::chart::Legend > | getLegend (ChartModel &rModel, const css::uno::Reference< css::uno::XComponentContext > &xContext=nullptr, bool bCreate=false) |
static bool | hasLegend (const rtl::Reference< ::chart::Diagram > &xDiagram) |
returns <FALSE>, if either there is no legend at the diagram, or there is a legend which has a "Show" property of value <FALSE>. More... | |
Definition at line 35 of file LegendHelper.hxx.
|
static |
Definition at line 75 of file LegendHelper.cxx.
References DBG_UNHANDLED_EXCEPTION.
Referenced by chart::ChartView::createShapes2D(), chart::ChartController::executeDispatch_ToggleLegend(), chart::wrapper::Chart2ModelContact::GetLegendPosition(), chart::wrapper::Chart2ModelContact::GetLegendSize(), hideLegend(), showLegend(), and chart::LegendPositionResources::writeToModel().
|
static |
returns <FALSE>, if either there is no legend at the diagram, or there is a legend which has a "Show" property of value <FALSE>.
Otherwise, <TRUE> is returned.
Definition at line 107 of file LegendHelper.cxx.
Referenced by chart::ObjectHierarchy::createLegendTree(), chart::ChartController::execute_Command(), and chart::impl::ModelState::update().
|
static |
Definition at line 66 of file LegendHelper.cxx.
References getLegend().
Referenced by chart::ChartController::executeDispatch_DeleteLegend().
|
static |
Definition at line 36 of file LegendHelper.cxx.
References ePos, and getLegend().
Referenced by chart::ChartController::executeDispatch_InsertLegend().