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

#include <addruno.hxx>

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

Public Member Functions

 ScAddressConversionObj (ScDocShell *pDocSh, bool bIsRange)
 
virtual ~ScAddressConversionObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

bool ParseUIString (const OUString &rUIString, ::formula::FormulaGrammar::AddressConvention eConv=::formula::FormulaGrammar::CONV_OOO)
 

Private Attributes

ScDocShellpDocShell
 
ScRange aRange
 
sal_Int32 nRefSheet
 
bool bIsRange
 

Detailed Description

Definition at line 30 of file addruno.hxx.

Constructor & Destructor Documentation

◆ ScAddressConversionObj()

ScAddressConversionObj::ScAddressConversionObj ( ScDocShell pDocSh,
bool  bIsRange 
)

Definition at line 35 of file addruno.cxx.

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

◆ ~ScAddressConversionObj()

ScAddressConversionObj::~ScAddressConversionObj ( )
overridevirtual

Definition at line 43 of file addruno.cxx.

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

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScAddressConversionObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScAddressConversionObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL ScAddressConversionObj::getImplementationName ( )
overridevirtual

Definition at line 280 of file addruno.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScAddressConversionObj::getPropertySetInfo ( )
overridevirtual

◆ getPropertyValue()

uno::Any SAL_CALL ScAddressConversionObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScAddressConversionObj::getSupportedServiceNames ( )
overridevirtual

Definition at line 290 of file addruno.cxx.

References bIsRange, SC_SERVICENAME_CELLADDRESS, and SC_SERVICENAME_RANGEADDRESS.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 51 of file addruno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ ParseUIString()

bool ScAddressConversionObj::ParseUIString ( const OUString &  rUIString,
::formula::FormulaGrammar::AddressConvention  eConv = ::formula::FormulaGrammar::CONV_OOO 
)
private

◆ removePropertyChangeListener()

virtual void SAL_CALL ScAddressConversionObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScAddressConversionObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScAddressConversionObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL ScAddressConversionObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 285 of file addruno.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aRange

ScRange ScAddressConversionObj::aRange
private

Definition at line 37 of file addruno.hxx.

Referenced by getPropertyValue(), ParseUIString(), and setPropertyValue().

◆ bIsRange

bool ScAddressConversionObj::bIsRange
private

◆ nRefSheet

sal_Int32 ScAddressConversionObj::nRefSheet
private

Definition at line 38 of file addruno.hxx.

Referenced by getPropertyValue(), ParseUIString(), and setPropertyValue().

◆ pDocShell

ScDocShell* ScAddressConversionObj::pDocShell
private

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