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

#include <ConfigColorScheme.hxx>

Inheritance diagram for chart::ConfigColorScheme:
[legend]
Collaboration diagram for chart::ConfigColorScheme:
[legend]

Public Member Functions

 ConfigColorScheme (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~ConfigColorScheme () override
 
virtual OUString SAL_CALL getImplementationName () override
 declare XServiceInfo methods More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
void notify ()
 

Protected Member Functions

virtual ::sal_Int32 SAL_CALL getColorByIndex (::sal_Int32 nIndex) override
 

Private Member Functions

void retrieveConfigColors ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::unique_ptr< impl::ChartConfigItemm_apChartConfigItem
 
css::uno::Sequence< sal_Int64 > m_aColorSequence
 
sal_Int32 m_nNumberOfColors
 
bool m_bNeedsUpdate
 

Detailed Description

Definition at line 42 of file ConfigColorScheme.hxx.

Constructor & Destructor Documentation

◆ ConfigColorScheme()

chart::ConfigColorScheme::ConfigColorScheme ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
explicit

Definition at line 98 of file ConfigColorScheme.cxx.

◆ ~ConfigColorScheme()

chart::ConfigColorScheme::~ConfigColorScheme ( )
overridevirtual

Definition at line 106 of file ConfigColorScheme.cxx.

Member Function Documentation

◆ getColorByIndex()

sal_Int32 SAL_CALL chart::ConfigColorScheme::getColorByIndex ( ::sal_Int32  nIndex)
overrideprotected

◆ getImplementationName()

OUString SAL_CALL chart::ConfigColorScheme::getImplementationName ( )
overridevirtual

declare XServiceInfo methods

Definition at line 156 of file ConfigColorScheme.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL chart::ConfigColorScheme::getSupportedServiceNames ( )
overridevirtual

Definition at line 166 of file ConfigColorScheme.cxx.

◆ notify()

void chart::ConfigColorScheme::notify ( )

Definition at line 151 of file ConfigColorScheme.cxx.

References m_bNeedsUpdate.

Referenced by chart::impl::ChartConfigItem::Notify().

◆ retrieveConfigColors()

void chart::ConfigColorScheme::retrieveConfigColors ( )
private

◆ supportsService()

sal_Bool SAL_CALL chart::ConfigColorScheme::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 161 of file ConfigColorScheme.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aColorSequence

css::uno::Sequence< sal_Int64 > chart::ConfigColorScheme::m_aColorSequence
mutableprivate

Definition at line 69 of file ConfigColorScheme.hxx.

Referenced by getColorByIndex(), and retrieveConfigColors().

◆ m_apChartConfigItem

std::unique_ptr< impl::ChartConfigItem > chart::ConfigColorScheme::m_apChartConfigItem
private

Definition at line 68 of file ConfigColorScheme.hxx.

Referenced by retrieveConfigColors().

◆ m_bNeedsUpdate

bool chart::ConfigColorScheme::m_bNeedsUpdate
private

Definition at line 71 of file ConfigColorScheme.hxx.

Referenced by getColorByIndex(), notify(), and retrieveConfigColors().

◆ m_nNumberOfColors

sal_Int32 chart::ConfigColorScheme::m_nNumberOfColors
mutableprivate

Definition at line 70 of file ConfigColorScheme.hxx.

Referenced by getColorByIndex(), and retrieveConfigColors().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > chart::ConfigColorScheme::m_xContext
private

Definition at line 67 of file ConfigColorScheme.hxx.

Referenced by retrieveConfigColors().


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