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:
Collaboration diagram for ScTableConditionalFormat:

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 ( )

◆ ScTableConditionalFormat() [2/2]

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

◆ ~ScTableConditionalFormat()

ScTableConditionalFormat::~ScTableConditionalFormat ( )

Definition at line 234 of file fmtuno.cxx.

Member Function Documentation

◆ AddEntry_Impl()

void ScTableConditionalFormat::AddEntry_Impl ( const ScCondFormatEntryItem aEntry)

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)

◆ clear()

void SAL_CALL ScTableConditionalFormat::clear ( )

Definition at line 352 of file fmtuno.cxx.

References maEntries.

◆ createEnumeration()

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

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)

Definition at line 374 of file fmtuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getByName()

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

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 ( )

Definition at line 368 of file fmtuno.cxx.

References maEntries.

Referenced by hasElements().

◆ getElementNames()

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

Definition at line 423 of file fmtuno.cxx.

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

◆ getElementType()

uno::Type SAL_CALL ScTableConditionalFormat::getElementType ( )

Definition at line 384 of file fmtuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScTableConditionalFormat::getImplementationName ( )

◆ GetObjectByIndex_Impl()

ScTableConditionalEntry * ScTableConditionalFormat::GetObjectByIndex_Impl ( sal_uInt16  nIndex) const

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 ( )

◆ hasByName()

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

Definition at line 436 of file fmtuno.cxx.

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

◆ hasElements()

sal_Bool SAL_CALL ScTableConditionalFormat::hasElements ( )

Definition at line 389 of file fmtuno.cxx.

References getCount().

◆ removeByIndex()

void SAL_CALL ScTableConditionalFormat::removeByIndex ( sal_Int32  nIndex)

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)

Member Data Documentation

◆ maEntries

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

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