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:
Collaboration diagram for ScSheetLinkObj:

Public Member Functions

 ScSheetLinkObj (ScDocShell *pDocSh, const OUString &rName)
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
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)

Private Member Functions

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

Private Attributes

SfxItemPropertySet aPropSet
OUString aFileName
XRefreshListenerArr_Impl aRefreshListeners

Detailed Description

Definition at line 50 of file linkuno.hxx.

Constructor & Destructor Documentation

ScSheetLinkObj::ScSheetLinkObj ( ScDocShell pDocSh,
const OUString &  rName 

Definition at line 76 of file linkuno.cxx.

ScSheetLinkObj::~ScSheetLinkObj ( )

Definition at line 84 of file linkuno.cxx.

Member Function Documentation

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

Definition at line 152 of file linkuno.cxx.

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

Definition at line 261 of file linkuno.cxx.

OUString ScSheetLinkObj::getFilter ( ) const

Definition at line 303 of file linkuno.cxx.

References ScTableLink::GetFilterName(), and pLink.

OUString ScSheetLinkObj::getFilterOptions ( ) const

Definition at line 323 of file linkuno.cxx.

References ScTableLink::GetOptions(), and pLink.

virtual OUString SAL_CALL ScSheetLinkObj::getImplementationName ( )
ScTableLink * ScSheetLinkObj::GetLink_Impl ( ) const

Definition at line 109 of file linkuno.cxx.

References sfx2::LinkManager::GetLinks(), i, and nCount.

OUString SAL_CALL ScSheetLinkObj::getName ( )

Definition at line 130 of file linkuno.cxx.

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

Definition at line 198 of file linkuno.cxx.

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

Definition at line 344 of file linkuno.cxx.

References ScRefreshTimer::GetRefreshDelaySeconds(), and pLink.

virtual css::uno::Sequence< OUString > SAL_CALL ScSheetLinkObj::getSupportedServiceNames ( )
void ScSheetLinkObj::ModifyRefreshDelay_Impl ( sal_Int32  nRefresh)

Definition at line 189 of file linkuno.cxx.

References pLink, and ScRefreshTimer::SetRefreshDelay().

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

notify if links in document are changed

Reimplemented from SfxListener.

Definition at line 92 of file linkuno.cxx.

References SfxHint::GetId(), and SHEET.

void SAL_CALL ScSheetLinkObj::refresh ( )
void ScSheetLinkObj::Refreshed_Impl ( )

Definition at line 181 of file linkuno.cxx.

References aEvent.

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

Definition at line 163 of file linkuno.cxx.

References n, and nCount.

virtual void SAL_CALL ScSheetLinkObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
void ScSheetLinkObj::setFileName ( const OUString &  FileName)
void ScSheetLinkObj::setFilter ( const OUString &  Filter)
void ScSheetLinkObj::setFilterOptions ( const OUString &  FilterOptions)
void SAL_CALL ScSheetLinkObj::setName ( const OUString &  aName)

Definition at line 136 of file linkuno.cxx.

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

Definition at line 354 of file linkuno.cxx.

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

Member Data Documentation

OUString ScSheetLinkObj::aFileName

Definition at line 60 of file linkuno.hxx.

SfxItemPropertySet ScSheetLinkObj::aPropSet

Definition at line 58 of file linkuno.hxx.

XRefreshListenerArr_Impl ScSheetLinkObj::aRefreshListeners

Definition at line 61 of file linkuno.hxx.

ScDocShell* ScSheetLinkObj::pDocShell

Definition at line 59 of file linkuno.hxx.

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