LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ScLinkTargetTypeObj Class Referencefinal

#include <targuno.hxx>

Inheritance diagram for ScLinkTargetTypeObj:
[legend]
Collaboration diagram for ScLinkTargetTypeObj:
[legend]

Public Member Functions

 ScLinkTargetTypeObj (ScDocShell *pDocSh, sal_uInt16 nT)
 
virtual ~ScLinkTargetTypeObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks () 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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Static Public Member Functions

static void SetLinkTargetBitmap (css::uno::Any &rRet, sal_uInt16 nType)
 

Private Attributes

ScDocShellpDocShell
 
sal_uInt16 nType
 
OUString aName
 

Detailed Description

Definition at line 75 of file targuno.hxx.

Constructor & Destructor Documentation

◆ ScLinkTargetTypeObj()

ScLinkTargetTypeObj::ScLinkTargetTypeObj ( ScDocShell pDocSh,
sal_uInt16  nT 
)

on demand?

Definition at line 135 of file targuno.cxx.

References ScDocument::AddUnoObject(), aName, aTypeResIds, ScDocShell::GetDocument(), nType, pDocShell, and ScResId().

◆ ~ScLinkTargetTypeObj()

ScLinkTargetTypeObj::~ScLinkTargetTypeObj ( )
overridevirtual

Definition at line 143 of file targuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScLinkTargetTypeObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

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

◆ getImplementationName()

virtual OUString SAL_CALL ScLinkTargetTypeObj::getImplementationName ( )
overridevirtual

◆ getLinks()

uno::Reference< container::XNameAccess > SAL_CALL ScLinkTargetTypeObj::getLinks ( )
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScLinkTargetTypeObj::getPropertySetInfo ( )
overridevirtual

Definition at line 190 of file targuno.cxx.

References lcl_GetLinkTargetMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScLinkTargetTypeObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 237 of file targuno.cxx.

References aName, nType, SC_UNO_LINKDISPBIT, SC_UNO_LINKDISPNAME, and SetLinkTargetBitmap().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScLinkTargetTypeObj::getSupportedServiceNames ( )
overridevirtual

◆ Notify()

void ScLinkTargetTypeObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 151 of file targuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removePropertyChangeListener()

virtual void SAL_CALL ScLinkTargetTypeObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScLinkTargetTypeObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ SetLinkTargetBitmap()

void ScLinkTargetTypeObj::SetLinkTargetBitmap ( css::uno::Any &  rRet,
sal_uInt16  nType 
)
static

◆ setPropertyValue()

void SAL_CALL ScLinkTargetTypeObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

exception?

Definition at line 196 of file targuno.cxx.

◆ supportsService()

virtual sal_Bool SAL_CALL ScLinkTargetTypeObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aName

OUString ScLinkTargetTypeObj::aName
private

Definition at line 84 of file targuno.hxx.

Referenced by getPropertyValue(), and ScLinkTargetTypeObj().

◆ nType

sal_uInt16 ScLinkTargetTypeObj::nType
private

Definition at line 83 of file targuno.hxx.

Referenced by getLinks(), getPropertyValue(), ScLinkTargetTypeObj(), and SetLinkTargetBitmap().

◆ pDocShell

ScDocShell* ScLinkTargetTypeObj::pDocShell
private

Definition at line 82 of file targuno.hxx.

Referenced by getLinks(), Notify(), ScLinkTargetTypeObj(), and ~ScLinkTargetTypeObj().


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