LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScTableConditionalFormat Class Referencefinal

#include <fmtuno.hxx>

Inheritance diagram for ScTableConditionalFormat:
[legend]
Collaboration diagram for ScTableConditionalFormat:
[legend]

Public Member Functions

 ScTableConditionalFormat ()=delete
 
 ScTableConditionalFormat (const ScDocument *pDoc, sal_uLong nKey, SCTAB nTab, formula::FormulaGrammar::Grammar eGrammar)
 
virtual ~ScTableConditionalFormat () override
 
void FillFormat (ScConditionalFormat &rFormat, ScDocument &rDoc, formula::FormulaGrammar::Grammar eGrammar) const
 
virtual void SAL_CALL addNew (const css::uno::Sequence< css::beans::PropertyValue > &aConditionalEntry) override
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex) override
 
virtual void SAL_CALL clear () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

ScTableConditionalEntryGetObjectByIndex_Impl (sal_uInt16 nIndex) const
 
void AddEntry_Impl (const ScCondFormatEntryItem &aEntry)
 

Private Attributes

std::vector< rtl::Reference< ScTableConditionalEntry > > maEntries
 

Detailed Description

Definition at line 66 of file fmtuno.hxx.

Constructor & Destructor Documentation

◆ ScTableConditionalFormat() [1/2]

ScTableConditionalFormat::ScTableConditionalFormat ( )
delete

◆ ScTableConditionalFormat() [2/2]

ScTableConditionalFormat::ScTableConditionalFormat ( const ScDocument pDoc,
sal_uLong  nKey,
SCTAB  nTab,
formula::FormulaGrammar::Grammar  eGrammar 
)

◆ ~ScTableConditionalFormat()

ScTableConditionalFormat::~ScTableConditionalFormat ( )
overridevirtual

Definition at line 234 of file fmtuno.cxx.

Member Function Documentation

◆ AddEntry_Impl()

void ScTableConditionalFormat::AddEntry_Impl ( const ScCondFormatEntryItem aEntry)
private

Definition at line 238 of file fmtuno.cxx.

References maEntries.

Referenced by addNew().

◆ addNew()

void SAL_CALL ScTableConditionalFormat::addNew ( const css::uno::Sequence< css::beans::PropertyValue > &  aConditionalEntry)
overridevirtual

◆ clear()

void SAL_CALL ScTableConditionalFormat::clear ( )
overridevirtual

Definition at line 352 of file fmtuno.cxx.

References maEntries.

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScTableConditionalFormat::createEnumeration ( )
overridevirtual

Definition at line 360 of file fmtuno.cxx.

◆ FillFormat()

void ScTableConditionalFormat::FillFormat ( ScConditionalFormat rFormat,
ScDocument rDoc,
formula::FormulaGrammar::Grammar  eGrammar 
) const

◆ getByIndex()

uno::Any SAL_CALL ScTableConditionalFormat::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 374 of file fmtuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

uno::Any SAL_CALL ScTableConditionalFormat::getByName ( const OUString &  aName)
overridevirtual

Definition at line 404 of file fmtuno.cxx.

References aName, GetObjectByIndex_Impl(), i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.

◆ getCount()

sal_Int32 SAL_CALL ScTableConditionalFormat::getCount ( )
overridevirtual

Definition at line 368 of file fmtuno.cxx.

References maEntries.

Referenced by hasElements().

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScTableConditionalFormat::getElementNames ( )
overridevirtual

Definition at line 423 of file fmtuno.cxx.

References i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.

◆ getElementType()

uno::Type SAL_CALL ScTableConditionalFormat::getElementType ( )
overridevirtual

Definition at line 384 of file fmtuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScTableConditionalFormat::getImplementationName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

ScTableConditionalEntry * ScTableConditionalFormat::GetObjectByIndex_Impl ( sal_uInt16  nIndex) const
private

Definition at line 246 of file fmtuno.cxx.

References maEntries, and nIndex.

Referenced by getByIndex(), and getByName().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScTableConditionalFormat::getSupportedServiceNames ( )
overridevirtual

◆ hasByName()

sal_Bool SAL_CALL ScTableConditionalFormat::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 436 of file fmtuno.cxx.

References aName, i, lcl_GetEntryNameFromIndex(), maEntries, and nCount.

◆ hasElements()

sal_Bool SAL_CALL ScTableConditionalFormat::hasElements ( )
overridevirtual

Definition at line 389 of file fmtuno.cxx.

References getCount().

◆ removeByIndex()

void SAL_CALL ScTableConditionalFormat::removeByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 342 of file fmtuno.cxx.

References maEntries, o3tl::make_unsigned(), and nIndex.

◆ supportsService()

virtual sal_Bool SAL_CALL ScTableConditionalFormat::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ maEntries

std::vector<rtl::Reference<ScTableConditionalEntry> > ScTableConditionalFormat::maEntries
private

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