20#ifndef INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_EXTERNALSHAPEBASE_HXX
21#define INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_EXTERNALSHAPEBASE_HXX
58 virtual css::uno::Reference< css::drawing::XShape >
getXShape()
const override;
63 virtual void play()
override;
64 virtual void stop()
override;
65 virtual void pause()
override;
73 virtual bool update()
const override;
74 virtual bool render()
const override;
81 virtual ::basegfx::B2DRectangle
getBounds()
const override;
82 virtual ::basegfx::B2DRectangle
getDomBounds()
const override;
83 virtual ::basegfx::B2DRectangle
getUpdateArea()
const override;
95 virtual bool implRender( const ::basegfx::B2DRange& rCurrBounds )
const = 0;
116 css::uno::Reference< css::drawing::XShape >
mxShape;
This class multiplexes user-activated and slide-show global events.
Base class for shapes rendered by external engines.
virtual bool update() const override
Update the shape.
virtual ~ExternalShapeBase() override
virtual void implSetLooping(bool)
const css::uno::Reference< css::uno::XComponentContext > mxComponentContext
virtual ::basegfx::B2DRectangle getUpdateArea() const override
Get the current shape update area.
virtual void stop() override
Notify the Shape that it should stop playback.
EventMultiplexer & mrEventMultiplexer
SubsettableShapeManagerSharedPtr mpShapeManager
::basegfx::B2DRectangle maBounds
virtual bool implStartIntrinsicAnimation()=0
override in derived class to start external viewer
css::uno::Reference< css::drawing::XShape > mxShape
The associated XShape.
virtual void implPauseIntrinsicAnimation()=0
override in derived class to pause external viewer
virtual ::basegfx::B2DRectangle getBounds() const override
Get the current shape position and size.
void setLooping(bool bLooping) override
ExternalShapeBase(const css::uno::Reference< css::drawing::XShape > &xShape, double nPrio, const SlideShowContext &rContext)
Create a shape for the given XShape for an external shape.
virtual bool implEndIntrinsicAnimation()=0
override in derived class to stop external viewer
virtual void setMediaTime(double) override
Set media time in seconds.
virtual bool isPlaying() const override
Query whether the media is currently playing.
virtual css::uno::Reference< css::drawing::XShape > getXShape() const override
Get the associated XShape of this shape.
virtual bool isContentChanged() const override
Query whether shape content changed.
virtual bool isVisible() const override
Query whether the shape is visible at all.
virtual void implViewChanged(const UnoViewSharedPtr &rView)=0
override in derived class to resize
virtual void implSetIntrinsicAnimationTime(double)=0
override in derived class to set media time
virtual ::basegfx::B2DRectangle getDomBounds() const override
Get the DOM position and size of the shape.
virtual bool implIsIntrinsicAnimationPlaying() const =0
override in derived class to return status of animation
std::shared_ptr< ExternalShapeBaseListener > mpListener
virtual bool render() const override
Render the shape.
virtual void pause() override
Notify the Shape that it should pause playback.
virtual void implViewsChanged()=0
override in derived class to resize
virtual bool implRender(const ::basegfx::B2DRange &rCurrBounds) const =0
override in derived class to render preview
virtual double getPriority() const override
Get the shape priority.
virtual void play() override
Notify the Shape that it should start with playback.
virtual bool isBackgroundDetached() const override
Query whether the Shape is currently detached from the background.
::std::shared_ptr< SubsettableShapeManager > SubsettableShapeManagerSharedPtr
std::shared_ptr< UnoView > UnoViewSharedPtr
Common arguments for slideshow objects.