LibreOffice Module sd (master) 1
|
#include <unolayer.hxx>
Public Member Functions | |
SdLayer (SdLayerManager *pLayerManager_, SdrLayer *pSdrLayer_) | |
virtual | ~SdLayer () noexcept override |
SdrLayer * | GetSdrLayer () 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< SdLayerManager > | mxLayerManager |
SdrLayer * | pLayer |
const SvxItemPropertySet * | pPropSet |
Definition at line 42 of file unolayer.hxx.
SdLayer::SdLayer | ( | SdLayerManager * | pLayerManager_, |
SdrLayer * | pSdrLayer_ | ||
) |
Definition at line 77 of file unolayer.cxx.
|
overridevirtualnoexcept |
Definition at line 87 of file unolayer.cxx.
|
overridevirtual |
Definition at line 357 of file unolayer.cxx.
|
overridevirtual |
Definition at line 223 of file unolayer.cxx.
|
overridevirtual |
Definition at line 225 of file unolayer.cxx.
|
overridevirtual |
Definition at line 351 of file unolayer.cxx.
References mxLayerManager, and pLayer.
|
privatenoexcept |
Definition at line 228 of file unolayer.cxx.
References sd::FrameView::GetLockedLayers(), sd::FrameView::GetPrintableLayers(), SdrPaintView::GetSdrPageView(), sd::FrameView::GetVisibleLayers(), SdrPageView::IsLayerLocked(), SdrPageView::IsLayerPrintable(), SdrPageView::IsLayerVisible(), SdrLayerIDSet::IsSet(), LOCKED, PRINTABLE, and VISIBLE.
Referenced by getPropertyValue().
|
overridevirtual |
Definition at line 92 of file unolayer.cxx.
|
overridevirtual |
Returns the layer manager that manages this layer.
Definition at line 335 of file unolayer.cxx.
References mxLayerManager.
|
overridevirtual |
Definition at line 108 of file unolayer.cxx.
References SvxItemPropertySet::getPropertySetInfo(), and pPropSet.
|
overridevirtual |
Definition at line 182 of file unolayer.cxx.
References get(), SdrLayer::GetDescription(), SdrLayer::GetName(), SvxItemPropertySet::getPropertyMapEntry(), SdrLayer::GetTitle(), LOCKED, mxLayerManager, SfxItemPropertyMapEntry::nWID, pLayer, pPropSet, PRINTABLE, VISIBLE, WID_LAYER_DESC, WID_LAYER_LOCKED, WID_LAYER_NAME, WID_LAYER_PRINTABLE, WID_LAYER_TITLE, and WID_LAYER_VISIBLE.
|
inlinenoexcept |
Definition at line 52 of file unolayer.hxx.
References pLayer.
Referenced by SdLayerManager::attachShapeToLayer(), SdLayerManager::remove(), and sd::SdUnoDrawView::setActiveLayer().
|
overridevirtual |
Definition at line 102 of file unolayer.cxx.
|
overridevirtual |
Definition at line 362 of file unolayer.cxx.
|
overridevirtual |
Definition at line 224 of file unolayer.cxx.
|
overridevirtual |
Definition at line 226 of file unolayer.cxx.
|
privatenoexcept |
Definition at line 274 of file unolayer.cxx.
References sd::FrameView::GetLockedLayers(), sd::FrameView::GetPrintableLayers(), SdrPaintView::GetSdrPageView(), sd::FrameView::GetVisibleLayers(), LOCKED, PRINTABLE, SdrLayerIDSet::Set(), SdrPageView::SetLayerLocked(), SdrPageView::SetLayerPrintable(), SdrPageView::SetLayerVisible(), sd::FrameView::SetLockedLayers(), sd::FrameView::SetPrintableLayers(), sd::FrameView::SetVisibleLayers(), and VISIBLE.
Referenced by setPropertyValue().
|
overridevirtual |
Not implemented.
Always throws an exception.
NoSupportException. |
Definition at line 345 of file unolayer.cxx.
|
overridevirtual |
Definition at line 114 of file unolayer.cxx.
References aName, cppu::any2bool(), SvxItemPropertySet::getPropertyMapEntry(), LOCKED, mxLayerManager, SfxItemPropertyMapEntry::nWID, pLayer, pPropSet, PRINTABLE, set(), SdrLayer::SetDescription(), SdrLayer::SetLockedODF(), SdrLayer::SetName(), SdrLayer::SetPrintableODF(), SdrLayer::SetTitle(), SdrLayer::SetVisibleODF(), VISIBLE, WID_LAYER_DESC, WID_LAYER_LOCKED, WID_LAYER_NAME, WID_LAYER_PRINTABLE, WID_LAYER_TITLE, and WID_LAYER_VISIBLE.
|
overridevirtual |
Definition at line 97 of file unolayer.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 85 of file unolayer.hxx.
Referenced by dispose(), getParent(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 86 of file unolayer.hxx.
Referenced by dispose(), getPropertyValue(), GetSdrLayer(), and setPropertyValue().
|
private |
Definition at line 87 of file unolayer.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().