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

#include <nameuno.hxx>

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

Public Member Functions

 ScLabelRangeObj (ScDocShell *pDocSh, bool bCol, const ScRange &rR)
 
virtual ~ScLabelRangeObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::table::CellRangeAddress SAL_CALL getLabelArea () override
 XLabelRange. More...
 
virtual void SAL_CALL setLabelArea (const css::table::CellRangeAddress &aLabelArea) override
 
virtual css::table::CellRangeAddress SAL_CALL getDataArea () override
 
virtual void SAL_CALL setDataArea (const css::table::CellRangeAddress &aDataArea) 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

ScRangePairGetData_Impl ()
 
void Modify_Impl (const ScRange *pLabel, const ScRange *pData)
 

Private Attributes

ScDocShellpDocShell
 
bool bColumn
 
ScRange aRange
 criterion to find range More...
 

Detailed Description

Definition at line 241 of file nameuno.hxx.

Constructor & Destructor Documentation

◆ ScLabelRangeObj()

ScLabelRangeObj::ScLabelRangeObj ( ScDocShell pDocSh,
bool  bCol,
const ScRange rR 
)

Definition at line 879 of file nameuno.cxx.

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

◆ ~ScLabelRangeObj()

ScLabelRangeObj::~ScLabelRangeObj ( )
overridevirtual

Definition at line 887 of file nameuno.cxx.

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

Member Function Documentation

◆ GetData_Impl()

ScRangePair * ScLabelRangeObj::GetData_Impl ( )
private

◆ getDataArea()

table::CellRangeAddress SAL_CALL ScLabelRangeObj::getDataArea ( )
overridevirtual

Definition at line 975 of file nameuno.cxx.

References ScUnoConversion::FillApiRange(), GetData_Impl(), and pData.

◆ getImplementationName()

virtual OUString SAL_CALL ScLabelRangeObj::getImplementationName ( )
overridevirtual

XServiceInfo.

◆ getLabelArea()

table::CellRangeAddress SAL_CALL ScLabelRangeObj::getLabelArea ( )
overridevirtual

XLabelRange.

Definition at line 957 of file nameuno.cxx.

References ScUnoConversion::FillApiRange(), GetData_Impl(), and pData.

◆ getSupportedServiceNames()

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

◆ Modify_Impl()

void ScLabelRangeObj::Modify_Impl ( const ScRange pLabel,
const ScRange pData 
)
private

◆ Notify()

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

Ref-Update !!!

Reimplemented from SfxListener.

Definition at line 895 of file nameuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ setDataArea()

void SAL_CALL ScLabelRangeObj::setDataArea ( const css::table::CellRangeAddress &  aDataArea)
overridevirtual

Definition at line 985 of file nameuno.cxx.

References ScUnoConversion::FillScRange(), and Modify_Impl().

◆ setLabelArea()

void SAL_CALL ScLabelRangeObj::setLabelArea ( const css::table::CellRangeAddress &  aLabelArea)
overridevirtual

Definition at line 967 of file nameuno.cxx.

References ScUnoConversion::FillScRange(), and Modify_Impl().

◆ supportsService()

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

Member Data Documentation

◆ aRange

ScRange ScLabelRangeObj::aRange
private

criterion to find range

Definition at line 249 of file nameuno.hxx.

Referenced by GetData_Impl(), and Modify_Impl().

◆ bColumn

bool ScLabelRangeObj::bColumn
private

Definition at line 248 of file nameuno.hxx.

Referenced by GetData_Impl(), and Modify_Impl().

◆ pDocShell

ScDocShell* ScLabelRangeObj::pDocShell
private

Definition at line 247 of file nameuno.hxx.

Referenced by GetData_Impl(), Modify_Impl(), Notify(), ScLabelRangeObj(), and ~ScLabelRangeObj().


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