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

#include <linkuno.hxx>

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

Public Member Functions

 ScAreaLinkObj (ScDocShell *pDocSh, size_t nP)
 
virtual ~ScAreaLinkObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL refresh () override
 
virtual void SAL_CALL addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override
 
virtual void SAL_CALL removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) 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
 
OUString getFileName () const
 
void setFileName (const OUString &FileName)
 
OUString getFilter () const
 
void setFilter (const OUString &Filter)
 
OUString getFilterOptions () const
 
void setFilterOptions (const OUString &FilterOptions)
 
sal_Int32 getRefreshDelay () const
 
void setRefreshDelay (sal_Int32 nRefreshDelay)
 
virtual OUString SAL_CALL getSourceArea () override
 
virtual void SAL_CALL setSourceArea (const OUString &aSourceArea) override
 
virtual css::table::CellRangeAddress SAL_CALL getDestArea () override
 
virtual void SAL_CALL setDestArea (const css::table::CellRangeAddress &aDestArea) 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

void Modify_Impl (const OUString *pNewFile, const OUString *pNewFilter, const OUString *pNewOptions, const OUString *pNewSource, const css::table::CellRangeAddress *pNewDest)
 
void ModifyRefreshDelay_Impl (sal_Int32 nRefresh)
 
void Refreshed_Impl ()
 

Private Attributes

SfxItemPropertySet aPropSet
 
ScDocShellpDocShell
 
size_t nPos
 
XRefreshListenerArr_Impl aRefreshListeners
 

Detailed Description

Definition at line 157 of file linkuno.hxx.

Constructor & Destructor Documentation

ScAreaLinkObj::ScAreaLinkObj ( ScDocShell pDocSh,
size_t  nP 
)

Definition at line 574 of file linkuno.cxx.

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

ScAreaLinkObj::~ScAreaLinkObj ( )
overridevirtual

Definition at line 582 of file linkuno.cxx.

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

Member Function Documentation

virtual void SAL_CALL ScAreaLinkObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
void SAL_CALL ScAreaLinkObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 674 of file linkuno.cxx.

References aRefreshListeners.

virtual void SAL_CALL ScAreaLinkObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
table::CellRangeAddress SAL_CALL ScAreaLinkObj::getDestArea ( )
overridevirtual
OUString ScAreaLinkObj::getFileName ( ) const

Definition at line 779 of file linkuno.cxx.

References ScAreaLink::GetFile(), lcl_GetAreaLink(), nPos, and pLink.

Referenced by getPropertyValue().

OUString ScAreaLinkObj::getFilter ( ) const

Definition at line 795 of file linkuno.cxx.

References ScAreaLink::GetFilter(), lcl_GetAreaLink(), nPos, pDocShell, and pLink.

Referenced by getPropertyValue().

OUString ScAreaLinkObj::getFilterOptions ( ) const

Definition at line 811 of file linkuno.cxx.

References ScAreaLink::GetOptions(), lcl_GetAreaLink(), nPos, pDocShell, and pLink.

Referenced by getPropertyValue().

virtual OUString SAL_CALL ScAreaLinkObj::getImplementationName ( )
overridevirtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL ScAreaLinkObj::getPropertySetInfo ( )
overridevirtual

Definition at line 716 of file linkuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

uno::Any SAL_CALL ScAreaLinkObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
sal_Int32 ScAreaLinkObj::getRefreshDelay ( ) const

Definition at line 827 of file linkuno.cxx.

References ScRefreshTimer::GetRefreshDelay(), lcl_GetAreaLink(), nPos, pDocShell, and pLink.

Referenced by getPropertyValue().

OUString SAL_CALL ScAreaLinkObj::getSourceArea ( )
overridevirtual

Definition at line 845 of file linkuno.cxx.

References ScAreaLink::GetSource(), lcl_GetAreaLink(), nPos, pDocShell, and pLink.

virtual css::uno::Sequence< OUString > SAL_CALL ScAreaLinkObj::getSupportedServiceNames ( )
overridevirtual
void ScAreaLinkObj::Modify_Impl ( const OUString *  pNewFile,
const OUString *  pNewFilter,
const OUString *  pNewOptions,
const OUString *  pNewSource,
const css::table::CellRangeAddress *  pNewDest 
)
private
void ScAreaLinkObj::ModifyRefreshDelay_Impl ( sal_Int32  nRefresh)
private

Definition at line 657 of file linkuno.cxx.

References lcl_GetAreaLink(), nPos, pDocShell, pLink, and ScRefreshTimer::SetRefreshDelay().

Referenced by setRefreshDelay().

void ScAreaLinkObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual
void SAL_CALL ScAreaLinkObj::refresh ( )
overridevirtual
void ScAreaLinkObj::Refreshed_Impl ( )
private

Definition at line 706 of file linkuno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

virtual void SAL_CALL ScAreaLinkObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScAreaLinkObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 685 of file linkuno.cxx.

References aRefreshListeners, n, and nCount.

virtual void SAL_CALL ScAreaLinkObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScAreaLinkObj::setDestArea ( const css::table::CellRangeAddress &  aDestArea)
overridevirtual

Definition at line 871 of file linkuno.cxx.

References Modify_Impl().

void ScAreaLinkObj::setFileName ( const OUString &  FileName)

Definition at line 789 of file linkuno.cxx.

References Modify_Impl().

Referenced by setPropertyValue().

void ScAreaLinkObj::setFilter ( const OUString &  Filter)

Definition at line 805 of file linkuno.cxx.

References Modify_Impl().

Referenced by setPropertyValue().

void ScAreaLinkObj::setFilterOptions ( const OUString &  FilterOptions)

Definition at line 821 of file linkuno.cxx.

References Modify_Impl().

Referenced by setPropertyValue().

void SAL_CALL ScAreaLinkObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void ScAreaLinkObj::setRefreshDelay ( sal_Int32  nRefreshDelay)

Definition at line 837 of file linkuno.cxx.

References ModifyRefreshDelay_Impl().

Referenced by setPropertyValue().

void SAL_CALL ScAreaLinkObj::setSourceArea ( const OUString &  aSourceArea)
overridevirtual

Definition at line 855 of file linkuno.cxx.

References Modify_Impl().

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

Member Data Documentation

SfxItemPropertySet ScAreaLinkObj::aPropSet
private

Definition at line 165 of file linkuno.hxx.

Referenced by getPropertySetInfo().

XRefreshListenerArr_Impl ScAreaLinkObj::aRefreshListeners
private

Definition at line 168 of file linkuno.hxx.

Referenced by addRefreshListener(), Refreshed_Impl(), and removeRefreshListener().

size_t ScAreaLinkObj::nPos
private
ScDocShell* ScAreaLinkObj::pDocShell
private

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