LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::ExplicitCategoriesProvider Class Referencefinal

#include <ExplicitCategoriesProvider.hxx>

Collaboration diagram for chart::ExplicitCategoriesProvider:
[legend]

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
 
ExplicitCategoriesProvideroperator= (ExplicitCategoriesProvider const &)=delete
 

Private Attributes

bool volatile m_bDirty
 
unotools::WeakReference< ::chart::BaseCoordinateSystemm_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
 

Detailed Description

Definition at line 58 of file ExplicitCategoriesProvider.hxx.

Constructor & Destructor Documentation

◆ ExplicitCategoriesProvider() [1/2]

chart::ExplicitCategoriesProvider::ExplicitCategoriesProvider ( const rtl::Reference< ::chart::BaseCoordinateSystem > &  xCooSysModel,
ChartModel &  rChartModel 
)

References init().

◆ ~ExplicitCategoriesProvider()

chart::ExplicitCategoriesProvider::~ExplicitCategoriesProvider ( )

Definition at line 135 of file ExplicitCategoriesProvider.cxx.

◆ ExplicitCategoriesProvider() [2/2]

chart::ExplicitCategoriesProvider::ExplicitCategoriesProvider ( ExplicitCategoriesProvider const &  )
privatedelete

Member Function Documentation

◆ convertCategoryAnysToText()

void chart::ExplicitCategoriesProvider::convertCategoryAnysToText ( css::uno::Sequence< OUString > &  rOutTexts,
const css::uno::Sequence< css::uno::Any > &  rInAnys,
ChartModel &  rModel 
)
static

◆ getCategoriesByLevel()

const std::vector< ComplexCategory > * chart::ExplicitCategoriesProvider::getCategoriesByLevel ( sal_Int32  nLevel)

Definition at line 526 of file ExplicitCategoriesProvider.cxx.

References init().

◆ getCategoryByIndex()

OUString chart::ExplicitCategoriesProvider::getCategoryByIndex ( const rtl::Reference< ::chart::BaseCoordinateSystem > &  xCooSysModel,
ChartModel &  rModel,
sal_Int32  nIndex 
)
static

Definition at line 535 of file ExplicitCategoriesProvider.cxx.

References getSimpleCategories(), and nIndex.

◆ getCategoryLevelCount()

sal_Int32 chart::ExplicitCategoriesProvider::getCategoryLevelCount ( ) const

Definition at line 151 of file ExplicitCategoriesProvider.cxx.

References nCount.

◆ getDateCategories()

const std::vector< double > & chart::ExplicitCategoriesProvider::getDateCategories ( )

◆ getExplicitSimpleCategories()

Sequence< OUString > chart::ExplicitCategoriesProvider::getExplicitSimpleCategories ( const SplitCategoriesProvider rSplitCategoriesProvider)
static

◆ getOriginalCategories()

Reference< chart2::data::XDataSequence > chart::ExplicitCategoriesProvider::getOriginalCategories ( )

Definition at line 139 of file ExplicitCategoriesProvider.cxx.

Referenced by chart::VSeriesPlotter::addSeries().

◆ getSimpleCategories()

Sequence< OUString > const & chart::ExplicitCategoriesProvider::getSimpleCategories ( )

◆ getSplitCategoriesList()

const std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > & chart::ExplicitCategoriesProvider::getSplitCategoriesList ( ) const
inline

◆ hasComplexCategories()

bool chart::ExplicitCategoriesProvider::hasComplexCategories ( ) const

◆ init()

void chart::ExplicitCategoriesProvider::init ( )

Definition at line 469 of file ExplicitCategoriesProvider.cxx.

References chart::lcl_fillDateCategories(), and mrModel.

◆ isDateAxis()

bool chart::ExplicitCategoriesProvider::isDateAxis ( )

◆ operator=()

ExplicitCategoriesProvider & chart::ExplicitCategoriesProvider::operator= ( ExplicitCategoriesProvider const &  )
privatedelete

Member Data Documentation

◆ m_aComplexCats

std::vector< std::vector< ComplexCategory > > chart::ExplicitCategoriesProvider::m_aComplexCats
private

Definition at line 105 of file ExplicitCategoriesProvider.hxx.

◆ m_aDateCategories

std::vector< double > chart::ExplicitCategoriesProvider::m_aDateCategories
private

Definition at line 110 of file ExplicitCategoriesProvider.hxx.

◆ m_aExplicitCategories

css::uno::Sequence< OUString > chart::ExplicitCategoriesProvider::m_aExplicitCategories
private

Definition at line 104 of file ExplicitCategoriesProvider.hxx.

◆ m_aSplitCategoriesList

std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence> > chart::ExplicitCategoriesProvider::m_aSplitCategoriesList
private

Definition at line 106 of file ExplicitCategoriesProvider.hxx.

◆ m_bDirty

bool volatile chart::ExplicitCategoriesProvider::m_bDirty
private

Definition at line 98 of file ExplicitCategoriesProvider.hxx.

◆ m_bIsAutoDate

bool chart::ExplicitCategoriesProvider::m_bIsAutoDate
private

Definition at line 109 of file ExplicitCategoriesProvider.hxx.

◆ m_bIsDateAxis

bool chart::ExplicitCategoriesProvider::m_bIsDateAxis
private

Definition at line 108 of file ExplicitCategoriesProvider.hxx.

◆ m_bIsExplicitCategoriesInited

bool chart::ExplicitCategoriesProvider::m_bIsExplicitCategoriesInited
private

Definition at line 103 of file ExplicitCategoriesProvider.hxx.

◆ m_xCooSysModel

unotools::WeakReference< ::chart::BaseCoordinateSystem > chart::ExplicitCategoriesProvider::m_xCooSysModel
private

Definition at line 99 of file ExplicitCategoriesProvider.hxx.

◆ m_xOriginalCategories

css::uno::Reference< css::chart2::data::XLabeledDataSequence> chart::ExplicitCategoriesProvider::m_xOriginalCategories
private

Definition at line 101 of file ExplicitCategoriesProvider.hxx.

◆ mrModel

ChartModel& chart::ExplicitCategoriesProvider::mrModel
private

Definition at line 100 of file ExplicitCategoriesProvider.hxx.


The documentation for this class was generated from the following files: