LibreOffice Module sc (master) 1
|
#include <linkuno.hxx>
Public Member Functions | |
ScDDELinksObj (ScDocShell *pDocSh) | |
virtual | ~ScDDELinksObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::sheet::XDDELink > SAL_CALL | addDDELink (const OUString &aApplication, const OUString &aTopic, const OUString &aItem, css::sheet::DDELinkMode nMode) 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 | |
rtl::Reference< ScDDELinkObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) |
rtl::Reference< ScDDELinkObj > | GetObjectByName_Impl (std::u16string_view aName) |
Private Attributes | |
ScDocShell * | pDocShell |
Definition at line 318 of file linkuno.hxx.
ScDDELinksObj::ScDDELinksObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 1183 of file linkuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 1189 of file linkuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 1331 of file linkuno.cxx.
References aName, ScDocument::CreateDdeLink(), ScDocShell::GetDocument(), GetObjectByName_Impl(), lcl_BuildDDEName(), pDocShell, SC_DDE_DEFAULT, SC_DDE_ENGLISH, and SC_DDE_TEXT.
|
overridevirtual |
Definition at line 1240 of file linkuno.cxx.
|
overridevirtual |
Definition at line 1257 of file linkuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 1278 of file linkuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
Definition at line 1248 of file linkuno.cxx.
References sc::DocumentLinkManager::getDdeLinkCount(), ScDocument::GetDocLinkManager(), ScDocShell::GetDocument(), and pDocShell.
Referenced by hasElements().
|
overridevirtual |
Definition at line 1288 of file linkuno.cxx.
References aSeq, sc::DocumentLinkManager::getDdeLinkCount(), ScDocument::GetDdeLinkData(), ScDocument::GetDocLinkManager(), ScDocShell::GetDocument(), i, lcl_BuildDDEName(), nCount, and pDocShell.
|
overridevirtual |
Definition at line 1267 of file linkuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 1209 of file linkuno.cxx.
References ScDocument::GetDdeLinkData(), ScDocShell::GetDocument(), nIndex, and pDocShell.
Referenced by getByIndex().
|
private |
Definition at line 1220 of file linkuno.cxx.
References aName, sc::DocumentLinkManager::getDdeLinkCount(), ScDocument::GetDdeLinkData(), ScDocument::GetDocLinkManager(), ScDocShell::GetDocument(), i, lcl_BuildDDEName(), nCount, and pDocShell.
Referenced by addDDELink(), and getByName().
|
overridevirtual |
|
overridevirtual |
Definition at line 1310 of file linkuno.cxx.
References aName, sc::DocumentLinkManager::getDdeLinkCount(), ScDocument::GetDdeLinkData(), ScDocument::GetDocLinkManager(), ScDocShell::GetDocument(), i, lcl_BuildDDEName(), nCount, and pDocShell.
|
overridevirtual |
Definition at line 1272 of file linkuno.cxx.
References getCount().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1197 of file linkuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
|
private |
Definition at line 326 of file linkuno.hxx.
Referenced by addDDELink(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), Notify(), ScDDELinksObj(), and ~ScDDELinksObj().