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

SubsettableShapeManager interface. More...

#include <subsettableshapemanager.hxx>

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

Public Member Functions

virtual AttributableShapeSharedPtr getSubsetShape (const AttributableShapeSharedPtr &rOrigShape, const DocTreeNode &rTreeNode)=0
 Query a subset of the given original shape. More...
 
virtual void revokeSubset (const AttributableShapeSharedPtr &rOrigShape, const AttributableShapeSharedPtr &rSubsetShape)=0
 Revoke a previously queried subset shape. More...
 
virtual void addIntrinsicAnimationHandler (const IntrinsicAnimationEventHandlerSharedPtr &rHandler)=0
 Register an event handler that will be called when user paint parameters change. More...
 
virtual void removeIntrinsicAnimationHandler (const IntrinsicAnimationEventHandlerSharedPtr &rHandler)=0
 
virtual void notifyIntrinsicAnimationsEnabled ()=0
 Notify that shape-intrinsic animations are now enabled. More...
 
virtual void notifyIntrinsicAnimationsDisabled ()=0
 Notify that shape-intrinsic animations are now disabled. More...
 
- Public Member Functions inherited from slideshow::internal::ShapeManager
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

SubsettableShapeManager interface.

Implementers of this interface manage creation and revocation of shape subsets. Shape subsets are shapes that represent (and animate) only parts of an original's shape content.

Definition at line 42 of file subsettableshapemanager.hxx.

Member Function Documentation

◆ addIntrinsicAnimationHandler()

virtual void slideshow::internal::SubsettableShapeManager::addIntrinsicAnimationHandler ( const IntrinsicAnimationEventHandlerSharedPtr rHandler)
pure virtual

Register an event handler that will be called when user paint parameters change.

Parameters
rHandlerHandler to call when a shape listener changes

Implemented in slideshow::internal::ShapeManagerImpl.

◆ getSubsetShape()

virtual AttributableShapeSharedPtr slideshow::internal::SubsettableShapeManager::getSubsetShape ( const AttributableShapeSharedPtr rOrigShape,
const DocTreeNode rTreeNode 
)
pure virtual

Query a subset of the given original shape.

This method queries a new (but not necessarily unique) shape, which displays only the given subset of the original one. Calling this method multiple times with the same original shape and DocTreeNode content always returns the same shape.

Requesting a subset from an original shape leads to the original shape ceasing to display the subsetted content. In other words, shape content is always displayed in exactly one shape.

Parameters
rOrigShapeThe shape the subset is to be created for
rSubsetShapeThe subset to display in the generated shape.

Implemented in slideshow::internal::ShapeManagerImpl.

◆ notifyIntrinsicAnimationsDisabled()

virtual void slideshow::internal::SubsettableShapeManager::notifyIntrinsicAnimationsDisabled ( )
pure virtual

Notify that shape-intrinsic animations are now disabled.

Implemented in slideshow::internal::ShapeManagerImpl.

◆ notifyIntrinsicAnimationsEnabled()

virtual void slideshow::internal::SubsettableShapeManager::notifyIntrinsicAnimationsEnabled ( )
pure virtual

Notify that shape-intrinsic animations are now enabled.

Implemented in slideshow::internal::ShapeManagerImpl.

◆ removeIntrinsicAnimationHandler()

virtual void slideshow::internal::SubsettableShapeManager::removeIntrinsicAnimationHandler ( const IntrinsicAnimationEventHandlerSharedPtr rHandler)
pure virtual

◆ revokeSubset()

virtual void slideshow::internal::SubsettableShapeManager::revokeSubset ( const AttributableShapeSharedPtr rOrigShape,
const AttributableShapeSharedPtr rSubsetShape 
)
pure virtual

Revoke a previously queried subset shape.

With this method, a previously requested subset shape is revoked again. If the last client revokes a given subset, it will cease to be displayed, and the original shape will again show the subset data.

Parameters
rOrigShapeThe shape the subset was created from
rSubsetShapeThe subset created from rOrigShape

Implemented in slideshow::internal::ShapeManagerImpl.


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