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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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 249 of file nameuno.hxx.

Constructor & Destructor Documentation

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

Definition at line 888 of file nameuno.cxx.

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

ScLabelRangeObj::~ScLabelRangeObj ( )
overridevirtual

Definition at line 896 of file nameuno.cxx.

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

Member Function Documentation

ScRangePair * ScLabelRangeObj::GetData_Impl ( )
private
table::CellRangeAddress SAL_CALL ScLabelRangeObj::getDataArea ( )
overridevirtual
virtual OUString SAL_CALL ScLabelRangeObj::getImplementationName ( )
overridevirtual

XServiceInfo.

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

XLabelRange.

Definition at line 966 of file nameuno.cxx.

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

virtual css::uno::Sequence< OUString > SAL_CALL ScLabelRangeObj::getSupportedServiceNames ( )
overridevirtual
void ScLabelRangeObj::Modify_Impl ( const ScRange pLabel,
const ScRange pData 
)
private
void ScLabelRangeObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Ref-Update !!!

Reimplemented from SfxListener.

Definition at line 904 of file nameuno.cxx.

References SfxHint::GetId(), and pDocShell.

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

Definition at line 994 of file nameuno.cxx.

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

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

Definition at line 976 of file nameuno.cxx.

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

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

Member Data Documentation

ScRange ScLabelRangeObj::aRange
private

criterion to find range

Definition at line 257 of file nameuno.hxx.

Referenced by GetData_Impl(), and Modify_Impl().

bool ScLabelRangeObj::bColumn
private

Definition at line 256 of file nameuno.hxx.

Referenced by GetData_Impl(), and Modify_Impl().

ScDocShell* ScLabelRangeObj::pDocShell
private

Definition at line 255 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: