LibreOffice Module sc (master) 1
|
#include <linkuno.hxx>
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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
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 |
ScDocShell * | pDocShell |
size_t | nPos |
XRefreshListenerArr_Impl | aRefreshListeners |
Definition at line 156 of file linkuno.hxx.
ScAreaLinkObj::ScAreaLinkObj | ( | ScDocShell * | pDocSh, |
size_t | nP | ||
) |
Definition at line 572 of file linkuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), nPos, and pDocShell.
|
overridevirtual |
Definition at line 580 of file linkuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
|
overridevirtual |
Definition at line 671 of file linkuno.cxx.
References aRefreshListeners.
|
overridevirtual |
|
overridevirtual |
Definition at line 858 of file linkuno.cxx.
References ScUnoConversion::FillApiRange(), lcl_GetAreaLink(), nPos, pDocShell, and pLink.
OUString ScAreaLinkObj::getFileName | ( | ) | const |
Definition at line 776 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, and pLink.
Referenced by getPropertyValue().
OUString ScAreaLinkObj::getFilter | ( | ) | const |
Definition at line 792 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
Referenced by getPropertyValue().
OUString ScAreaLinkObj::getFilterOptions | ( | ) | const |
Definition at line 808 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
Referenced by getPropertyValue().
|
overridevirtual |
|
overridevirtual |
Definition at line 713 of file linkuno.cxx.
References aPropSet, and SfxItemPropertySet::getPropertyMap().
|
overridevirtual |
Definition at line 755 of file linkuno.cxx.
References getFileName(), getFilter(), getFilterOptions(), getRefreshDelay(), SC_UNONAME_FILTER, SC_UNONAME_FILTOPT, SC_UNONAME_LINKURL, SC_UNONAME_REFDELAY, and SC_UNONAME_REFPERIOD.
sal_Int32 ScAreaLinkObj::getRefreshDelay | ( | ) | const |
Definition at line 824 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
Referenced by getPropertyValue().
|
overridevirtual |
Definition at line 842 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
|
overridevirtual |
|
private |
Undo delete Undo merge
in InsertAreaLink?
Definition at line 612 of file linkuno.cxx.
References ScUnoConversion::FillScRange(), ScGlobal::GetAbsDocName(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::GetLinkManager(), ScDocFunc::InsertAreaLink(), lcl_GetAreaLink(), nPos, pDocShell, pLink, and sfx2::LinkManager::Remove().
Referenced by setDestArea(), setFileName(), setFilter(), setFilterOptions(), and setSourceArea().
|
private |
Definition at line 654 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
Referenced by setRefreshDelay().
|
overridevirtual |
notify if links in document are changed
Reimplemented from SfxListener.
Definition at line 588 of file linkuno.cxx.
References AREA, SfxHint::GetId(), lcl_GetAreaLink(), nPos, pDocShell, pLink, and Refreshed_Impl().
|
overridevirtual |
Definition at line 663 of file linkuno.cxx.
References lcl_GetAreaLink(), nPos, pDocShell, and pLink.
|
private |
Definition at line 703 of file linkuno.cxx.
References aEvent, and aRefreshListeners.
Referenced by Notify().
|
overridevirtual |
|
overridevirtual |
Definition at line 682 of file linkuno.cxx.
References aRefreshListeners, n, and nCount.
|
overridevirtual |
|
overridevirtual |
Definition at line 868 of file linkuno.cxx.
References Modify_Impl().
void ScAreaLinkObj::setFileName | ( | const OUString & | FileName | ) |
Definition at line 786 of file linkuno.cxx.
References Modify_Impl().
Referenced by setPropertyValue().
void ScAreaLinkObj::setFilter | ( | const OUString & | Filter | ) |
Definition at line 802 of file linkuno.cxx.
References Filter, and Modify_Impl().
Referenced by setPropertyValue().
void ScAreaLinkObj::setFilterOptions | ( | const OUString & | FilterOptions | ) |
Definition at line 818 of file linkuno.cxx.
References FilterOptions, and Modify_Impl().
Referenced by setPropertyValue().
|
overridevirtual |
Definition at line 721 of file linkuno.cxx.
References SC_UNONAME_FILTER, SC_UNONAME_FILTOPT, SC_UNONAME_LINKURL, SC_UNONAME_REFDELAY, SC_UNONAME_REFPERIOD, setFileName(), setFilter(), setFilterOptions(), and setRefreshDelay().
void ScAreaLinkObj::setRefreshDelay | ( | sal_Int32 | nRefreshDelay | ) |
Definition at line 834 of file linkuno.cxx.
References ModifyRefreshDelay_Impl().
Referenced by setPropertyValue().
|
overridevirtual |
Definition at line 852 of file linkuno.cxx.
References Modify_Impl().
|
overridevirtual |
|
private |
Definition at line 164 of file linkuno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 167 of file linkuno.hxx.
Referenced by addRefreshListener(), Refreshed_Impl(), and removeRefreshListener().
|
private |
Definition at line 166 of file linkuno.hxx.
Referenced by getDestArea(), getFilter(), getFilterOptions(), getRefreshDelay(), getSourceArea(), Modify_Impl(), ModifyRefreshDelay_Impl(), Notify(), and refresh().
|
private |
Definition at line 165 of file linkuno.hxx.
Referenced by getDestArea(), getFilter(), getFilterOptions(), getRefreshDelay(), getSourceArea(), Modify_Impl(), ModifyRefreshDelay_Impl(), Notify(), refresh(), ScAreaLinkObj(), and ~ScAreaLinkObj().