LibreOffice Module chart2 (master) 1
|
#include <ExplicitCategoriesProvider.hxx>
Public Member Functions | |
ExplicitCategoriesProvider (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSysModel, ChartModel &rChartModel) | |
~ExplicitCategoriesProvider () | |
void | init () |
css::uno::Reference< css::chart2::data::XDataSequence > | getOriginalCategories () |
css::uno::Sequence< OUString > const & | getSimpleCategories () |
const std::vector< ComplexCategory > * | getCategoriesByLevel (sal_Int32 nLevel) |
bool | hasComplexCategories () const |
sal_Int32 | getCategoryLevelCount () const |
const std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > & | getSplitCategoriesList () const |
bool | isDateAxis () |
const std::vector< double > & | getDateCategories () |
Static Public Member Functions | |
static OUString | getCategoryByIndex (const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSysModel, ChartModel &rModel, sal_Int32 nIndex) |
static css::uno::Sequence< OUString > | getExplicitSimpleCategories (const SplitCategoriesProvider &rSplitCategoriesProvider) |
static void | convertCategoryAnysToText (css::uno::Sequence< OUString > &rOutTexts, const css::uno::Sequence< css::uno::Any > &rInAnys, ChartModel &rModel) |
Private Member Functions | |
ExplicitCategoriesProvider (ExplicitCategoriesProvider const &)=delete | |
ExplicitCategoriesProvider & | operator= (ExplicitCategoriesProvider const &)=delete |
Private Attributes | |
bool volatile | m_bDirty |
unotools::WeakReference< ::chart::BaseCoordinateSystem > | m_xCooSysModel |
ChartModel & | mrModel |
css::uno::Reference< css::chart2::data::XLabeledDataSequence > | m_xOriginalCategories |
bool | m_bIsExplicitCategoriesInited |
css::uno::Sequence< OUString > | m_aExplicitCategories |
std::vector< std::vector< ComplexCategory > > | m_aComplexCats |
std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > | m_aSplitCategoriesList |
bool | m_bIsDateAxis |
bool | m_bIsAutoDate |
std::vector< double > | m_aDateCategories |
Definition at line 58 of file ExplicitCategoriesProvider.hxx.
chart::ExplicitCategoriesProvider::ExplicitCategoriesProvider | ( | const rtl::Reference< ::chart::BaseCoordinateSystem > & | xCooSysModel, |
ChartModel & | rChartModel | ||
) |
References init().
chart::ExplicitCategoriesProvider::~ExplicitCategoriesProvider | ( | ) |
Definition at line 135 of file ExplicitCategoriesProvider.cxx.
|
privatedelete |
|
static |
Definition at line 171 of file ExplicitCategoriesProvider.cxx.
References chart::NumberFormatterWrapper::getFormattedString(), uno::Any::hasValue(), and nCount.
const std::vector< ComplexCategory > * chart::ExplicitCategoriesProvider::getCategoriesByLevel | ( | sal_Int32 | nLevel | ) |
Definition at line 526 of file ExplicitCategoriesProvider.cxx.
References init().
|
static |
Definition at line 535 of file ExplicitCategoriesProvider.cxx.
References getSimpleCategories(), and nIndex.
sal_Int32 chart::ExplicitCategoriesProvider::getCategoryLevelCount | ( | ) | const |
Definition at line 151 of file ExplicitCategoriesProvider.cxx.
References nCount.
const std::vector< double > & chart::ExplicitCategoriesProvider::getDateCategories | ( | ) |
Definition at line 556 of file ExplicitCategoriesProvider.cxx.
References init().
Referenced by chart::VSeriesPlotter::calculateTimeResolutionOnXAxis().
|
static |
Definition at line 387 of file ExplicitCategoriesProvider.cxx.
References chart::lcl_getExplicitSimpleCategories().
Referenced by chart::InternalDataProvider::getColumnDescriptions(), and chart::InternalDataProvider::getRowDescriptions().
Reference< chart2::data::XDataSequence > chart::ExplicitCategoriesProvider::getOriginalCategories | ( | ) |
Definition at line 139 of file ExplicitCategoriesProvider.cxx.
Referenced by chart::VSeriesPlotter::addSeries().
Sequence< OUString > const & chart::ExplicitCategoriesProvider::getSimpleCategories | ( | ) |
Definition at line 499 of file ExplicitCategoriesProvider.cxx.
References init(), chart::lcl_getExplicitSimpleCategories(), and mrModel.
Referenced by chart::VSeriesPlotter::createLegendEntriesForSeries(), getCategoryByIndex(), chart::VSeriesPlotter::getCategoryName(), chart::DiagramHelper::getExplicitSimpleCategories(), and chart::VAxisBase::initAxisLabelProperties().
|
inline |
Definition at line 89 of file ExplicitCategoriesProvider.hxx.
Referenced by chart::DataBrowserModel::updateFromModel().
bool chart::ExplicitCategoriesProvider::hasComplexCategories | ( | ) | const |
Definition at line 146 of file ExplicitCategoriesProvider.cxx.
Referenced by chart::AxisProperties::init(), chart::ObjectPropertiesDialogParameter::init(), and chart::SeriesPlotterContainer::initAxisUsageList().
void chart::ExplicitCategoriesProvider::init | ( | ) |
Definition at line 469 of file ExplicitCategoriesProvider.cxx.
References chart::lcl_fillDateCategories(), and mrModel.
bool chart::ExplicitCategoriesProvider::isDateAxis | ( | ) |
Definition at line 550 of file ExplicitCategoriesProvider.cxx.
References init().
Referenced by chart::VSeriesPlotter::addSeries(), chart::AxisHelper::checkDateAxis(), chart::AxisHelper::getDateCheckedScale(), chart::VSeriesPlotter::getMaximumYInRange(), and chart::VSeriesPlotter::getMinimumYInRange().
|
privatedelete |
|
private |
Definition at line 105 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 110 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 104 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 106 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 98 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 109 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 108 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 103 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 99 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 101 of file ExplicitCategoriesProvider.hxx.
|
private |
Definition at line 100 of file ExplicitCategoriesProvider.hxx.