LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdLayer Class Reference

#include <unolayer.hxx>

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

Public Member Functions

 SdLayer (SdLayerManager *pLayerManager_, SdrLayer *pSdrLayer_)
 
virtual ~SdLayer () noexcept override
 
SdrLayerGetSdrLayer () const noexcept
 
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
 
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::uno::XInterface > SAL_CALL getParent () override
 Returns the layer manager that manages this layer. More...
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 Not implemented. More...
 

Private Member Functions

bool get (LayerAttribute what) noexcept
 
void set (LayerAttribute what, bool flag) noexcept
 

Private Attributes

rtl::Reference< SdLayerManagermxLayerManager
 
SdrLayerpLayer
 
const SvxItemPropertySetpPropSet
 

Detailed Description

Definition at line 42 of file unolayer.hxx.

Constructor & Destructor Documentation

◆ SdLayer()

SdLayer::SdLayer ( SdLayerManager pLayerManager_,
SdrLayer pSdrLayer_ 
)

Definition at line 77 of file unolayer.cxx.

◆ ~SdLayer()

SdLayer::~SdLayer ( )
overridevirtualnoexcept

Definition at line 87 of file unolayer.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL SdLayer::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 357 of file unolayer.cxx.

◆ addPropertyChangeListener()

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

Definition at line 223 of file unolayer.cxx.

◆ addVetoableChangeListener()

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

Definition at line 225 of file unolayer.cxx.

◆ dispose()

void SAL_CALL SdLayer::dispose ( void  )
overridevirtual

Definition at line 351 of file unolayer.cxx.

References mxLayerManager, and pLayer.

◆ get()

bool SdLayer::get ( LayerAttribute  what)
privatenoexcept

◆ getImplementationName()

OUString SAL_CALL SdLayer::getImplementationName ( )
overridevirtual

Definition at line 92 of file unolayer.cxx.

◆ getParent()

uno::Reference< uno::XInterface > SAL_CALL SdLayer::getParent ( )
overridevirtual

Returns the layer manager that manages this layer.

Definition at line 335 of file unolayer.cxx.

References mxLayerManager.

◆ getPropertySetInfo()

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

Definition at line 108 of file unolayer.cxx.

References SvxItemPropertySet::getPropertySetInfo(), and pPropSet.

◆ getPropertyValue()

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

◆ GetSdrLayer()

SdrLayer * SdLayer::GetSdrLayer ( ) const
inlinenoexcept

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SdLayer::getSupportedServiceNames ( )
overridevirtual

Definition at line 102 of file unolayer.cxx.

◆ removeEventListener()

void SAL_CALL SdLayer::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 362 of file unolayer.cxx.

◆ removePropertyChangeListener()

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

Definition at line 224 of file unolayer.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 226 of file unolayer.cxx.

◆ set()

void SdLayer::set ( LayerAttribute  what,
bool  flag 
)
privatenoexcept

◆ setParent()

void SAL_CALL SdLayer::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Not implemented.

Always throws an exception.

Exceptions
NoSupportException.

Definition at line 345 of file unolayer.cxx.

◆ setPropertyValue()

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

◆ supportsService()

sal_Bool SAL_CALL SdLayer::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 97 of file unolayer.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mxLayerManager

rtl::Reference<SdLayerManager> SdLayer::mxLayerManager
private

Definition at line 85 of file unolayer.hxx.

Referenced by dispose(), getParent(), getPropertyValue(), and setPropertyValue().

◆ pLayer

SdrLayer* SdLayer::pLayer
private

Definition at line 86 of file unolayer.hxx.

Referenced by dispose(), getPropertyValue(), GetSdrLayer(), and setPropertyValue().

◆ pPropSet

const SvxItemPropertySet* SdLayer::pPropSet
private

Definition at line 87 of file unolayer.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().


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