LibreOffice Module slideshow (master) 1
|
Holds a ShapeAttributeLayer, together with the associated Shape. More...
#include <shapeattributelayerholder.hxx>
Public Member Functions | |
ShapeAttributeLayerHolder () | |
Create a ShapeAttributeLayerHolder instance. More... | |
~ShapeAttributeLayerHolder () | |
ShapeAttributeLayerHolder (const ShapeAttributeLayerHolder &)=delete | |
ShapeAttributeLayerHolder & | operator= (const ShapeAttributeLayerHolder &)=delete |
void | reset () |
bool | createAttributeLayer (const AttributableShapeSharedPtr &rShape) |
This constructor receives a pointer to the Shape, from which attribute layers should be generated. More... | |
const ShapeAttributeLayerSharedPtr & | get () const |
Private Attributes | |
AttributableShapeSharedPtr | mpShape |
ShapeAttributeLayerSharedPtr | mpAttributeLayer |
Holds a ShapeAttributeLayer, together with the associated Shape.
Use this class to hold ShapeAttributeLayer objects the RAII way. When this object gets deleted, it will automatically revoke the attribute layer for the given shape (this encapsulates the somewhat clumsy notification process that is required for shape and attribute layer interaction).
Definition at line 38 of file shapeattributelayerholder.hxx.
|
inline |
Create a ShapeAttributeLayerHolder instance.
This constructor creates an empty attribute holder, to generate an attribute layer, you have to manually call createAttributeLayer().
Definition at line 47 of file shapeattributelayerholder.hxx.
|
inline |
Definition at line 53 of file shapeattributelayerholder.hxx.
References reset().
|
delete |
|
inline |
This constructor receives a pointer to the Shape, from which attribute layers should be generated.
Initially, this object does not create an attribute layer, you have to manually call createAttributeLayer().
rShape | Shape for which attribute layers should be generated. |
Definition at line 76 of file shapeattributelayerholder.hxx.
References mpAttributeLayer, mpShape, and reset().
Referenced by slideshow::internal::AnimationBaseNode::activate_st().
|
inline |
Definition at line 88 of file shapeattributelayerholder.hxx.
References mpAttributeLayer.
Referenced by slideshow::internal::AnimationBaseNode::activate_st().
|
delete |
|
inline |
Definition at line 62 of file shapeattributelayerholder.hxx.
References mpAttributeLayer, and mpShape.
Referenced by createAttributeLayer(), slideshow::internal::AnimationBaseNode::deactivate_st(), slideshow::internal::AnimationBaseNode::dispose(), and ~ShapeAttributeLayerHolder().
|
private |
Definition at line 95 of file shapeattributelayerholder.hxx.
Referenced by createAttributeLayer(), get(), and reset().
|
private |
Definition at line 94 of file shapeattributelayerholder.hxx.
Referenced by createAttributeLayer(), and reset().