LibreOffice Module slideshow (master) 1
|
ShapeManager interface. More...
#include <shapemanager.hxx>
Public Member Functions | |
virtual void | enterAnimationMode (const AnimatableShapeSharedPtr &rShape)=0 |
Notify the ShapeManager that the given Shape starts an animation now. More... | |
virtual void | leaveAnimationMode (const AnimatableShapeSharedPtr &rShape)=0 |
Notify the ShapeManager that the given Shape is no longer animated. More... | |
virtual void | notifyShapeUpdate (const ShapeSharedPtr &rShape)=0 |
Notify that a shape needs an update. More... | |
virtual ShapeSharedPtr | lookupShape (css::uno::Reference< css::drawing::XShape > const &xShape) const =0 |
Lookup a Shape from an XShape model object. More... | |
virtual const XShapeToShapeMap & | getXShapeToShapeMap () const =0 |
Get a map that maps all Shapes with their XShape reference as the key. More... | |
virtual void | addHyperlinkArea (const HyperlinkAreaSharedPtr &rArea)=0 |
Register given shape as a hyperlink target. More... | |
Public Member Functions inherited from slideshow::internal::Disposable | |
virtual | ~Disposable () |
virtual void | dispose ()=0 |
Dispose all object references. More... | |
ShapeManager interface.
Implementers of this interface manage appearance and animation of slideshow shapes.
Definition at line 52 of file shapemanager.hxx.
|
pure virtual |
Register given shape as a hyperlink target.
rArea | Hyperlink sensitive area. Will participate in hyperlink region lookup. Must be in absolute user space coordinates. |
Implemented in slideshow::internal::ShapeManagerImpl.
|
pure virtual |
Notify the ShapeManager that the given Shape starts an animation now.
This method enters animation mode for the Shape. If the shape is already in animation mode, the call is counted, and the shape only leaves animation mode after a corresponding number of leaveAnimationMode() calls.
Implemented in slideshow::internal::ShapeManagerImpl.
|
pure virtual |
Get a map that maps all Shapes with their XShape reference as the key.
Implemented in slideshow::internal::ShapeManagerImpl.
|
pure virtual |
Notify the ShapeManager that the given Shape is no longer animated.
When called a corresponding number of times as enterAnimationMode() for a given shape, this methods ends animation mode for the given Shape. It is illegal to call this method more often than enterAnimationMode().
Implemented in slideshow::internal::ShapeManagerImpl.
|
pure virtual |
Lookup a Shape from an XShape model object.
This method looks up the internal shape map for one representing the given XShape.
xShape | The XShape object, for which the representing Shape should be looked up. |
Implemented in slideshow::internal::ShapeManagerImpl.
|
pure virtual |
Notify that a shape needs an update.
This method notifies the ShapeManager that a shape update is necessary. Use this if e.g. a running animation changed the shape appearance.
rShape | Shape which needs an update |
Implemented in slideshow::internal::ShapeManagerImpl.