24#include <com/sun/star/sheet/XDDELink.hpp>
25#include <com/sun/star/sheet/XDDELinkResults.hpp>
26#include <com/sun/star/sheet/XDDELinks.hpp>
27#include <com/sun/star/sheet/XExternalDocLink.hpp>
28#include <com/sun/star/sheet/XExternalDocLinks.hpp>
29#include <com/sun/star/sheet/XExternalSheetCache.hpp>
30#include <com/sun/star/sheet/XAreaLink.hpp>
31#include <com/sun/star/sheet/XAreaLinks.hpp>
32#include <com/sun/star/util/XRefreshable.hpp>
33#include <com/sun/star/lang/XServiceInfo.hpp>
34#include <com/sun/star/beans/XPropertySet.hpp>
35#include <com/sun/star/container/XEnumerationAccess.hpp>
36#include <com/sun/star/container/XNameAccess.hpp>
37#include <com/sun/star/container/XIndexAccess.hpp>
38#include <com/sun/star/container/XNamed.hpp>
51 css::container::XNamed,
52 css::util::XRefreshable,
53 css::beans::XPropertySet,
54 css::lang::XServiceInfo >,
74 virtual OUString SAL_CALL
getName()
override;
75 virtual void SAL_CALL
setName(
const OUString& aName )
override;
78 virtual void SAL_CALL
refresh()
override;
79 virtual void SAL_CALL
addRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
80 virtual void SAL_CALL
removeRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
83 virtual css::uno::Reference< css::beans::XPropertySetInfo >
86 const css::uno::Any& aValue )
override;
88 const OUString& PropertyName )
override;
90 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
92 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
94 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
96 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
115 css::container::XNameAccess,
116 css::container::XEnumerationAccess,
117 css::container::XIndexAccess,
118 css::lang::XServiceInfo >,
134 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
135 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
139 virtual sal_Int32 SAL_CALL
getCount()
override;
143 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
157 css::sheet::XAreaLink,
158 css::util::XRefreshable,
159 css::beans::XPropertySet,
160 css::lang::XServiceInfo >,
169 void Modify_Impl(
const OUString* pNewFile,
const OUString* pNewFilter,
170 const OUString* pNewOptions,
const OUString* pNewSource,
171 const css::table::CellRangeAddress* pNewDest );
182 virtual void SAL_CALL
refresh()
override;
183 virtual void SAL_CALL
addRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
184 virtual void SAL_CALL
removeRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
187 virtual css::uno::Reference< css::beans::XPropertySetInfo >
190 const css::uno::Any& aValue )
override;
191 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
193 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
195 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
197 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
199 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
213 virtual void SAL_CALL
setSourceArea(
const OUString& aSourceArea )
override;
214 virtual css::table::CellRangeAddress SAL_CALL
getDestArea()
override;
215 virtual void SAL_CALL
setDestArea(
const css::table::CellRangeAddress& aDestArea )
override;
224 css::sheet::XAreaLinks,
225 css::container::XEnumerationAccess,
226 css::lang::XServiceInfo >,
241 virtual void SAL_CALL
insertAtPosition(
const css::table::CellAddress& aDestPos,
242 const OUString& aFileName,
243 const OUString& aSourceArea,
244 const OUString& aFilter,
245 const OUString& aFilterOptions )
override;
246 virtual void SAL_CALL
removeByIndex( sal_Int32 nIndex )
override;
249 virtual sal_Int32 SAL_CALL
getCount()
override;
253 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
269 css::sheet::XDDELink,
270 css::container::XNamed,
271 css::util::XRefreshable,
272 css::sheet::XDDELinkResults,
273 css::lang::XServiceInfo >,
287 OUString aT, OUString aI);
293 virtual OUString SAL_CALL
getName()
override;
294 virtual void SAL_CALL
setName(
const OUString& aName )
override;
298 virtual OUString SAL_CALL
getTopic()
override;
299 virtual OUString SAL_CALL
getItem()
override;
302 virtual void SAL_CALL
refresh()
override;
303 virtual void SAL_CALL
addRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
304 virtual void SAL_CALL
removeRefreshListener(
const css::uno::Reference< css::util::XRefreshListener >& l )
override;
307 virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > >
310 const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aResults )
override;
319 css::container::XEnumerationAccess,
320 css::container::XIndexAccess,
321 css::sheet::XDDELinks,
322 css::lang::XServiceInfo >,
338 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
339 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
343 virtual sal_Int32 SAL_CALL
getCount()
override;
347 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
355 virtual css::uno::Reference< css::sheet::XDDELink > SAL_CALL
addDDELink(
356 const OUString& aApplication,
const OUString& aTopic,
357 const OUString& aItem, css::sheet::DDELinkMode nMode )
override;
373 sal_Int32 nCol, sal_Int32 nRow,
const css::uno::Any& rAny)
override;
375 virtual css::uno::Any SAL_CALL
getCellValue(sal_Int32 nCol, sal_Int32 nRow)
override;
377 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
getAllRows()
override;
379 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
getAllColumns(sal_Int32 nRow)
override;
400 virtual css::uno::Reference< css::sheet::XExternalSheetCache >
404 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
aName )
override;
405 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
409 virtual sal_Int32 SAL_CALL
getCount()
override;
413 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
437 virtual css::uno::Reference< css::sheet::XExternalDocLink >
438 SAL_CALL
addDocLink(
const OUString& aDocName )
override;
441 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
aName )
override;
442 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
446 virtual sal_Int32 SAL_CALL
getCount()
override;
450 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
void Modify_Impl(const OUString *pNewFile, const OUString *pNewFilter, const OUString *pNewOptions, const OUString *pNewSource, const css::table::CellRangeAddress *pNewDest)
virtual css::table::CellRangeAddress SAL_CALL getDestArea() override
void setFileName(const OUString &FileName)
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
OUString getFilter() const
XRefreshListenerArr_Impl aRefreshListeners
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
void setRefreshDelay(sal_Int32 nRefreshDelay)
void setFilterOptions(const OUString &FilterOptions)
OUString getFileName() const
void ModifyRefreshDelay_Impl(sal_Int32 nRefresh)
virtual OUString SAL_CALL getSourceArea() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
ScAreaLinkObj(ScDocShell *pDocSh, size_t nP)
virtual void SAL_CALL setDestArea(const css::table::CellRangeAddress &aDestArea) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
void setFilter(const OUString &Filter)
SfxItemPropertySet aPropSet
OUString getFilterOptions() const
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
sal_Int32 getRefreshDelay() const
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL setSourceArea(const OUString &aSourceArea) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL refresh() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual ~ScAreaLinkObj() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
ScAreaLinksObj(ScDocShell *pDocSh)
virtual void SAL_CALL insertAtPosition(const css::table::CellAddress &aDestPos, const OUString &aFileName, const OUString &aSourceArea, const OUString &aFilter, const OUString &aFilterOptions) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual ~ScAreaLinksObj() override
rtl::Reference< ScAreaLinkObj > GetObjectByIndex_Impl(sal_Int32 nIndex)
order of XNamed and DDELink changed to avoid "duplicate comdat" symbols
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getResults() override
virtual OUString SAL_CALL getApplication() override
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
virtual void SAL_CALL setName(const OUString &aName) override
virtual OUString SAL_CALL getName() override
virtual void SAL_CALL setResults(const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aResults) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
XRefreshListenerArr_Impl aRefreshListeners
virtual OUString SAL_CALL getTopic() override
ScDDELinkObj(ScDocShell *pDocSh, OUString aA, OUString aT, OUString aI)
virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
virtual OUString SAL_CALL getItem() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL refresh() override
virtual ~ScDDELinkObj() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() 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 hasByName(const OUString &aName) override
rtl::Reference< ScDDELinkObj > GetObjectByIndex_Impl(sal_Int32 nIndex)
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
rtl::Reference< ScDDELinkObj > GetObjectByName_Impl(std::u16string_view aName)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
ScDDELinksObj(ScDocShell *pDocSh)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Int32 SAL_CALL getCount() override
virtual ~ScDDELinksObj() override
virtual sal_Bool SAL_CALL hasElements() 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 supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::sheet::XExternalSheetCache > SAL_CALL addSheetCache(const OUString &aSheetName, sal_Bool bDynamicCache) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual sal_Int32 SAL_CALL getTokenIndex() override
virtual ~ScExternalDocLinkObj() override
ScExternalDocLinkObj(ScDocShell *pDocShell, ScExternalRefManager *pRefMgr, sal_uInt16 nFileId)
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Int32 SAL_CALL getCount() override
ScExternalRefManager * mpRefMgr
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual sal_Bool SAL_CALL hasElements() override
This is the UNO API equivalent of ScExternalRefManager.
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual ~ScExternalDocLinksObj() override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Int32 SAL_CALL getCount() override
ScExternalDocLinksObj(ScDocShell *pDocShell)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
ScExternalRefManager * mpRefMgr
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual sal_Bool SAL_CALL hasElements() override
ScExternalDocLinksObj(const ScExternalDocLinksObj &)=delete
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Reference< css::sheet::XExternalDocLink > SAL_CALL addDocLink(const OUString &aDocName) override
std::shared_ptr< Table > TableTypeRef
virtual void SAL_CALL setCellValue(sal_Int32 nCol, sal_Int32 nRow, const css::uno::Any &rAny) override
ScExternalRefCache::TableTypeRef mpTable
ScExternalSheetCacheObj(ScDocShell *pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex)
virtual sal_Int32 SAL_CALL getTokenIndex() override
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllColumns(sal_Int32 nRow) override
virtual css::uno::Any SAL_CALL getCellValue(sal_Int32 nCol, sal_Int32 nRow) override
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getAllRows() override
ScExternalSheetCacheObj(const ScExternalSheetCacheObj &)=delete
virtual ~ScExternalSheetCacheObj() override
void setFilter(const OUString &Filter)
OUString getFilterOptions() const
virtual OUString SAL_CALL getName() override
void setRefreshDelay(sal_Int32 nRefreshDelay)
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL refresh() override
virtual void SAL_CALL setName(const OUString &aName) override
XRefreshListenerArr_Impl aRefreshListeners
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
void ModifyRefreshDelay_Impl(sal_Int32 nRefresh)
SfxItemPropertySet aPropSet
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
OUString getFileName() const
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &l) override
virtual ~ScSheetLinkObj() override
ScTableLink * GetLink_Impl() const
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
void setFilterOptions(const OUString &FilterOptions)
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
OUString getFilter() const
ScSheetLinkObj(ScDocShell *pDocSh, OUString aName)
sal_Int32 getRefreshDelay() const
void setFileName(const OUString &FileName)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
rtl::Reference< ScSheetLinkObj > GetObjectByIndex_Impl(sal_Int32 nIndex)
rtl::Reference< ScSheetLinkObj > GetObjectByName_Impl(const OUString &aName)
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL hasElements() override
ScSheetLinksObj(ScDocShell *pDocSh)
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual ~ScSheetLinksObj() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Int32 SAL_CALL getCount() override
std::vector< css::uno::Reference< css::util::XRefreshListener > > XRefreshListenerArr_Impl