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

#include <cellsuno.hxx>

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

Public Member Functions

 ScCellFormatsObj (ScDocShell *pDocSh, const ScRange &rR)
 
virtual ~ScCellFormatsObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) 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
 
- 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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

ScCellRangeObjGetObjectByIndex_Impl (long nIndex) const
 

Private Attributes

ScDocShellpDocShell
 
ScRange aTotalRange
 

Detailed Description

Definition at line 1093 of file cellsuno.hxx.

Constructor & Destructor Documentation

ScCellFormatsObj::ScCellFormatsObj ( ScDocShell pDocSh,
const ScRange rR 
)
ScCellFormatsObj::~ScCellFormatsObj ( )
overridevirtual

Member Function Documentation

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

Definition at line 8953 of file cellsuno.cxx.

References aTotalRange, and pDocShell.

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

Definition at line 8927 of file cellsuno.cxx.

References GetObjectByIndex_Impl().

sal_Int32 SAL_CALL ScCellFormatsObj::getCount ( )
overridevirtual

access the AttrArrays directly !!!!

Definition at line 8906 of file cellsuno.cxx.

References ScRange::aEnd, ScRange::aStart, aTotalRange, ScAddress::Col(), ScDocShell::GetDocument(), nCount, pDocShell, ScAddress::Row(), and ScAddress::Tab().

Referenced by hasElements().

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

Definition at line 8939 of file cellsuno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScCellFormatsObj::getImplementationName ( )
overridevirtual
ScCellRangeObj * ScCellFormatsObj::GetObjectByIndex_Impl ( long  nIndex) const
private

access the AttrArrays directly !!!!

Definition at line 8872 of file cellsuno.cxx.

References ScRange::aEnd, ScRange::aStart, aTotalRange, ScAddress::Col(), ScDocShell::GetDocument(), nPos, pDocShell, ScAddress::Row(), and ScAddress::Tab().

Referenced by getByIndex().

virtual css::uno::Sequence< OUString > SAL_CALL ScCellFormatsObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScCellFormatsObj::hasElements ( )
overridevirtual

always greater then zero ??

Definition at line 8945 of file cellsuno.cxx.

References getCount().

void ScCellFormatsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

aTotalRange...

Reimplemented from SfxListener.

Definition at line 8860 of file cellsuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Member Data Documentation

ScRange ScCellFormatsObj::aTotalRange
private
ScDocShell* ScCellFormatsObj::pDocShell
private

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