23#include <com/sun/star/document/XLinkTargetSupplier.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/beans/XPropertySet.hpp>
26#include <com/sun/star/container/XNameAccess.hpp>
35#define SC_LINKTARGETTYPE_SHEET 0
36#define SC_LINKTARGETTYPE_RANGENAME 1
37#define SC_LINKTARGETTYPE_DBAREA 2
39#define SC_LINKTARGETTYPE_COUNT 3
46 css::container::XNameAccess,
47 css::lang::XServiceInfo >,
61 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName)
override;
62 virtual css::uno::Sequence< OUString> SAL_CALL
getElementNames()
override;
76 css::beans::XPropertySet,
77 css::document::XLinkTargetSupplier,
78 css::lang::XServiceInfo >,
95 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo()
override;
97 const css::uno::Any& aValue)
override;
98 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName)
override;
100 const css::uno::Reference< css::beans::XPropertyChangeListener > & xListener)
override;
102 const css::uno::Reference< css::beans::XPropertyChangeListener > & aListener)
override;
104 const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener)
override;
106 const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener)
override;
109 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL
getLinks()
override;
118 css::container::XNameAccess,
119 css::lang::XServiceInfo >
125 ScLinkTargetsObj( css::uno::Reference< css::container::XNameAccess > xColl );
129 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName)
override;
130 virtual css::uno::Sequence< OUString> SAL_CALL
getElementNames()
override;
virtual ~ScLinkTargetTypeObj() override
virtual OUString SAL_CALL getImplementationName() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override
static void SetLinkTargetBitmap(css::uno::Any &rRet, sal_uInt16 nType)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
ScLinkTargetTypeObj(ScDocShell *pDocSh, sal_uInt16 nT)
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Graphic / OleObject (need separate collections!)
ScLinkTargetTypesObj(ScDocShell *pDocSh)
virtual ~ScLinkTargetTypesObj() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
OUString aNames[SC_LINKTARGETTYPE_COUNT]
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
ScLinkTargetsObj(css::uno::Reference< css::container::XNameAccess > xColl)
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual ~ScLinkTargetsObj() override
css::uno::Reference< css::container::XNameAccess > xCollection
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
constexpr OUStringLiteral SCLINKTARGET_SERVICE
#define SC_LINKTARGETTYPE_COUNT