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

#include <condformatuno.hxx>

Inheritance diagram for ScCondFormatsObj:
Collaboration diagram for ScCondFormatsObj:

Public Member Functions

 ScCondFormatsObj (ScDocShell *pDocShell, SCTAB nTab)
virtual ~ScCondFormatsObj () override
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual sal_Int32 SAL_CALL createByRange (const uno::Reference< sheet::XSheetCellRanges > &xRanges) override
virtual void SAL_CALL removeByID (const sal_Int32 nID) override
virtual uno::Sequence< uno::Reference< sheet::XConditionalFormat > > SAL_CALL getConditionalFormats () override
virtual sal_Int32 SAL_CALL getLength () override
ScConditionalFormatListgetCoreObject ()
- Public Member Functions inherited from SfxListener
 SfxListener ()
 SfxListener (const SfxListener &rCopy)
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
void EndListeningAll ()
bool IsListening (SfxBroadcaster &rBroadcaster) const
sal_uInt16 GetBroadcasterCount () const
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
virtual bool IsSdrView () const

Private Attributes


Detailed Description

Definition at line 41 of file condformatuno.hxx.

Constructor & Destructor Documentation

◆ ScCondFormatsObj()

ScCondFormatsObj::ScCondFormatsObj ( ScDocShell pDocShell,
SCTAB  nTab 

Definition at line 312 of file condformatuno.cxx.

References ScDocument::AddUnoObject(), and ScDocShell::GetDocument().

◆ ~ScCondFormatsObj()

ScCondFormatsObj::~ScCondFormatsObj ( )

Member Function Documentation

◆ createByRange()

sal_Int32 ScCondFormatsObj::createByRange ( const uno::Reference< sheet::XSheetCellRanges > &  xRanges)

◆ getConditionalFormats()

uno::Sequence< uno::Reference< sheet::XConditionalFormat > > ScCondFormatsObj::getConditionalFormats ( )

◆ getCoreObject()

ScConditionalFormatList * ScCondFormatsObj::getCoreObject ( )

◆ getLength()

sal_Int32 ScCondFormatsObj::getLength ( )

Definition at line 383 of file condformatuno.cxx.

References getCoreObject(), and ScConditionalFormatList::size().

◆ Notify()

void ScCondFormatsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 

Reimplemented from SfxListener.

Definition at line 325 of file condformatuno.cxx.

References SfxHint::GetId(), and mpDocShell.

◆ removeByID()

void ScCondFormatsObj::removeByID ( const sal_Int32  nID)

Definition at line 363 of file condformatuno.cxx.

References ScConditionalFormatList::erase(), and getCoreObject().

Member Data Documentation

◆ mnTab

SCTAB ScCondFormatsObj::mnTab

Definition at line 63 of file condformatuno.hxx.

Referenced by getCoreObject().

◆ mpDocShell

ScDocShell* ScCondFormatsObj::mpDocShell

Definition at line 64 of file condformatuno.hxx.

Referenced by createByRange(), getCoreObject(), Notify(), and ~ScCondFormatsObj().

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