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

#include <linkuno.hxx>

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

Public Member Functions

 ScSheetLinkObj (ScDocShell *pDocSh, OUString aName)
 
virtual ~ScSheetLinkObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) 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 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

ScTableLinkGetLink_Impl () const
 
void Refreshed_Impl ()
 
void ModifyRefreshDelay_Impl (sal_Int32 nRefresh)
 

Private Attributes

SfxItemPropertySet aPropSet
 
ScDocShellpDocShell
 
OUString aFileName
 
XRefreshListenerArr_Impl aRefreshListeners
 

Detailed Description

Definition at line 50 of file linkuno.hxx.

Constructor & Destructor Documentation

◆ ScSheetLinkObj()

ScSheetLinkObj::ScSheetLinkObj ( ScDocShell pDocSh,
OUString  aName 
)

Definition at line 76 of file linkuno.cxx.

◆ ~ScSheetLinkObj()

ScSheetLinkObj::~ScSheetLinkObj ( )
overridevirtual

Definition at line 84 of file linkuno.cxx.

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

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addRefreshListener()

void SAL_CALL ScSheetLinkObj::addRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 152 of file linkuno.cxx.

References aRefreshListeners.

◆ addVetoableChangeListener()

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

◆ getFileName()

OUString ScSheetLinkObj::getFileName ( ) const

Definition at line 261 of file linkuno.cxx.

Referenced by getName(), and getPropertyValue().

◆ getFilter()

OUString ScSheetLinkObj::getFilter ( ) const

Definition at line 303 of file linkuno.cxx.

References GetLink_Impl(), and pLink.

Referenced by getPropertyValue().

◆ getFilterOptions()

OUString ScSheetLinkObj::getFilterOptions ( ) const

Definition at line 323 of file linkuno.cxx.

References GetLink_Impl(), and pLink.

Referenced by getPropertyValue().

◆ getImplementationName()

virtual OUString SAL_CALL ScSheetLinkObj::getImplementationName ( )
overridevirtual

◆ GetLink_Impl()

ScTableLink * ScSheetLinkObj::GetLink_Impl ( ) const
private

◆ getName()

OUString SAL_CALL ScSheetLinkObj::getName ( )
overridevirtual

Definition at line 130 of file linkuno.cxx.

References getFileName().

◆ getPropertySetInfo()

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

Definition at line 198 of file linkuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

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

◆ getRefreshDelay()

sal_Int32 ScSheetLinkObj::getRefreshDelay ( ) const

Definition at line 344 of file linkuno.cxx.

References GetLink_Impl(), and pLink.

Referenced by getPropertyValue().

◆ getSupportedServiceNames()

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

◆ ModifyRefreshDelay_Impl()

void ScSheetLinkObj::ModifyRefreshDelay_Impl ( sal_Int32  nRefresh)
private

Definition at line 189 of file linkuno.cxx.

References GetLink_Impl(), and pLink.

Referenced by setRefreshDelay().

◆ Notify()

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

notify if links in document are changed

Reimplemented from SfxListener.

Definition at line 92 of file linkuno.cxx.

References aFileName, SfxHint::GetId(), pDocShell, Refreshed_Impl(), and SHEET.

◆ refresh()

void SAL_CALL ScSheetLinkObj::refresh ( )
overridevirtual

Definition at line 144 of file linkuno.cxx.

References GetLink_Impl(), and pLink.

◆ Refreshed_Impl()

void ScSheetLinkObj::Refreshed_Impl ( )
private

Definition at line 181 of file linkuno.cxx.

References aEvent, and aRefreshListeners.

Referenced by Notify().

◆ removePropertyChangeListener()

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

◆ removeRefreshListener()

void SAL_CALL ScSheetLinkObj::removeRefreshListener ( const css::uno::Reference< css::util::XRefreshListener > &  l)
overridevirtual

Definition at line 163 of file linkuno.cxx.

References aRefreshListeners, n, and nCount.

◆ removeVetoableChangeListener()

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

◆ setFileName()

void ScSheetLinkObj::setFileName ( const OUString &  FileName)

◆ setFilter()

void ScSheetLinkObj::setFilter ( const OUString &  Filter)

Definition at line 313 of file linkuno.cxx.

References aFileName, GetLink_Impl(), and pLink.

Referenced by setPropertyValue().

◆ setFilterOptions()

void ScSheetLinkObj::setFilterOptions ( const OUString &  FilterOptions)

Definition at line 333 of file linkuno.cxx.

References aFileName, FilterOptions, GetLink_Impl(), and pLink.

Referenced by setPropertyValue().

◆ setName()

void SAL_CALL ScSheetLinkObj::setName ( const OUString &  aName)
overridevirtual

Definition at line 136 of file linkuno.cxx.

References aName, and setFileName().

◆ setPropertyValue()

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

◆ setRefreshDelay()

void ScSheetLinkObj::setRefreshDelay ( sal_Int32  nRefreshDelay)

Definition at line 354 of file linkuno.cxx.

References ModifyRefreshDelay_Impl().

Referenced by setPropertyValue().

◆ supportsService()

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

Member Data Documentation

◆ aFileName

OUString ScSheetLinkObj::aFileName
private

Definition at line 60 of file linkuno.hxx.

Referenced by GetLink_Impl(), Notify(), setFileName(), setFilter(), and setFilterOptions().

◆ aPropSet

SfxItemPropertySet ScSheetLinkObj::aPropSet
private

Definition at line 58 of file linkuno.hxx.

Referenced by getPropertySetInfo().

◆ aRefreshListeners

XRefreshListenerArr_Impl ScSheetLinkObj::aRefreshListeners
private

Definition at line 61 of file linkuno.hxx.

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

◆ pDocShell

ScDocShell* ScSheetLinkObj::pDocShell
private

Definition at line 59 of file linkuno.hxx.

Referenced by GetLink_Impl(), Notify(), setFileName(), and ~ScSheetLinkObj().


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