LibreOffice Module slideshow (master) 1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
slideshow::internal Namespace Reference

Namespaces

namespace  ActivitiesFactory
 
namespace  AnimationFactory
 Factory for Animation objects.
 
namespace  AnimationNodeFactory
 
namespace  ParametricPolyPolygonFactory
 
namespace  TargetPropertiesCreator
 
namespace  TransitionFactory
 

Classes

class  ActivitiesQueue
 This class handles the XSprite updates needed for animations, such as moves, scales etc. More...
 
class  Activity
 
class  ActivityBase
 Base class for animation activities. More...
 
struct  ActivityParameters
 Parameter struct for animation activities. More...
 
class  AllAnimationEventHandler
 
class  AnimatableShape
 Represents an animatable shape. More...
 
class  AnimatedSprite
 This class provides the sprite for animated shapes. More...
 
class  Animation
 Interface defining a generic animation. More...
 
class  AnimationActivity
 Extends the Activity interface with animation-specific functions. More...
 
class  AnimationAudioNode
 Audio node. More...
 
class  AnimationBaseNode
 Common base class for all leaf animation nodes. More...
 
class  AnimationColorNode
 
class  AnimationCommandNode
 Command node. More...
 
class  AnimationEventHandler
 Interface for handling animation events. More...
 
class  AnimationFunction
 Interface describing an abstract animation function. More...
 
class  AnimationNode
 This interface is used to mirror every XAnimateNode object in the presentation core. More...
 
class  AnimationPathMotionNode
 
class  AnimationPhysicsNode
 
class  AnimationSetNode
 
class  AnimationTransformNode
 
class  AnimationTransitionFilterNode
 
class  AttributableShape
 Represents an animatable shape, that can have its attributes changed. More...
 
class  BarnDoorWipe
 Generate a barn door wipe or double barn door wipe: More...
 
class  BarnZigZagWipe
 Generates a vertical barnZigZag wipe: More...
 
class  BarWipePolyPolygon
 Generates a horizontal, left-to-right bar wipe: More...
 
class  BaseContainerNode
 This interface extends BaseNode with child handling methods. More...
 
class  BaseNode
 This interface extends AnimationNode with some file-private accessor methods. More...
 
class  BoolAnimation
 Interface defining a bool animation. More...
 
class  BoxSnakesWipe
 Generates a twoBoxLeft or fourBoxHorizontal wipe: More...
 
class  BoxWipe
 Generates a default topleft to right bottom box wipe. More...
 
class  CheckerBoardWipe
 Generate a check board wipe (across) More...
 
class  ClickEventHandler
 
class  ClippingFunctor
 Generates the final clipping polygon. More...
 
class  ClockWipe
 Generates a clockWiseTwelve clock wipe: More...
 
class  ColorAnimation
 Interface defining a color animation. More...
 
class  CombTransition
 Comb transition class. More...
 
class  ContinuousActivityBase
 Simple, continuous animation. More...
 
class  ContinuousKeyTimeActivityBase
 Interpolated, key-times animation. More...
 
class  Delay
 Event, which delays the functor call the given amount of time. More...
 
class  Delay_
 
class  DelayFacade
 Event, which delays calling passed Event's fire() method the given amount of time. More...
 
class  DiscreteActivityBase
 Specialization of ActivityBase for discrete time activities. More...
 
class  Disposable
 Disposable interface. More...
 
class  DocTreeNode
 This class represents kind of a DOM tree node for shape text. More...
 
class  DocTreeNodeSupplier
 Interface to retrieve DocTreeNodes from subsettable shapes. More...
 
class  DoubleDiamondWipe
 Generates a double diamond wipe: More...
 
class  DrawShape
 This class is the representation of a draw document's XShape, and implements the Shape, AnimatableShape, and AttributableShape interfaces. More...
 
class  DrawShapeSubsetting
 This class encapsulates the subsetting aspects of a DrawShape. More...
 
class  EffectRewinder
 Rewind single effects of the main effect sequence. More...
 
class  EllipseWipe
 Generate an iris wipe. More...
 
struct  EmptyBase
 
class  EnumAnimation
 Interface defining an enum animation. More...
 
class  Event
 Definition of Event interface. More...
 
class  EventHandler
 Interface for event handling objects. More...
 
class  EventMultiplexer
 This class multiplexes user-activated and slide-show global events. More...
 
struct  EventMultiplexerImpl
 
class  EventQueue
 This class handles events in a presentation. More...
 
class  ExpressionNode
 Refinement of AnimationFunction. More...
 
class  ExpressionNodeFactory
 ExpressionNode factory. More...
 
class  ExternalShapeBase
 Base class for shapes rendered by external engines. More...
 
class  FanWipe
 Generates a centerTop (center=true) or double fan wipe: More...
 
class  FigureWipe
 
class  FourBoxWipe
 Generate a 4-box wipe. More...
 
class  FrameRate
 Some frame rate related data. More...
 
struct  FunctionApply
 
struct  FunctionApply< void, ListenerTargetT >
 
struct  hash
 
class  HSLColor
 HSL color space class. More...
 
class  HSLColorAnimation
 Interface defining a HSL color animation. More...
 
class  HyperlinkArea
 HyperlinkArea interface. More...
 
class  HyperlinkHandler
 Interface for handling hyperlink clicks. More...
 
class  IExternalMediaShapeBase
 Represents a shape containing playable content rendered by external engine (e.g. More...
 
struct  Interpolator
 
struct  Interpolator< HSLColor >
 Specialization for HSLColor, to employ color-specific interpolator. More...
 
struct  InterruptableEventPair
 Return value for makeInterruptableDelay() More...
 
class  IntrinsicAnimationEventHandler
 Interface for handling intrinsic animation display modes. More...
 
class  IrisWipe
 Generate an iris wipe. More...
 
class  Layer
 This class represents one layer of output on a Slide. More...
 
class  LayerEndUpdate
 
class  LayerManager
 This class manages all of a slide's layers (and shapes) More...
 
class  ListenerContainerBase
 Container for objects that can be notified. More...
 
struct  ListenerOperations
 
struct  ListenerOperations< std::weak_ptr< ListenerTargetT > >
 
struct  ListenerOperations< ViewEventHandlerWeakPtrWrapper >
 
class  MediaFileManager
 
class  MouseEnterHandler
 
class  MouseEventHandler
 Interface for handling mouse events. More...
 
class  MouseLeaveHandler
 
struct  MtfAnimationFrame
 
struct  NodeContext
 Context for every node. More...
 
class  NumberAnimation
 Interface defining a number animation. More...
 
class  PaintOverlayHandler
 
class  PairAnimation
 Interface defining a pair of numbers animation. More...
 
class  ParallelSnakesWipe
 Generates a parallel snakes wipe: More...
 
class  ParallelTimeContainer
 This class implements parallel node containers. More...
 
class  ParametricPolyPolygon
 Interface defining a parametric poly-polygon. More...
 
class  PauseEventHandler
 Interface for handling pause events. More...
 
class  PinWheelWipe
 Generates a n-blade pinWheel wipe: More...
 
class  PointerSymbol
 On-screen 'laser pointer' from the Impress remote control. More...
 
class  PropertyAnimationNode
 
class  RandomWipe
 
class  RehearseTimingsActivity
 
class  RGBColor
 RGB color space class. More...
 
class  ScreenUpdater
 Screen updater. More...
 
class  SequentialTimeContainer
 This class implements sequential node containers. More...
 
class  SetActivity
 Templated setter for animation values. More...
 
class  Shape
 Represents a slide's shape object. More...
 
class  ShapeAttributeLayer
 Encapsulates all modifiable attributes of a shape. More...
 
class  ShapeAttributeLayerHolder
 Holds a ShapeAttributeLayer, together with the associated Shape. More...
 
class  ShapeClickEventHandler
 
class  ShapeImporter
 This class imports all shapes from a given XShapes object. More...
 
class  ShapeListenerEventHandler
 Interface for handling view events. More...
 
class  ShapeManager
 ShapeManager interface. More...
 
class  ShapeManagerImpl
 Listener class for shape events. More...
 
class  ShapeSubset
 Subset RAII wrapper for shapes. More...
 
class  SharedPtrAble
 Base class for being a shared pointer, since quite a few of the downstream classes want to be stored using std::shared_ptr. More...
 
class  SimpleContinuousActivityBase
 Simple, continuous animation. More...
 
class  SkipEffectEventHandler
 
class  Slide
 
class  SlideAnimations
 This class generates and manages all animations of a slide. More...
 
class  SlideBitmap
 Little wrapper encapsulating an XBitmap. More...
 
class  SlideChangeBase
 Base class for all slide change effects. More...
 
class  SlideOverlayButton
 
struct  SlideShowContext
 Common arguments for slideshow objects. More...
 
class  SmilFunctionParser
 
class  SnakeWipe
 Generates a snake wipe: More...
 
class  SoundPlayer
 Little class that plays a sound from a URL. More...
 
class  SpiralWipe
 Generates a topLeftClockWise or bottomLeftCounterClockWise (flipOnYAxis=true) spiral wipe: More...
 
class  State
 This interface represents a stateful object. More...
 
class  StringAnimation
 Interface defining a string animation. More...
 
class  SubsettableShapeManager
 SubsettableShapeManager interface. More...
 
class  SweepWipe
 
class  ThreadUnsafeListenerContainer
 ListenerContainer variant that does not serialize access. More...
 
struct  TransitionInfo
 
class  UnoView
 Extend View with UNO interface retrieval. More...
 
class  UnoViewContainer
 Contains UnoViews. More...
 
class  UserEventQueue
 This class schedules user-activated events. More...
 
class  UserPaintEventHandler
 Interface for handling user paint state changes. More...
 
class  UserPaintOverlay
 Slide overlay, which can be painted into by the user. More...
 
class  VeeWipe
 Generate a vee wipe. More...
 
class  View
 
class  ViewAppletShape
 This class is the viewable representation of a draw document's applet object, associated to a specific View. More...
 
class  ViewBackgroundShape
 This class is the viewable representation of a draw document's background, associated to a specific View. More...
 
class  ViewEventHandler
 Interface for handling view events. More...
 
class  ViewLayer
 
class  ViewMediaShape
 This class is the viewable representation of a draw document's media object, associated to a specific View. More...
 
class  ViewRepaintHandler
 Interface for handling view repaint events. More...
 
class  ViewShape
 This class is the viewable representation of a draw document's XShape, associated to a specific View. More...
 
class  ViewUpdate
 Interface for something that can perform view updates. More...
 
class  WaitSymbol
 On-screen 'hour glass' for when slideshow is unresponsive. More...
 
class  WakeupEvent
 Little helper class, used to set Activities active again after some sleep period. More...
 
class  WaterfallWipe
 Generate a vertical left waterfall wipe. More...
 
class  ZigZagWipe
 Generates a left to right zigZag wipe: More...
 

Typedefs

typedef ::canvas::tools::ValueMap< AttributeTypeAnimateAttributeMap
 
typedef comphelper::WeakComponentImplHelper< awt::XMouseListener, awt::XMouseMotionListener > Listener_UnoBase
 
typedef std::shared_ptr< class PointerSymbolPointerSymbolSharedPtr
 
typedef std::vector< std::pair< UnoViewSharedPtr, bool > > UpdateRequestVector
 
typedef ::std::shared_ptr< ShapeShapeSharedPtr
 
typedef ::std::shared_ptr< DrawShapeDrawShapeSharedPtr
 
typedef ::std::vector< MtfAnimationFrameVectorOfMtfAnimationFrames
 
typedef ::std::shared_ptr< ViewAppletShapeViewAppletShapeSharedPtr
 
typedef ::std::shared_ptr< ViewBackgroundShapeViewBackgroundShapeSharedPtr
 
typedef ::std::shared_ptr< ViewMediaShapeViewMediaShapeSharedPtr
 
typedef ::std::shared_ptr< ViewShapeViewShapeSharedPtr
 
typedef ::std::shared_ptr< LayerLayerSharedPtr
 
typedef ::std::weak_ptr< LayerLayerWeakPtr
 
typedef std::unordered_map< css::uno::Reference< css::drawing::XShape >, ShapeSharedPtr, hash< css::uno::Reference< css::drawing::XShape > > > XShapeToShapeMap
 A hash map which maps the XShape to the corresponding Shape object. More...
 
typedef ::std::shared_ptr< LayerManagerLayerManagerSharedPtr
 
typedef ::std::shared_ptr< class UserPaintOverlayUserPaintOverlaySharedPtr
 
typedef ::std::vector< ::cppcanvas::PolyPolygonSharedPtrPolyPolygonVector
 
typedef std::shared_ptr< class SlideOverlayButtonSlideOverlayButtonSharedPtr
 
typedef ::std::shared_ptr< ParametricPolyPolygonParametricPolyPolygonSharedPtr
 
typedef std::shared_ptr< class WaitSymbolWaitSymbolSharedPtr
 
typedef ::std::shared_ptr< ActivityActivitySharedPtr
 
typedef ::std::shared_ptr< AnimatableShapeAnimatableShapeSharedPtr
 
typedef ::std::shared_ptr< AnimatedSpriteAnimatedSpriteSharedPtr
 
typedef ::std::shared_ptr< AnimationActivityAnimationActivitySharedPtr
 
typedef ::std::shared_ptr< AnimationEventHandlerAnimationEventHandlerSharedPtr
 
typedef ::std::shared_ptr< AnimationNodeAnimationNodeSharedPtr
 
typedef ::std::shared_ptr< AttributableShapeAttributableShapeSharedPtr
 
typedef ::std::shared_ptr< BaseContainerNodeBaseContainerNodeSharedPtr
 
typedef ::std::shared_ptr< BaseNodeBaseNodeSharedPtr
 
typedef ::std::shared_ptr< BoolAnimationBoolAnimationSharedPtr
 
typedef std::shared_ptr< ShapeManagerShapeManagerSharedPtr
 
typedef ::std::shared_ptr< ColorAnimationColorAnimationSharedPtr
 
typedef ::std::vector< DocTreeNodeVectorOfDocTreeNodes
 
typedef ::std::shared_ptr< EnumAnimationEnumAnimationSharedPtr
 
typedef ::std::shared_ptr< EventEventSharedPtr
 
typedef ::std::vector< EventSharedPtrVectorOfEvents
 
typedef ::std::shared_ptr< EventHandlerEventHandlerSharedPtr
 
typedef ::std::shared_ptr< ViewRepaintHandlerViewRepaintHandlerSharedPtr
 
typedef ::std::shared_ptr< HyperlinkHandlerHyperlinkHandlerSharedPtr
 
typedef ::std::shared_ptr< UserPaintEventHandlerUserPaintEventHandlerSharedPtr
 
typedef ::std::shared_ptr< HSLColorAnimationHSLColorAnimationSharedPtr
 
typedef std::shared_ptr< HyperlinkAreaHyperlinkAreaSharedPtr
 
typedef ::std::shared_ptr< IExternalMediaShapeBaseIExternalMediaShapeBaseSharedPtr
 
typedef ::std::shared_ptr< IntrinsicAnimationEventHandlerIntrinsicAnimationEventHandlerSharedPtr
 
typedef ::std::shared_ptr< MouseEventHandlerMouseEventHandlerSharedPtr
 
typedef ::std::shared_ptr< NumberAnimationNumberAnimationSharedPtr
 
typedef ::std::shared_ptr< PairAnimationPairAnimationSharedPtr
 
typedef ::std::shared_ptr< PauseEventHandlerPauseEventHandlerSharedPtr
 
typedef ::std::set< ShapeSharedPtr, Shape::lessThanShapeShapeSet
 A set which contains all shapes in an ordered fashion. More...
 
typedef ::std::shared_ptr< ShapeAttributeLayerShapeAttributeLayerSharedPtr
 
typedef std::shared_ptr< UnoViewUnoViewSharedPtr
 
typedef std::vector< UnoViewSharedPtrUnoViewVector
 
typedef ::std::shared_ptr< ShapeListenerEventHandlerShapeListenerEventHandlerSharedPtr
 
typedef ::std::map< css::uno::Reference< css::drawing::XShape >, std::shared_ptr< ::comphelper::OInterfaceContainerHelper3< css::presentation::XShapeEventListener > > > ShapeEventListenerMap
 Maps XShape to shape listener. More...
 
typedef ::std::map< css::uno::Reference< css::drawing::XShape >, sal_Int16 > ShapeCursorMap
 Maps XShape to mouse cursor. More...
 
typedef ::std::shared_ptr< ShapeSubsetShapeSubsetSharedPtr
 
typedef ::std::shared_ptr< SlideSlideSharedPtr
 
typedef ::std::shared_ptr< SlideBitmapSlideBitmapSharedPtr
 
typedef ::std::shared_ptr< SubsettableShapeManagerSubsettableShapeManagerSharedPtr
 
typedef ::std::shared_ptr< SoundPlayerSoundPlayerSharedPtr
 
typedef ::std::shared_ptr< StringAnimationStringAnimationSharedPtr
 
typedef std::shared_ptr< GDIMetaFileGDIMetaFileSharedPtr
 
typedef std::shared_ptr< ViewViewSharedPtr
 
typedef std::vector< ViewSharedPtrViewVector
 
typedef ::std::weak_ptr< ViewEventHandlerViewEventHandlerWeakPtr
 
typedef std::shared_ptr< ViewLayerViewLayerSharedPtr
 
typedef ::std::shared_ptr< ViewUpdateViewUpdateSharedPtr
 
typedef ::std::shared_ptr< WakeupEventWakeupEventSharedPtr
 

Enumerations

enum  mtf_load_flags {
  MTF_LOAD_NONE = 0 ,
  MTF_LOAD_FOREIGN_SOURCE = 2 ,
  MTF_LOAD_BACKGROUND_ONLY = 4 ,
  MTF_LOAD_SCROLL_TEXT_MTF = 8
}
 meta file loading specialities: More...
 
enum class  AttributeType {
  Invalid ,
  CharColor ,
  CharFontName ,
  CharHeight ,
  CharPosture ,
  CharUnderline ,
  CharWeight ,
  Color ,
  DimColor ,
  FillColor ,
  FillStyle ,
  Height ,
  LineColor ,
  LineStyle ,
  Opacity ,
  Rotate ,
  SkewX ,
  SkewY ,
  Visibility ,
  Width ,
  PosX ,
  PosY
}
 Type of to-be-animated attribute. More...
 

Functions

template<typename ValueType >
ValueType accumulate (const ValueType &rEndValue, sal_uInt32 nRepeatCount, const ValueType &rCurrValue)
 Generic accumulation. More...
 
template<>
sal_Int16 accumulate< sal_Int16 > (const sal_Int16 &, sal_uInt32, const sal_Int16 &rCurrValue)
 Specialization for non-addable enums/constant values. More...
 
template<>
OUString accumulate< OUString > (const OUString &, sal_uInt32, const OUString &rCurrValue)
 Specialization for non-addable strings. More...
 
template<>
bool accumulate< bool > (const bool &, sal_uInt32, const bool &bCurrValue)
 Specialization for non-addable bools. More...
 
template<typename ValueType >
ValueType lerp (const Interpolator< ValueType > &rInterpolator, const ValueType &rFrom, const ValueType &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Generic linear interpolator. More...
 
template<>
sal_Int16 lerp< sal_Int16 > (const Interpolator< sal_Int16 > &, const sal_Int16 &rFrom, const sal_Int16 &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable constants/enums. More...
 
template<>
OUString lerp< OUString > (const Interpolator< OUString > &, const OUString &rFrom, const OUString &rTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable strings. More...
 
template<>
bool lerp< bool > (const Interpolator< bool > &, const bool &bFrom, const bool &bTo, sal_uInt32 nFrame, ::std::size_t nTotalFrames)
 Specialization for non-interpolatable bools. More...
 
EventSharedPtr generateEvent (uno::Any const &rEventDescription, Delay::FunctorT const &rFunctor, SlideShowContext const &rContext, double nAdditionalDelay)
 
EventSharedPtr generateEvent (css::uno::Any const &rEventDescription, Delay::FunctorT const &rFunctor, SlideShowContext const &rContext, double nAdditionalDelay)
 Create an event for the given description, calling the given functor. More...
 
OUString debugGetNodeName (const BaseNode *pNode)
 
void debugNodesShowTree (const BaseNode *pNode)
 
AttributableShapeSharedPtr lookupAttributableShape (const ShapeManagerSharedPtr &rShapeManager, const uno::Reference< drawing::XShape > &xShape)
 
bool isIndefiniteTiming (const uno::Any &rAny)
 
AttributableShapeSharedPtr lookupAttributableShape (const ShapeManagerSharedPtr &rShapeManager, const css::uno::Reference< css::drawing::XShape > &xShape)
 Look up an AttributableShape from ShapeManager. More...
 
bool isIndefiniteTiming (const css::uno::Any &rAny)
 Predicate whether a Begin, Duration or End timing is indefinite, i.e. More...
 
template<class AnimationT >
AnimationActivitySharedPtr makeSetActivity (const ActivitiesFactory::CommonParameters &rParms, const ::std::shared_ptr< AnimationT > &rAnimation, const typename AnimationT::ValueType &rToValue)
 
AttributeType mapAttributeName (const OUString &rAttrName)
 Map attribute name to AttributeType enum. More...
 
bool operator== (const HSLColor &rLHS, const HSLColor &rRHS)
 
bool operator!= (const HSLColor &rLHS, const HSLColor &rRHS)
 
HSLColor operator+ (const HSLColor &rLHS, const HSLColor &rRHS)
 
HSLColor operator* (double nFactor, const HSLColor &rRHS)
 
HSLColor interpolate (const HSLColor &rFrom, const HSLColor &rTo, double t, bool bCCW)
 HSL color linear interpolator. More...
 
bool operator== (const RGBColor &rLHS, const RGBColor &rRHS)
 
bool operator!= (const RGBColor &rLHS, const RGBColor &rRHS)
 
RGBColor operator+ (const RGBColor &rLHS, const RGBColor &rRHS)
 
RGBColor operator* (const RGBColor &rLHS, const RGBColor &rRHS)
 
RGBColor operator* (double nFactor, const RGBColor &rRHS)
 
RGBColor interpolate (const RGBColor &rFrom, const RGBColor &rTo, double t)
 RGB color linear interpolator. More...
 
std::shared_ptr< ShapecreateAppletShape (const uno::Reference< drawing::XShape > &xShape, double nPrio, const OUString &rServiceName, const char **pPropCopyTable, std::size_t nNumPropEntries, const SlideShowContext &rContext)
 
std::shared_ptr< ShapecreateAppletShape (const css::uno::Reference< css::drawing::XShape > &xShape, double nPrio, const OUString &rServiceName, const char **pPropCopyTable, std::size_t nNumPropEntries, const SlideShowContext &rContext)
 
ShapeSharedPtr createBackgroundShape (const uno::Reference< drawing::XDrawPage > &xDrawPage, const uno::Reference< drawing::XDrawPage > &xMasterPage, const SlideShowContext &rContext)
 
ShapeSharedPtr createBackgroundShape (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::drawing::XDrawPage > &xMasterPage, const SlideShowContext &rContext)
 Representation of a draw document's background shape. More...
 
std::shared_ptr< ActivitycreateDrawingLayerAnimActivity (SlideShowContext const &rContext, std::shared_ptr< DrawShape > const &pDrawShape)
 
static bool hasUnsupportedActions (const GDIMetaFile &rMtf)
 
GDIMetaFileSharedPtr getMetaFile (const uno::Reference< lang::XComponent > &xSource, const uno::Reference< drawing::XDrawPage > &xContainingPage, int mtfLoadFlags, const uno::Reference< uno::XComponentContext > &rxContext)
 
sal_Int32 getNextActionOffset (MetaAction *pCurrAct)
 Gets the next action offset for iterating meta actions which is most often returns 1. More...
 
bool getAnimationFromGraphic (VectorOfMtfAnimationFrames &o_rFrames, sal_uInt32 &o_rLoopCount, const Graphic &rGraphic)
 Extract a vector of animation frames from given Graphic. More...
 
bool getRectanglesFromScrollMtf (::basegfx::B2DRectangle &o_rScrollRect, ::basegfx::B2DRectangle &o_rPaintRect, const GDIMetaFileSharedPtr &rMtf)
 Retrieve scroll text animation rectangles from given metafile. More...
 
GDIMetaFileSharedPtr getMetaFile (const css::uno::Reference< css::lang::XComponent > &xSource, const css::uno::Reference< css::drawing::XDrawPage > &xContainingPage, int mtfLoadFlags, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 Retrieve a meta file for the given shape. More...
 
ActivitySharedPtr createIntrinsicAnimationActivity (const SlideShowContext &rContext, const DrawShapeSharedPtr &rDrawShape, const WakeupEventSharedPtr &rWakeupEvent, ::std::vector< double > &&rTimeouts, sal_uInt32 nNumLoops)
 Create an IntrinsicAnimationActivity. More...
 
ShapeSharedPtr createMediaShape (const uno::Reference< drawing::XShape > &xShape, double nPrio, const SlideShowContext &rContext)
 
ShapeSharedPtr createMediaShape (const css::uno::Reference< css::drawing::XShape > &xShape, double nPrio, const SlideShowContext &rContext)
 
SlideSharedPtr createSlide (const uno::Reference< drawing::XDrawPage > &xDrawPage, const uno::Reference< drawing::XDrawPagesSupplier > &xDrawPages, const uno::Reference< animations::XAnimationNode > &xRootNode, EventQueue &rEventQueue, EventMultiplexer &rEventMultiplexer, ScreenUpdater &rScreenUpdater, ActivitiesQueue &rActivitiesQueue, UserEventQueue &rUserEventQueue, CursorManager &rCursorManager, MediaFileManager &rMediaFileManager, const UnoViewContainer &rViewContainer, const uno::Reference< uno::XComponentContext > &xComponentContext, const ShapeEventListenerMap &rShapeListenerMap, const ShapeCursorMap &rShapeCursorMap, PolyPolygonVector &&rPolyPolygonVector, RGBColor const &rUserPaintColor, double dUserPaintStrokeWidth, bool bUserPaintEnabled, bool bIntrinsicAnimationsAllowed, bool bDisableAnimationZOrder)
 
UnoViewSharedPtr createSlideView (uno::Reference< presentation::XSlideShowView > const &xView, EventQueue &rEventQueue, EventMultiplexer &rEventMultiplexer)
 
bool extractValue (double &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract unary double value from Any More...
 
bool extractValue (sal_Int32 &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract enum/constant group value from Any More...
 
bool extractValue (sal_Int16 &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract enum/constant group value from Any More...
 
bool extractValue (RGBColor &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract color value from Any More...
 
bool extractValue (HSLColor &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract color value from Any More...
 
bool extractValue (OUString &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract plain string from Any More...
 
bool extractValue (bool &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract bool value from Any More...
 
bool extractValue (::basegfx::B2DTuple &o_rPair, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract double 2-tuple from Any More...
 
bool findNamedValue (uno::Sequence< beans::NamedValue > const &rSequence, const beans::NamedValue &rSearchKey)
 
basegfx::B2DRange calcRelativeShapeBounds (const basegfx::B2DVector &rPageSize, const basegfx::B2DRange &rShapeBounds)
 
::basegfx::B2DHomMatrix getShapeTransformation (const ::basegfx::B2DRectangle &rShapeBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DHomMatrix getSpriteTransformation (const ::basegfx::B2DVector &rPixelSize, const ::basegfx::B2DVector &rOrigSize, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DRectangle getShapeUpdateArea (const ::basegfx::B2DRectangle &rUnitBounds, const ::basegfx::B2DHomMatrix &rShapeTransform, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DRange getShapeUpdateArea (const ::basegfx::B2DRange &rUnitBounds, const ::basegfx::B2DRange &rShapeBounds)
 
::basegfx::B2DRectangle getShapePosSize (const ::basegfx::B2DRectangle &rOrigBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 
sal_Int32 RGBAColor2UnoColor (::cppcanvas::IntSRGBA aColor)
 
void fillRect (const ::cppcanvas::CanvasSharedPtr &rCanvas, const ::basegfx::B2DRectangle &rRect, ::cppcanvas::IntSRGBA aFillColor)
 
void initSlideBackground (const ::cppcanvas::CanvasSharedPtr &rCanvas, const ::basegfx::B2ISize &rSize)
 
::basegfx::B2DRectangle getAPIShapeBounds (const uno::Reference< drawing::XShape > &xShape)
 
basegfx::B2IVector getSlideSizePixel (const basegfx::B2DVector &rSlideSize, const UnoViewSharedPtr &pView)
 
const TransitionInfogetTransitionInfo (sal_Int16 nTransitionType, sal_Int16 nTransitionSubType)
 
const TransitionInfogetRandomTransitionInfo ()
 
::basegfx::B2DPolygon createUnitRect ()
 Create a unit rect. More...
 
::basegfx::B2DPolyPolygon flipOnYAxis (::basegfx::B2DPolyPolygon const &polypoly)
 Flips on Y-axis: More...
 
::basegfx::B2DPolyPolygon flipOnXAxis (::basegfx::B2DPolyPolygon const &polypoly)
 Flips on X-axis: More...
 
class SAL_LOPLUGIN_ANNOTATE ("crosscast") CursorManager
 Interface for handling the view cursor. More...
 
template<typename FuncT >
EventSharedPtr makeDelay_ (FuncT const &func, double nTimeout, char const *from_function, char const *from_file, int from_line, const OUString &rsDescription)
 
template<typename Functor >
InterruptableEventPair makeInterruptableDelay (const Functor &rFunctor, double nTimeout)
 Generate an interruptable delay event. More...
 
SlideSharedPtr createSlide (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage, const css::uno::Reference< css::drawing::XDrawPagesSupplier > &xDrawPages, const css::uno::Reference< css::animations::XAnimationNode > &xRootNode, EventQueue &rEventQueue, EventMultiplexer &rEventMultiplexer, ScreenUpdater &rScreenUpdater, ActivitiesQueue &rActivitiesQueue, UserEventQueue &rUserEventQueue, CursorManager &rCursorManager, MediaFileManager &rMediaFileManager, const UnoViewContainer &rViewContainer, const css::uno::Reference< css::uno::XComponentContext > &xContext, const ShapeEventListenerMap &rShapeListenerMap, const ShapeCursorMap &rShapeCursorMap, PolyPolygonVector &&rPolyPolygonVector, RGBColor const &aUserPaintColor, double dUserPaintStrokeWidth, bool bUserPaintEnabled, bool bIntrinsicAnimationsAllowed, bool bDisableAnimationZOrder)
 Construct from XDrawPage. More...
 
UnoViewSharedPtr createSlideView (css::uno::Reference< css::presentation::XSlideShowView > const &xView, EventQueue &rEventQueue, EventMultiplexer &rEventMultiplexer)
 Factory for SlideView. More...
 
template<typename T >
inline ::std::size_t hash_value (T const *p)
 
bool extractValue (double &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract unary double value from Any More...
 
bool extractValue (sal_Int32 &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract int from Any More...
 
bool extractValue (sal_Int16 &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract enum/constant group value from Any More...
 
bool extractValue (RGBColor &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract color value from Any More...
 
bool extractValue (HSLColor &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract color value from Any More...
 
bool extractValue (OUString &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract plain string from Any More...
 
bool extractValue (bool &o_rValue, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract bool value from Any More...
 
bool extractValue (basegfx::B2DTuple &o_rPair, const css::uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const basegfx::B2DVector &rSlideBounds)
 extract double 2-tuple from Any More...
 
bool findNamedValue (css::uno::Sequence< css::beans::NamedValue > const &rSequence, const css::beans::NamedValue &rSearchKey)
 Search a sequence of NamedValues for a given element. More...
 
basegfx::B2DHomMatrix getShapeTransformation (const basegfx::B2DRectangle &rBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 Get the shape transformation from the attribute set. More...
 
basegfx::B2DHomMatrix getSpriteTransformation (const basegfx::B2DVector &rPixelSize, const basegfx::B2DVector &rOrigSize, const ShapeAttributeLayerSharedPtr &pAttr)
 Get a shape's sprite transformation from the attribute set. More...
 
basegfx::B2DRectangle getShapeUpdateArea (const basegfx::B2DRectangle &rUnitBounds, const basegfx::B2DHomMatrix &rShapeTransform, const ShapeAttributeLayerSharedPtr &pAttr)
 Calc update area for a shape. More...
 
basegfx::B2DRange getShapeUpdateArea (const basegfx::B2DRange &rUnitBounds, const basegfx::B2DRange &rShapeBounds)
 Calc update area for a shape. More...
 
basegfx::B2DRectangle getShapePosSize (const basegfx::B2DRectangle &rOrigBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 Calc output position and size of shape, according to given attribute layer. More...
 
sal_Int32 RGBAColor2UnoColor (cppcanvas::IntSRGBA)
 Convert an IntSRGBA to plain UNO API 32 bit int. More...
 
void fillRect (const cppcanvas::CanvasSharedPtr &rCanvas, const basegfx::B2DRectangle &rRect, cppcanvas::IntSRGBA aFillColor)
 Fill a plain rectangle on the given canvas with the given color. More...
 
void initSlideBackground (const cppcanvas::CanvasSharedPtr &rCanvas, const basegfx::B2ISize &rSize)
 Init canvas with default background (white) More...
 
inline ::std::size_t getRandomOrdinal (const ::std::size_t n)
 Gets a random ordinal [0,n) More...
 
template<typename ValueType >
bool getPropertyValue (ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)
 
template<typename ValueType >
bool getPropertyValue (css::uno::Reference< ValueType > &rIfc, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)
 
basegfx::B2DRectangle getAPIShapeBounds (const css::uno::Reference< css::drawing::XShape > &xShape)
 Get the content of the BoundRect shape property. More...
 

Variables

static sal_Int32 lcl_nOffset = 0
 
const sal_Int32 LEFT_BORDER_SPACE = 10
 
const sal_Int32 LOWER_BORDER_SPACE = 30
 
RGBColor unoColor2RGBColor (sal_Int32)
 Convert a plain UNO API 32 bit int to RGBColor. More...
 

Typedef Documentation

◆ ActivitySharedPtr

typedef ::std::shared_ptr< Activity > slideshow::internal::ActivitySharedPtr

Definition at line 83 of file activity.hxx.

◆ AnimatableShapeSharedPtr

Definition at line 73 of file animatableshape.hxx.

◆ AnimateAttributeMap

Definition at line 29 of file attributemap.cxx.

◆ AnimatedSpriteSharedPtr

Definition at line 153 of file animatedsprite.hxx.

◆ AnimationActivitySharedPtr

Definition at line 60 of file animationactivity.hxx.

◆ AnimationEventHandlerSharedPtr

Definition at line 56 of file animationeventhandler.hxx.

◆ AnimationNodeSharedPtr

Definition at line 30 of file animationnode.hxx.

◆ AttributableShapeSharedPtr

Definition at line 33 of file attributableshape.hxx.

◆ BaseContainerNodeSharedPtr

Definition at line 27 of file basecontainernode.hxx.

◆ BaseNodeSharedPtr

typedef ::std::shared_ptr< BaseNode > slideshow::internal::BaseNodeSharedPtr

Definition at line 75 of file basenode.hxx.

◆ BoolAnimationSharedPtr

Definition at line 62 of file boolanimation.hxx.

◆ ColorAnimationSharedPtr

Definition at line 62 of file coloranimation.hxx.

◆ DrawShapeSharedPtr

typedef ::std::shared_ptr< DrawShape > slideshow::internal::DrawShapeSharedPtr

Definition at line 44 of file drawshape.hxx.

◆ EnumAnimationSharedPtr

Definition at line 64 of file enumanimation.hxx.

◆ EventHandlerSharedPtr

Definition at line 52 of file eventhandler.hxx.

◆ EventSharedPtr

typedef ::std::shared_ptr<Event> slideshow::internal::EventSharedPtr

Definition at line 76 of file event.hxx.

◆ GDIMetaFileSharedPtr

Definition at line 63 of file tools.hxx.

◆ HSLColorAnimationSharedPtr

Definition at line 62 of file hslcoloranimation.hxx.

◆ HyperlinkAreaSharedPtr

Definition at line 91 of file hyperlinkarea.hxx.

◆ HyperlinkHandlerSharedPtr

Definition at line 98 of file eventmultiplexer.hxx.

◆ IExternalMediaShapeBaseSharedPtr

Definition at line 79 of file iexternalmediashapebase.hxx.

◆ IntrinsicAnimationEventHandlerSharedPtr

Definition at line 45 of file intrinsicanimationeventhandler.hxx.

◆ LayerManagerSharedPtr

Definition at line 357 of file layermanager.hxx.

◆ LayerSharedPtr

typedef ::std::shared_ptr< Layer > slideshow::internal::LayerSharedPtr

Definition at line 37 of file layer.hxx.

◆ LayerWeakPtr

typedef ::std::weak_ptr< Layer > slideshow::internal::LayerWeakPtr

Definition at line 38 of file layer.hxx.

◆ Listener_UnoBase

typedef comphelper::WeakComponentImplHelper< awt::XMouseListener, awt::XMouseMotionListener > slideshow::internal::Listener_UnoBase

Definition at line 165 of file eventmultiplexer.cxx.

◆ MouseEventHandlerSharedPtr

Definition at line 107 of file mouseeventhandler.hxx.

◆ NumberAnimationSharedPtr

Definition at line 64 of file numberanimation.hxx.

◆ PairAnimationSharedPtr

Definition at line 63 of file pairanimation.hxx.

◆ ParametricPolyPolygonSharedPtr

Definition at line 83 of file parametricpolypolygon.hxx.

◆ PauseEventHandlerSharedPtr

Definition at line 57 of file pauseeventhandler.hxx.

◆ PointerSymbolSharedPtr

Definition at line 32 of file pointersymbol.hxx.

◆ PolyPolygonVector

Definition at line 39 of file userpaintoverlay.hxx.

◆ ShapeAttributeLayerSharedPtr

Definition at line 56 of file shapeattributelayer.hxx.

◆ ShapeCursorMap

typedef ::std::map< css::uno::Reference< css::drawing::XShape>, sal_Int16> slideshow::internal::ShapeCursorMap

Maps XShape to mouse cursor.

Definition at line 43 of file shapemaps.hxx.

◆ ShapeEventListenerMap

typedef ::std::map< css::uno::Reference< css::drawing::XShape>, std::shared_ptr< ::comphelper::OInterfaceContainerHelper3<css::presentation::XShapeEventListener> > > slideshow::internal::ShapeEventListenerMap

Maps XShape to shape listener.

Definition at line 39 of file shapemaps.hxx.

◆ ShapeListenerEventHandlerSharedPtr

Definition at line 56 of file shapelistenereventhandler.hxx.

◆ ShapeManagerSharedPtr

Definition at line 24 of file box2dtools.hxx.

◆ ShapeSet

A set which contains all shapes in an ordered fashion.

Definition at line 277 of file shape.hxx.

◆ ShapeSharedPtr

typedef::std::shared_ptr< Shape > slideshow::internal::ShapeSharedPtr

Definition at line 33 of file backgroundshape.hxx.

◆ ShapeSubsetSharedPtr

Definition at line 31 of file shapesubset.hxx.

◆ SlideBitmapSharedPtr

Definition at line 76 of file slidebitmap.hxx.

◆ SlideOverlayButtonSharedPtr

Definition at line 43 of file slideoverlaybutton.hxx.

◆ SlideSharedPtr

typedef ::std::shared_ptr< Slide > slideshow::internal::SlideSharedPtr

Definition at line 148 of file slide.hxx.

◆ SoundPlayerSharedPtr

Definition at line 109 of file soundplayer.hxx.

◆ StringAnimationSharedPtr

Definition at line 62 of file stringanimation.hxx.

◆ SubsettableShapeManagerSharedPtr

Definition at line 44 of file slideshowcontext.hxx.

◆ UnoViewSharedPtr

typedef std::shared_ptr< UnoView > slideshow::internal::UnoViewSharedPtr

Definition at line 41 of file shapeimporter.hxx.

◆ UnoViewVector

Definition at line 42 of file shapeimporter.hxx.

◆ UpdateRequestVector

typedef std::vector< std::pair<UnoViewSharedPtr,bool> > slideshow::internal::UpdateRequestVector

Definition at line 46 of file screenupdater.cxx.

◆ UserPaintEventHandlerSharedPtr

Definition at line 119 of file eventmultiplexer.hxx.

◆ UserPaintOverlaySharedPtr

Definition at line 38 of file userpaintoverlay.hxx.

◆ VectorOfDocTreeNodes

Definition at line 105 of file doctreenode.hxx.

◆ VectorOfEvents

Definition at line 77 of file event.hxx.

◆ VectorOfMtfAnimationFrames

Definition at line 79 of file gdimtftools.hxx.

◆ ViewAppletShapeSharedPtr

Definition at line 157 of file viewappletshape.hxx.

◆ ViewBackgroundShapeSharedPtr

Definition at line 90 of file viewbackgroundshape.hxx.

◆ ViewEventHandlerWeakPtr

Definition at line 81 of file vieweventhandler.hxx.

◆ ViewLayerSharedPtr

Definition at line 168 of file viewlayer.hxx.

◆ ViewMediaShapeSharedPtr

Definition at line 162 of file viewmediashape.hxx.

◆ ViewRepaintHandlerSharedPtr

Definition at line 71 of file eventmultiplexer.hxx.

◆ ViewShapeSharedPtr

typedef ::std::shared_ptr< ViewShape > slideshow::internal::ViewShapeSharedPtr

Definition at line 313 of file viewshape.hxx.

◆ ViewSharedPtr

typedef std::shared_ptr< View > slideshow::internal::ViewSharedPtr

Definition at line 80 of file view.hxx.

◆ ViewUpdateSharedPtr

Definition at line 54 of file viewupdate.hxx.

◆ ViewVector

Definition at line 81 of file view.hxx.

◆ WaitSymbolSharedPtr

typedef std::shared_ptr<class WaitSymbol> slideshow::internal::WaitSymbolSharedPtr

Definition at line 37 of file waitsymbol.hxx.

◆ WakeupEventSharedPtr

Definition at line 77 of file wakeupevent.hxx.

◆ XShapeToShapeMap

typedef std::unordered_map< css::uno::Reference< css::drawing::XShape >, ShapeSharedPtr, hash< css::uno::Reference< css::drawing::XShape > > > slideshow::internal::XShapeToShapeMap

A hash map which maps the XShape to the corresponding Shape object.

Provides quicker lookup than ShapeSet for simple mappings

Definition at line 47 of file layermanager.hxx.

Enumeration Type Documentation

◆ AttributeType

Type of to-be-animated attribute.

This enum describes the type of an animated attribute.

Enumerator
Invalid 
CharColor 
CharFontName 
CharHeight 
CharPosture 
CharUnderline 
CharWeight 
Color 
DimColor 
FillColor 
FillStyle 
Height 
LineColor 
LineStyle 
Opacity 
Rotate 
SkewX 
SkewY 
Visibility 
Width 
PosX 
PosY 

Definition at line 34 of file attributemap.hxx.

◆ mtf_load_flags

meta file loading specialities:

Enumerator
MTF_LOAD_NONE 

no flags

MTF_LOAD_FOREIGN_SOURCE 

the source of the metafile might be a foreign application.

The metafile is checked against unsupported content, and, if necessary, returned as a pre-rendered bitmap.

MTF_LOAD_BACKGROUND_ONLY 

retrieve a meta file for the page background only

MTF_LOAD_SCROLL_TEXT_MTF 

retrieve the drawing layer scroll text metafile

Definition at line 43 of file gdimtftools.hxx.

Function Documentation

◆ accumulate()

template<typename ValueType >
ValueType slideshow::internal::accumulate ( const ValueType rEndValue,
sal_uInt32  nRepeatCount,
const ValueType rCurrValue 
)

Generic accumulation.

This template handles value accumulation across repeated effect runs: returned is the end value times the repeat count, plus the current value.

Parameters
rEndValueEnd value of the simple animation.
nRepeatCountNumber of completed repeats (i.e. 0 during the first effect run)
rCurrValueCurrent animation value

Definition at line 45 of file accumulation.hxx.

◆ accumulate< bool >()

template<>
bool slideshow::internal::accumulate< bool > ( const bool &  ,
sal_uInt32  ,
const bool &  bCurrValue 
)

Specialization for non-addable bools.

Definition at line 71 of file accumulation.hxx.

◆ accumulate< OUString >()

template<>
OUString slideshow::internal::accumulate< OUString > ( const OUString &  ,
sal_uInt32  ,
const OUString &  rCurrValue 
)

Specialization for non-addable strings.

Definition at line 62 of file accumulation.hxx.

◆ accumulate< sal_Int16 >()

template<>
sal_Int16 slideshow::internal::accumulate< sal_Int16 > ( const sal_Int16 &  ,
sal_uInt32  ,
const sal_Int16 &  rCurrValue 
)

Specialization for non-addable enums/constant values.

Definition at line 53 of file accumulation.hxx.

◆ calcRelativeShapeBounds()

basegfx::B2DRange slideshow::internal::calcRelativeShapeBounds ( const basegfx::B2DVector rPageSize,
const basegfx::B2DRange rShapeBounds 
)

◆ createAppletShape() [1/2]

std::shared_ptr< Shape > slideshow::internal::createAppletShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
double  nPrio,
const OUString &  rServiceName,
const char **  pPropCopyTable,
std::size_t  nNumPropEntries,
const SlideShowContext rContext 
)

◆ createAppletShape() [2/2]

std::shared_ptr< Shape > slideshow::internal::createAppletShape ( const uno::Reference< drawing::XShape > &  xShape,
double  nPrio,
const OUString &  rServiceName,
const char **  pPropCopyTable,
std::size_t  nNumPropEntries,
const SlideShowContext rContext 
)

Definition at line 272 of file appletshape.cxx.

Referenced by slideshow::internal::ShapeImporter::createShape().

◆ createBackgroundShape() [1/2]

ShapeSharedPtr slideshow::internal::createBackgroundShape ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage,
const css::uno::Reference< css::drawing::XDrawPage > &  xMasterPage,
const SlideShowContext rContext 
)

Representation of a draw document's background shape.

This function generates the Shape for the background shape. Since the background shape is neither animatable nor attributable, those more specialized derivations of the Shape interface are not implemented here.

◆ createBackgroundShape() [2/2]

ShapeSharedPtr slideshow::internal::createBackgroundShape ( const uno::Reference< drawing::XDrawPage > &  xDrawPage,
const uno::Reference< drawing::XDrawPage > &  xMasterPage,
const SlideShowContext rContext 
)

◆ createDrawingLayerAnimActivity()

std::shared_ptr< Activity > slideshow::internal::createDrawingLayerAnimActivity ( SlideShowContext const &  rContext,
std::shared_ptr< DrawShape > const &  pDrawShape 
)

◆ createIntrinsicAnimationActivity()

ActivitySharedPtr slideshow::internal::createIntrinsicAnimationActivity ( const SlideShowContext rContext,
const DrawShapeSharedPtr rDrawShape,
const WakeupEventSharedPtr rWakeupEvent,
::std::vector< double > &&  rTimeouts,
sal_uInt32  nNumLoops 
)

Create an IntrinsicAnimationActivity.

This is an Activity interface implementation for intrinsic shape animations. Intrinsic shape animations are animations directly within a shape, e.g. drawing layer animations, or GIF animations.

Parameters
rContextCommon slideshow objects
rDrawShapeShape to control the intrinsic animation for
rWakeupEventExternally generated wakeup event, to set this activity to sleep during inter-frame intervals. Must come from the outside, since wakeup event and this object have mutual references to each other.
rTimeoutsVector of timeout values, to wait before the next frame is shown.

Definition at line 234 of file intrinsicanimationactivity.cxx.

◆ createMediaShape() [1/2]

ShapeSharedPtr slideshow::internal::createMediaShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
double  nPrio,
const SlideShowContext rContext 
)

◆ createMediaShape() [2/2]

ShapeSharedPtr slideshow::internal::createMediaShape ( const uno::Reference< drawing::XShape > &  xShape,
double  nPrio,
const SlideShowContext rContext 
)

Definition at line 247 of file mediashape.cxx.

Referenced by slideshow::internal::ShapeImporter::createShape().

◆ createSlide() [1/2]

SlideSharedPtr slideshow::internal::createSlide ( const css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage,
const css::uno::Reference< css::drawing::XDrawPagesSupplier > &  xDrawPages,
const css::uno::Reference< css::animations::XAnimationNode > &  xRootNode,
EventQueue rEventQueue,
EventMultiplexer rEventMultiplexer,
ScreenUpdater rScreenUpdater,
ActivitiesQueue rActivitiesQueue,
UserEventQueue rUserEventQueue,
CursorManager &  rCursorManager,
MediaFileManager rMediaFileManager,
const UnoViewContainer rViewContainer,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const ShapeEventListenerMap rShapeListenerMap,
const ShapeCursorMap rShapeCursorMap,
PolyPolygonVector &&  rPolyPolygonVector,
RGBColor const &  aUserPaintColor,
double  dUserPaintStrokeWidth,
bool  bUserPaintEnabled,
bool  bIntrinsicAnimationsAllowed,
bool  bDisableAnimationZOrder 
)

Construct from XDrawPage.

The Slide object generally works in XDrawPage model coordinates, that is, the page will have the width and height as specified in the XDrawPage's property set. The top, left corner of the page will be rendered at (0,0) in the given canvas' view coordinate system.

Does not render anything initially

Parameters
xDrawPagePage to display on this slide
xRootNodeRoot of the SMIL animation tree. Used to animate the slide.
rEventQueueEventQueue. Used to post events.
rActivitiesQueueActivitiesQueue. Used to run animations.
rEventMultiplexerEvent source
rUserEventQueueUserEeventQueue

◆ createSlide() [2/2]

SlideSharedPtr slideshow::internal::createSlide ( const uno::Reference< drawing::XDrawPage > &  xDrawPage,
const uno::Reference< drawing::XDrawPagesSupplier > &  xDrawPages,
const uno::Reference< animations::XAnimationNode > &  xRootNode,
EventQueue rEventQueue,
EventMultiplexer rEventMultiplexer,
ScreenUpdater rScreenUpdater,
ActivitiesQueue rActivitiesQueue,
UserEventQueue rUserEventQueue,
CursorManager &  rCursorManager,
MediaFileManager rMediaFileManager,
const UnoViewContainer rViewContainer,
const uno::Reference< uno::XComponentContext > &  xComponentContext,
const ShapeEventListenerMap rShapeListenerMap,
const ShapeCursorMap rShapeCursorMap,
PolyPolygonVector &&  rPolyPolygonVector,
RGBColor const &  rUserPaintColor,
double  dUserPaintStrokeWidth,
bool  bUserPaintEnabled,
bool  bIntrinsicAnimationsAllowed,
bool  bDisableAnimationZOrder 
)

◆ createSlideView() [1/2]

UnoViewSharedPtr slideshow::internal::createSlideView ( css::uno::Reference< css::presentation::XSlideShowView > const &  xView,
EventQueue rEventQueue,
EventMultiplexer rEventMultiplexer 
)

Factory for SlideView.

Parameters
xViewUNO slide view this object should encapsulate
rEventQueueGlobal event queue, to be used for notification messages.
rViewChangeFuncFunctor to call, when the UNO view signals a repaint.

◆ createSlideView() [2/2]

UnoViewSharedPtr slideshow::internal::createSlideView ( uno::Reference< presentation::XSlideShowView > const &  xView,
EventQueue rEventQueue,
EventMultiplexer rEventMultiplexer 
)

Definition at line 1168 of file slideview.cxx.

References comphelper::make_shared_from_UNO().

◆ createUnitRect()

basegfx::B2DPolygon slideshow::internal::createUnitRect ( )

◆ debugGetNodeName()

OUString slideshow::internal::debugGetNodeName ( const BaseNode pNode)

◆ debugNodesShowTree()

void slideshow::internal::debugNodesShowTree ( const BaseNode pNode)

Definition at line 40 of file nodetools.cxx.

References lcl_nOffset, and slideshow::internal::BaseNode::showState().

◆ extractValue() [1/16]

bool slideshow::internal::extractValue ( ::basegfx::B2DTuple o_rPair,
const uno::Any rSourceAny,
const ShapeSharedPtr rShape,
const ::basegfx::B2DVector rSlideBounds 
)

extract double 2-tuple from Any

Definition at line 409 of file tools.cxx.

References extractValue(), basegfx::Tuple2D< typename TYPE >::setX(), and basegfx::Tuple2D< typename TYPE >::setY().

◆ extractValue() [2/16]

bool slideshow::internal::extractValue ( basegfx::B2DTuple o_rPair,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract double 2-tuple from Any

◆ extractValue() [3/16]

bool slideshow::internal::extractValue ( bool &  o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract bool value from Any

◆ extractValue() [4/16]

bool slideshow::internal::extractValue ( bool &  o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr ,
const ::basegfx::B2DVector  
)

extract bool value from Any

Definition at line 369 of file tools.cxx.

◆ extractValue() [5/16]

bool slideshow::internal::extractValue ( double &  o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract unary double value from Any

◆ extractValue() [6/16]

bool slideshow::internal::extractValue ( double &  o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr rShape,
const ::basegfx::B2DVector rSlideBounds 
)

◆ extractValue() [7/16]

bool slideshow::internal::extractValue ( HSLColor o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract color value from Any

◆ extractValue() [8/16]

bool slideshow::internal::extractValue ( HSLColor o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr ,
const ::basegfx::B2DVector  
)

extract color value from Any

Definition at line 320 of file tools.cxx.

References ENSURE_OR_THROW.

◆ extractValue() [9/16]

bool slideshow::internal::extractValue ( OUString &  o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract plain string from Any

◆ extractValue() [10/16]

bool slideshow::internal::extractValue ( OUString &  o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr ,
const ::basegfx::B2DVector  
)

extract plain string from Any

Definition at line 359 of file tools.cxx.

◆ extractValue() [11/16]

bool slideshow::internal::extractValue ( RGBColor o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract color value from Any

◆ extractValue() [12/16]

bool slideshow::internal::extractValue ( RGBColor o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr ,
const ::basegfx::B2DVector  
)

extract color value from Any

Definition at line 238 of file tools.cxx.

References ENSURE_OR_THROW, and unoColor2RGBColor.

◆ extractValue() [13/16]

bool slideshow::internal::extractValue ( sal_Int16 &  o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract enum/constant group value from Any

◆ extractValue() [14/16]

bool slideshow::internal::extractValue ( sal_Int16 &  o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr rShape,
const ::basegfx::B2DVector rSlideBounds 
)

extract enum/constant group value from Any

Definition at line 217 of file tools.cxx.

References extractValue().

◆ extractValue() [15/16]

bool slideshow::internal::extractValue ( sal_Int32 &  o_rValue,
const css::uno::Any &  rSourceAny,
const ShapeSharedPtr rShape,
const basegfx::B2DVector rSlideBounds 
)

extract int from Any

◆ extractValue() [16/16]

bool slideshow::internal::extractValue ( sal_Int32 &  o_rValue,
const uno::Any rSourceAny,
const ShapeSharedPtr ,
const ::basegfx::B2DVector  
)

extract enum/constant group value from Any

Definition at line 172 of file tools.cxx.

◆ fillRect() [1/2]

void slideshow::internal::fillRect ( const ::cppcanvas::CanvasSharedPtr rCanvas,
const ::basegfx::B2DRectangle rRect,
::cppcanvas::IntSRGBA  aFillColor 
)

◆ fillRect() [2/2]

void slideshow::internal::fillRect ( const cppcanvas::CanvasSharedPtr rCanvas,
const basegfx::B2DRectangle rRect,
cppcanvas::IntSRGBA  aFillColor 
)

Fill a plain rectangle on the given canvas with the given color.

◆ findNamedValue() [1/2]

bool slideshow::internal::findNamedValue ( css::uno::Sequence< css::beans::NamedValue > const &  rSequence,
const css::beans::NamedValue &  rSearchKey 
)

Search a sequence of NamedValues for a given element.

Returns
true, if the sequence contains the specified element.

◆ findNamedValue() [2/2]

bool slideshow::internal::findNamedValue ( uno::Sequence< beans::NamedValue > const &  rSequence,
const beans::NamedValue &  rSearchKey 
)

Definition at line 433 of file tools.cxx.

◆ flipOnXAxis()

basegfx::B2DPolyPolygon slideshow::internal::flipOnXAxis ( ::basegfx::B2DPolyPolygon const &  polypoly)

◆ flipOnYAxis()

basegfx::B2DPolyPolygon slideshow::internal::flipOnYAxis ( ::basegfx::B2DPolyPolygon const &  polypoly)

◆ generateEvent() [1/2]

EventSharedPtr slideshow::internal::generateEvent ( css::uno::Any const &  rEventDescription,
Delay::FunctorT const &  rFunctor,
SlideShowContext const &  rContext,
double  nAdditionalDelay 
)

Create an event for the given description, calling the given functor.

Parameters
rEventDescriptionDirectly from API
rFunctorFunctor to call when event fires.
rContextContext struct, to provide event queue
nAdditionalDelayAdditional delay, gets added on top of timeout.

◆ generateEvent() [2/2]

EventSharedPtr slideshow::internal::generateEvent ( uno::Any const &  rEventDescription,
Delay::FunctorT const &  rFunctor,
SlideShowContext const &  rContext,
double  nAdditionalDelay 
)

◆ getAnimationFromGraphic()

bool slideshow::internal::getAnimationFromGraphic ( VectorOfMtfAnimationFrames o_rFrames,
sal_uInt32 &  o_rLoopCount,
const Graphic rGraphic 
)

Extract a vector of animation frames from given Graphic.

Parameters
o_rFramesResulting vector of animated metafiles
o_rLoopCountNumber of times the bitmap animation shall be repeated
rGraphicInput graphic object, to extract animations from

Definition at line 248 of file gdimtftools.cxx.

References ANIMATION_TIMEOUT_ON_CLICK, COL_BLACK(), Animation::Count(), Animation::Get(), BitmapEx::GetAlphaMask(), Graphic::GetAnimation(), BitmapEx::GetBitmap(), Animation::GetDisplaySizePixel(), Animation::GetLoopCount(), Bitmap::GetSizePixel(), i, Bitmap::Invert(), Graphic::IsAnimated(), AlphaMask::IsEmpty(), Bitmap::IsEmpty(), AnimationFrame::maBitmapEx, AnimationFrame::maPositionPixel, AnimationFrame::meDisposal, AnimationFrame::mnWait, and nCount.

◆ getAPIShapeBounds() [1/2]

basegfx::B2DRectangle slideshow::internal::getAPIShapeBounds ( const css::uno::Reference< css::drawing::XShape > &  xShape)

Get the content of the BoundRect shape property.

◆ getAPIShapeBounds() [2/2]

::basegfx::B2DRectangle slideshow::internal::getAPIShapeBounds ( const uno::Reference< drawing::XShape > &  xShape)

Definition at line 718 of file tools.cxx.

References ENSURE_OR_THROW.

◆ getMetaFile() [1/2]

GDIMetaFileSharedPtr slideshow::internal::getMetaFile ( const css::uno::Reference< css::lang::XComponent > &  xSource,
const css::uno::Reference< css::drawing::XDrawPage > &  xContainingPage,
int  mtfLoadFlags,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 
)

Retrieve a meta file for the given shape.

Parameters
xShapeXShape to retrieve a metafile for.
xContainingPageThe page that contains this shape. Needed for proper import (currently, the UnoGraphicExporter needs this information).

◆ getMetaFile() [2/2]

GDIMetaFileSharedPtr slideshow::internal::getMetaFile ( const uno::Reference< lang::XComponent > &  xSource,
const uno::Reference< drawing::XDrawPage > &  xContainingPage,
int  mtfLoadFlags,
const uno::Reference< uno::XComponentContext > &  rxContext 
)

◆ getNextActionOffset()

sal_Int32 slideshow::internal::getNextActionOffset ( MetaAction pCurrAct)

◆ getPropertyValue() [1/2]

template<typename ValueType >
bool slideshow::internal::getPropertyValue ( css::uno::Reference< ValueType > &  rIfc,
css::uno::Reference< css::beans::XPropertySet > const &  xPropSet,
OUString const &  propName 
)
inline

Definition at line 306 of file tools.hxx.

References a, and SAL_INFO.

◆ getPropertyValue() [2/2]

template<typename ValueType >
bool slideshow::internal::getPropertyValue ( ValueType rValue,
css::uno::Reference< css::beans::XPropertySet > const &  xPropSet,
OUString const &  propName 
)
inline

◆ getRandomOrdinal()

inline ::std::size_t slideshow::internal::getRandomOrdinal ( const ::std::size_t  n)

Gets a random ordinal [0,n)

Definition at line 272 of file tools.hxx.

References n, and comphelper::rng::uniform_size_distribution().

Referenced by getRandomTransitionInfo(), and slideshow::internal::RandomWipe::RandomWipe().

◆ getRandomTransitionInfo()

TransitionInfo const * slideshow::internal::getRandomTransitionInfo ( )

Definition at line 2125 of file transitionfactorytab.cxx.

References getRandomOrdinal(), and SAL_N_ELEMENTS.

◆ getRectanglesFromScrollMtf()

bool slideshow::internal::getRectanglesFromScrollMtf ( ::basegfx::B2DRectangle o_rScrollRect,
::basegfx::B2DRectangle o_rPaintRect,
const GDIMetaFileSharedPtr rMtf 
)

Retrieve scroll text animation rectangles from given metafile.

Returns
true, if both rectangles have been found, false otherwise.

Definition at line 378 of file gdimtftools.cxx.

References vcl::unotools::b2DRectangleFromRectangle(), MetaCommentAction::GetComment(), and MetaCommentAction::GetData().

Referenced by slideshow::internal::DrawShape::forceScrollTextMetaFile().

◆ getShapePosSize() [1/2]

::basegfx::B2DRectangle slideshow::internal::getShapePosSize ( const ::basegfx::B2DRectangle rOrigBounds,
const ShapeAttributeLayerSharedPtr pAttr 
)

◆ getShapePosSize() [2/2]

basegfx::B2DRectangle slideshow::internal::getShapePosSize ( const basegfx::B2DRectangle rOrigBounds,
const ShapeAttributeLayerSharedPtr pAttr 
)

Calc output position and size of shape, according to given attribute layer.

Rotations, shears etc. and not taken into account, i.e. the returned rectangle is NOT the bounding box. Use it as if aBounds.getMinimum() is the output position and aBounds.getRange() the scaling of the shape.

◆ getShapeTransformation() [1/2]

::basegfx::B2DHomMatrix slideshow::internal::getShapeTransformation ( const ::basegfx::B2DRectangle rShapeBounds,
const ShapeAttributeLayerSharedPtr pAttr 
)

◆ getShapeTransformation() [2/2]

basegfx::B2DHomMatrix slideshow::internal::getShapeTransformation ( const basegfx::B2DRectangle rBounds,
const ShapeAttributeLayerSharedPtr pAttr 
)

Get the shape transformation from the attribute set.

Parameters
rBoundsOriginal shape bound rect (to substitute default attribute layer values)
pAttrAttribute set. Might be NULL (then, rBounds is used to set a simple scale and translate of the unit rect to rBounds).

◆ getShapeUpdateArea() [1/4]

::basegfx::B2DRange slideshow::internal::getShapeUpdateArea ( const ::basegfx::B2DRange rUnitBounds,
const ::basegfx::B2DRange rShapeBounds 
)

Definition at line 573 of file tools.cxx.

References basegfx::utils::lerp().

◆ getShapeUpdateArea() [2/4]

::basegfx::B2DRectangle slideshow::internal::getShapeUpdateArea ( const ::basegfx::B2DRectangle rUnitBounds,
const ::basegfx::B2DHomMatrix rShapeTransform,
const ShapeAttributeLayerSharedPtr pAttr 
)

◆ getShapeUpdateArea() [3/4]

basegfx::B2DRange slideshow::internal::getShapeUpdateArea ( const basegfx::B2DRange rUnitBounds,
const basegfx::B2DRange rShapeBounds 
)

Calc update area for a shape.

This method calculates the 'covered' area for the shape, i.e. the rectangle that is affected when rendering the shape. The difference from the other getShapeUpdateArea() method is the fact that this one works without ShapeAttributeLayer, and only scales up the given shape user coordinate bound rect. The method is typically used to retrieve user coordinate system bound rects for shapes which are smaller than the default unit bound rect (because e.g. of subsetting)

Parameters
rUnitBoundsShape bounds, in the unit rect coordinate space
rShapeBoundsCurrent shape bounding box in user coordinate space.

◆ getShapeUpdateArea() [4/4]

basegfx::B2DRectangle slideshow::internal::getShapeUpdateArea ( const basegfx::B2DRectangle rUnitBounds,
const basegfx::B2DHomMatrix rShapeTransform,
const ShapeAttributeLayerSharedPtr pAttr 
)

Calc update area for a shape.

This method calculates the 'covered' area for the shape, i.e. the rectangle that is affected when rendering the shape. Apart from applying the given transformation to the shape rectangle, this method also takes attributes into account, which further scale the output (e.g. character sizes).

Parameters
rUnitBoundsShape bounds, in the unit rect coordinate space
rShapeTransformTransformation matrix the shape should undergo.
pAttrCurrent shape attributes

◆ getSlideSizePixel()

basegfx::B2IVector slideshow::internal::getSlideSizePixel ( const basegfx::B2DVector rSlideSize,
const UnoViewSharedPtr pView 
)

◆ getSpriteTransformation() [1/2]

::basegfx::B2DHomMatrix slideshow::internal::getSpriteTransformation ( const ::basegfx::B2DVector rPixelSize,
const ::basegfx::B2DVector rOrigSize,
const ShapeAttributeLayerSharedPtr pAttr 
)

◆ getSpriteTransformation() [2/2]

basegfx::B2DHomMatrix slideshow::internal::getSpriteTransformation ( const basegfx::B2DVector rPixelSize,
const basegfx::B2DVector rOrigSize,
const ShapeAttributeLayerSharedPtr pAttr 
)

Get a shape's sprite transformation from the attribute set.

Parameters
rPixelSizePixel size of the sprite
rOrigSizeOriginal shape size (i.e. the size of the actual sprite content, in the user coordinate system)
pAttrAttribute set. Might be NULL (then, rBounds is used to set a simple scale and translate of the unit rect to rBounds).
Returns
the transformation to be applied to the sprite.

◆ getTransitionInfo()

TransitionInfo const * slideshow::internal::getTransitionInfo ( sal_Int16  nTransitionType,
sal_Int16  nTransitionSubType 
)

Definition at line 2109 of file transitionfactorytab.cxx.

References SAL_N_ELEMENTS.

◆ hash_value()

template<typename T >
inline ::std::size_t slideshow::internal::hash_value ( T const *  p)

Definition at line 66 of file tools.hxx.

References d, and p.

Referenced by slideshow::internal::hash< T >::operator()().

◆ hasUnsupportedActions()

static bool slideshow::internal::hasUnsupportedActions ( const GDIMetaFile rMtf)
static

Definition at line 62 of file gdimtftools.cxx.

References MetaRasterOpAction::GetRasterOp(), and MetaAction::GetType().

◆ initSlideBackground() [1/2]

void slideshow::internal::initSlideBackground ( const ::cppcanvas::CanvasSharedPtr rCanvas,
const ::basegfx::B2ISize rSize 
)

◆ initSlideBackground() [2/2]

void slideshow::internal::initSlideBackground ( const cppcanvas::CanvasSharedPtr rCanvas,
const basegfx::B2ISize rSize 
)

Init canvas with default background (white)

◆ interpolate() [1/2]

HSLColor slideshow::internal::interpolate ( const HSLColor rFrom,
const HSLColor rTo,
double  t,
bool  bCCW 
)

HSL color linear interpolator.

Parameters
tAs usual, t must be in the [0,1] range
bCCWWhen true, hue interpolation happens counter-clockwise

Definition at line 215 of file color.cxx.

References slideshow::internal::HSLColor::getHue(), slideshow::internal::HSLColor::getLuminance(), slideshow::internal::HSLColor::getSaturation(), and t.

Referenced by OGLTransitionImpl::applyOverallOperations(), and slideshow::internal::Interpolator< HSLColor >::operator()().

◆ interpolate() [2/2]

RGBColor slideshow::internal::interpolate ( const RGBColor rFrom,
const RGBColor rTo,
double  t 
)

RGB color linear interpolator.

Parameters
tAs usual, t must be in the [0,1] range

Definition at line 340 of file color.cxx.

References slideshow::internal::RGBColor::getBlue(), slideshow::internal::RGBColor::getGreen(), slideshow::internal::RGBColor::getRed(), and t.

◆ isIndefiniteTiming() [1/2]

bool slideshow::internal::isIndefiniteTiming ( const css::uno::Any &  rAny)

Predicate whether a Begin, Duration or End timing is indefinite, i.e.

either contains no value, or the value Timing_INDEFINITE.

◆ isIndefiniteTiming() [2/2]

bool slideshow::internal::isIndefiniteTiming ( const uno::Any rAny)

◆ lerp()

template<typename ValueType >
ValueType slideshow::internal::lerp ( const Interpolator< ValueType > &  rInterpolator,
const ValueType rFrom,
const ValueType rTo,
sal_uInt32  nFrame,
::std::size_t  nTotalFrames 
)

Generic linear interpolator.

Template parameter: \n ValueType
Must have operator+ and operator* defined, and should have value semantics.
Parameters
rInterpolatorInterpolator to use for lerp
nFrameMust be in the [0,nTotalFrames) range
nTotalFramesTotal number of frames. Should be greater than zero.

Definition at line 129 of file interpolation.hxx.

◆ lerp< bool >()

template<>
bool slideshow::internal::lerp< bool > ( const Interpolator< bool > &  ,
const bool &  bFrom,
const bool &  bTo,
sal_uInt32  nFrame,
::std::size_t  nTotalFrames 
)

Specialization for non-interpolatable bools.

Definition at line 173 of file interpolation.hxx.

◆ lerp< OUString >()

template<>
OUString slideshow::internal::lerp< OUString > ( const Interpolator< OUString > &  ,
const OUString &  rFrom,
const OUString &  rTo,
sal_uInt32  nFrame,
::std::size_t  nTotalFrames 
)

Specialization for non-interpolatable strings.

Definition at line 159 of file interpolation.hxx.

◆ lerp< sal_Int16 >()

template<>
sal_Int16 slideshow::internal::lerp< sal_Int16 > ( const Interpolator< sal_Int16 > &  ,
const sal_Int16 &  rFrom,
const sal_Int16 &  rTo,
sal_uInt32  nFrame,
::std::size_t  nTotalFrames 
)

Specialization for non-interpolatable constants/enums.

Definition at line 145 of file interpolation.hxx.

◆ lookupAttributableShape() [1/2]

AttributableShapeSharedPtr slideshow::internal::lookupAttributableShape ( const ShapeManagerSharedPtr rShapeManager,
const css::uno::Reference< css::drawing::XShape > &  xShape 
)

Look up an AttributableShape from ShapeManager.

This method retrieves an AttributableShape pointer, given an XShape and a LayerManager.

Throws a runtime exception if there's no such shape, or if it does not implement the AttributableShape interface.

◆ lookupAttributableShape() [2/2]

AttributableShapeSharedPtr slideshow::internal::lookupAttributableShape ( const ShapeManagerSharedPtr rShapeManager,
const uno::Reference< drawing::XShape > &  xShape 
)

Definition at line 49 of file nodetools.cxx.

References ENSURE_OR_THROW.

Referenced by slideshow::internal::AnimationBaseNode::AnimationBaseNode().

◆ makeDelay_()

template<typename FuncT >
EventSharedPtr slideshow::internal::makeDelay_ ( FuncT const &  func,
double  nTimeout,
char const *  from_function,
char const *  from_file,
int  from_line,
const OUString &  rsDescription 
)
inline

Definition at line 119 of file delayevent.hxx.

◆ makeInterruptableDelay()

template<typename Functor >
InterruptableEventPair slideshow::internal::makeInterruptableDelay ( const Functor &  rFunctor,
double  nTimeout 
)

Generate an interruptable delay event.

This function generates a pair of events, that are especially tailored to achieve the following behaviour: By default, the given functor is called after the specified timeout (after insertion of the event into the EventQueue, of course). But optionally, when the interruption event InterruptableEventPair::mpImmediateEvent is fired, the given functor is called at once, and the delay is ignored (that means, the given functor is guaranteed to be called at utmost once, and never twice. Furthermore, it is ensured that both events return false on isCharged(), once anyone of them has been fired already).

Parameters
rFunctorFunctor to call when the event fires.
nTimeoutTimeout in seconds, to wait until functor is called.
Returns
a pair of events, where the first one waits the specified amount of time, and the other fires the given functor immediately.

Definition at line 126 of file interruptabledelayevent.hxx.

References makeEvent, slideshow::internal::InterruptableEventPair::mpImmediateEvent, and slideshow::internal::InterruptableEventPair::mpTimeoutEvent.

◆ makeSetActivity()

template<class AnimationT >
AnimationActivitySharedPtr slideshow::internal::makeSetActivity ( const ActivitiesFactory::CommonParameters rParms,
const ::std::shared_ptr< AnimationT > &  rAnimation,
const typename AnimationT::ValueType rToValue 
)

◆ mapAttributeName()

AttributeType slideshow::internal::mapAttributeName ( const OUString &  rAttrName)

◆ operator!=() [1/2]

bool slideshow::internal::operator!= ( const HSLColor rLHS,
const HSLColor rRHS 
)

Definition at line 196 of file color.cxx.

◆ operator!=() [2/2]

bool slideshow::internal::operator!= ( const RGBColor rLHS,
const RGBColor rRHS 
)

Definition at line 314 of file color.cxx.

◆ operator*() [1/3]

RGBColor slideshow::internal::operator* ( const RGBColor rLHS,
const RGBColor rRHS 
)

◆ operator*() [2/3]

HSLColor slideshow::internal::operator* ( double  nFactor,
const HSLColor rRHS 
)

◆ operator*() [3/3]

RGBColor slideshow::internal::operator* ( double  nFactor,
const RGBColor rRHS 
)

◆ operator+() [1/2]

HSLColor slideshow::internal::operator+ ( const HSLColor rLHS,
const HSLColor rRHS 
)

◆ operator+() [2/2]

RGBColor slideshow::internal::operator+ ( const RGBColor rLHS,
const RGBColor rRHS 
)

◆ operator==() [1/2]

bool slideshow::internal::operator== ( const HSLColor rLHS,
const HSLColor rRHS 
)

◆ operator==() [2/2]

bool slideshow::internal::operator== ( const RGBColor rLHS,
const RGBColor rRHS 
)

◆ RGBAColor2UnoColor() [1/2]

sal_Int32 slideshow::internal::RGBAColor2UnoColor ( ::cppcanvas::IntSRGBA  aColor)

Definition at line 646 of file tools.cxx.

◆ RGBAColor2UnoColor() [2/2]

sal_Int32 slideshow::internal::RGBAColor2UnoColor ( cppcanvas::IntSRGBA  )

Convert an IntSRGBA to plain UNO API 32 bit int.

◆ SAL_LOPLUGIN_ANNOTATE()

class slideshow::internal::SAL_LOPLUGIN_ANNOTATE ( "crosscast"  )

Interface for handling the view cursor.

Classes implementing this interface interact with the View, arbitrating access to the mouse cursor shape.

Request different cursor shape.

Parameters
nCursorShapeShape ID of the new mouse cursor

Reset cursor to default one.

This method resets the cursor to whatever default to manager deems appropriate.

Definition at line 1 of file cursormanager.hxx.

References SAL_LOPLUGIN_ANNOTATE().

Referenced by SAL_LOPLUGIN_ANNOTATE().

Variable Documentation

◆ lcl_nOffset

sal_Int32 slideshow::internal::lcl_nOffset = 0
static

Definition at line 31 of file nodetools.cxx.

Referenced by debugGetNodeName(), and debugNodesShowTree().

◆ LEFT_BORDER_SPACE

const sal_Int32 slideshow::internal::LEFT_BORDER_SPACE = 10

◆ LOWER_BORDER_SPACE

const sal_Int32 slideshow::internal::LOWER_BORDER_SPACE = 30

◆ unoColor2RGBColor

RGBColor slideshow::internal::unoColor2RGBColor ( sal_Int32  nColor)

Convert a plain UNO API 32 bit int to RGBColor.

Definition at line 634 of file tools.cxx.

Referenced by extractValue(), and slideshow::internal::ShapeImporter::importPolygons().