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

#include <nameuno.hxx>

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

Public Member Functions

 ScLabelRangesObj (ScDocShell *pDocSh, bool bCol)
 
virtual ~ScLabelRangesObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL addNew (const css::table::CellRangeAddress &aLabelArea, const css::table::CellRangeAddress &aDataArea) override
 XLabelRanges. More...
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex) override
 
virtual sal_Int32 SAL_CALL getCount () override
 XIndexAccess. More...
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 XEnumerationAccess. More...
 
virtual css::uno::Type SAL_CALL getElementType () override
 XElementAccess. More...
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual OUString SAL_CALL getImplementationName () override
 XServiceInfo. More...
 
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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

rtl::Reference< ScLabelRangeObjGetObjectByIndex_Impl (size_t nIndex)
 

Private Attributes

ScDocShellpDocShell
 
bool bColumn
 

Detailed Description

Definition at line 280 of file nameuno.hxx.

Constructor & Destructor Documentation

◆ ScLabelRangesObj()

ScLabelRangesObj::ScLabelRangesObj ( ScDocShell pDocSh,
bool  bCol 
)

Definition at line 1007 of file nameuno.cxx.

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

◆ ~ScLabelRangesObj()

ScLabelRangesObj::~ScLabelRangesObj ( )
overridevirtual

Definition at line 1014 of file nameuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addNew()

void SAL_CALL ScLabelRangesObj::addNew ( const css::table::CellRangeAddress &  aLabelArea,
const css::table::CellRangeAddress &  aDataArea 
)
overridevirtual

◆ createEnumeration()

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

XEnumerationAccess.

Definition at line 1115 of file nameuno.cxx.

◆ getByIndex()

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

Definition at line 1136 of file nameuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getCount()

sal_Int32 SAL_CALL ScLabelRangesObj::getCount ( )
overridevirtual

◆ getElementType()

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

XElementAccess.

Definition at line 1146 of file nameuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScLabelRangesObj::getImplementationName ( )
overridevirtual

XServiceInfo.

◆ GetObjectByIndex_Impl()

rtl::Reference< ScLabelRangeObj > ScLabelRangesObj::GetObjectByIndex_Impl ( size_t  nIndex)
private

◆ getSupportedServiceNames()

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

◆ hasElements()

sal_Bool SAL_CALL ScLabelRangesObj::hasElements ( )
overridevirtual

Definition at line 1151 of file nameuno.cxx.

References getCount().

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 1022 of file nameuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByIndex()

void SAL_CALL ScLabelRangesObj::removeByIndex ( sal_Int32  nIndex)
overridevirtual

◆ supportsService()

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

Member Data Documentation

◆ bColumn

bool ScLabelRangesObj::bColumn
private

Definition at line 288 of file nameuno.hxx.

Referenced by addNew(), getCount(), GetObjectByIndex_Impl(), and removeByIndex().

◆ pDocShell

ScDocShell* ScLabelRangesObj::pDocShell
private

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