LibreOffice Module slideshow (master) 1
transitionfactory.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_SLIDESHOW_SOURCE_INC_TRANSITIONFACTORY_HXX
21#define INCLUDED_SLIDESHOW_SOURCE_INC_TRANSITIONFACTORY_HXX
22
23#include <com/sun/star/animations/XTransitionFilter.hpp>
24#include <com/sun/star/presentation/XTransitionFactory.hpp>
25
26#include "rgbcolor.hxx"
27#include "slide.hxx"
28#include "screenupdater.hxx"
29#include "animationactivity.hxx"
30#include "activitiesfactory.hxx"
31#include "numberanimation.hxx"
32#include "soundplayer.hxx"
33#include "shapemanager.hxx"
34
35namespace slideshow::internal
36 {
37 /* Definition of Transitionfactory class */
38 namespace TransitionFactory
39 {
63 const AnimatableShapeSharedPtr& rShape,
64 const ShapeManagerSharedPtr& rShapeManager,
65 const ::basegfx::B2DVector& rSlideSize,
66 css::uno::Reference< css::animations::XTransitionFilter > const& xTransition );
67
68
97 const SlideSharedPtr& rLeavingSlide,
98 const SlideSharedPtr& rEnteringSlide,
99 const UnoViewContainer& rViewContainer,
100 ScreenUpdater& rScreenUpdater,
101 EventMultiplexer& rEventMultiplexer,
102 const css::uno::Reference< css::presentation::XTransitionFactory>&
103 xOptionalFactory,
104 sal_Int16 nTransitionType,
105 sal_Int16 nTransitionSubType,
106 bool bTransitionDirection,
107 const RGBColor& rTransitionFadeColor,
108 const SoundPlayerSharedPtr& rSoundPlayer );
109 }
110
111}
112
113#endif // INCLUDED_SLIDESHOW_SOURCE_INC_TRANSITIONFACTORY_HXX
114
115/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This class multiplexes user-activated and slide-show global events.
RGB color space class.
Definition: rgbcolor.hxx:35
NumberAnimationSharedPtr createSlideTransition(const SlideSharedPtr &rLeavingSlide, const SlideSharedPtr &rEnteringSlide, const UnoViewContainer &rViewContainer, ScreenUpdater &rScreenUpdater, EventMultiplexer &rEventMultiplexer, const css::uno::Reference< css::presentation::XTransitionFactory > &xOptionalFactory, sal_Int16 nTransitionType, sal_Int16 nTransitionSubType, bool bTransitionDirection, const RGBColor &rTransitionFadeColor, const SoundPlayerSharedPtr &rSoundPlayer)
Create a transition effect for slides.
AnimationActivitySharedPtr createShapeTransition(const ActivitiesFactory::CommonParameters &rParms, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, css::uno::Reference< css::animations::XTransitionFilter > const &xTransition)
Create a transition effect for shapes.
::std::shared_ptr< NumberAnimation > NumberAnimationSharedPtr
::std::shared_ptr< AnimatableShape > AnimatableShapeSharedPtr
::std::shared_ptr< SoundPlayer > SoundPlayerSharedPtr
::std::shared_ptr< AnimationActivity > AnimationActivitySharedPtr
::std::shared_ptr< Slide > SlideSharedPtr
Definition: slide.hxx:148
std::shared_ptr< ShapeManager > ShapeManagerSharedPtr
Definition: box2dtools.hxx:23