LibreOffice Module slideshow (master) 1
Public Member Functions | List of all members
slideshow::internal::ShapeManager Class Referenceabstract

ShapeManager interface. More...

#include <shapemanager.hxx>

Inheritance diagram for slideshow::internal::ShapeManager:
[legend]
Collaboration diagram for slideshow::internal::ShapeManager:
[legend]

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 XShapeToShapeMapgetXShapeToShapeMap () 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...
 

Detailed Description

ShapeManager interface.

Implementers of this interface manage appearance and animation of slideshow shapes.

Definition at line 52 of file shapemanager.hxx.

Member Function Documentation

◆ addHyperlinkArea()

virtual void slideshow::internal::ShapeManager::addHyperlinkArea ( const HyperlinkAreaSharedPtr rArea)
pure virtual

Register given shape as a hyperlink target.

Parameters
rAreaHyperlink sensitive area. Will participate in hyperlink region lookup. Must be in absolute user space coordinates.

Implemented in slideshow::internal::ShapeManagerImpl.

◆ enterAnimationMode()

virtual void slideshow::internal::ShapeManager::enterAnimationMode ( const AnimatableShapeSharedPtr rShape)
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.

◆ getXShapeToShapeMap()

virtual const XShapeToShapeMap & slideshow::internal::ShapeManager::getXShapeToShapeMap ( ) const
pure virtual

Get a map that maps all Shapes with their XShape reference as the key.

Returns
an unordered map that contains all shapes in the current page with their XShape reference as the key

Implemented in slideshow::internal::ShapeManagerImpl.

◆ leaveAnimationMode()

virtual void slideshow::internal::ShapeManager::leaveAnimationMode ( const AnimatableShapeSharedPtr rShape)
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.

◆ lookupShape()

virtual ShapeSharedPtr slideshow::internal::ShapeManager::lookupShape ( css::uno::Reference< css::drawing::XShape > const &  xShape) const
pure virtual

Lookup a Shape from an XShape model object.

This method looks up the internal shape map for one representing the given XShape.

Parameters
xShapeThe XShape object, for which the representing Shape should be looked up.

Implemented in slideshow::internal::ShapeManagerImpl.

◆ notifyShapeUpdate()

virtual void slideshow::internal::ShapeManager::notifyShapeUpdate ( const ShapeSharedPtr rShape)
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.

Parameters
rShapeShape which needs an update

Implemented in slideshow::internal::ShapeManagerImpl.


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