LibreOffice Module sd (master) 1
anminfo.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#pragma once
21
22#include <com/sun/star/presentation/AnimationEffect.hpp>
23#include <com/sun/star/presentation/AnimationSpeed.hpp>
24#include <com/sun/star/presentation/ClickAction.hpp>
25#include "pres.hxx"
26#include <svx/svdobj.hxx>
27#include <tools/color.hxx>
28#include "sddllapi.h"
29
31{
32public:
34
35 /* deprecated animation infos */
36 css::presentation::AnimationEffect meEffect;
37 css::presentation::AnimationEffect meTextEffect;
38 css::presentation::AnimationSpeed meSpeed;
39 bool mbActive;
41 bool mbIsMovie;
42 bool mbDimHide;
45 OUString maSoundFile;
46 bool mbSoundOn;
48 css::presentation::ClickAction meClickAction;
49 css::presentation::AnimationEffect meSecondEffect;
50 css::presentation::AnimationSpeed meSecondSpeed;
54 sal_uInt16 mnVerb;
56
57 void SetBookmark( const OUString& rBookmark );
58 OUString GetBookmark() const;
59public:
60 SAL_DLLPRIVATE SdAnimationInfo(SdrObject& rObject);
61 SAL_DLLPRIVATE SdAnimationInfo(const SdAnimationInfo& rAnmInfo, SdrObject& rObject);
62 SAL_DLLPRIVATE virtual ~SdAnimationInfo() override;
63
64 SAL_DLLPRIVATE virtual std::unique_ptr<SdrObjUserData> Clone(SdrObject* pObject) const override;
65};
66
67/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool mbPlayFull
play sound completely.
Definition: anminfo.hxx:47
css::presentation::AnimationEffect meTextEffect
Animation effect for text content.
Definition: anminfo.hxx:37
OUString maSecondSoundFile
for object fading.
Definition: anminfo.hxx:51
bool mbDimHide
hide rather than dim
Definition: anminfo.hxx:42
css::presentation::AnimationEffect meEffect
Animation effect.
Definition: anminfo.hxx:36
css::presentation::ClickAction meClickAction
Action at mouse click.
Definition: anminfo.hxx:48
bool mbIsMovie
if group object than it is a sequence of them.
Definition: anminfo.hxx:41
Color maDimColor
for fading the object
Definition: anminfo.hxx:44
Color maBlueScreen
identifies "background pixels"
Definition: anminfo.hxx:43
sal_uInt16 mnVerb
for OLE object
Definition: anminfo.hxx:54
css::presentation::AnimationEffect meSecondEffect
for object fading.
Definition: anminfo.hxx:49
PresObjKind mePresObjKind
Definition: anminfo.hxx:33
bool mbSecondSoundOn
for object fading.
Definition: anminfo.hxx:52
OUString maSoundFile
Path to the sound file in MS DOS notation.
Definition: anminfo.hxx:45
css::presentation::AnimationSpeed meSpeed
Speed of the animation.
Definition: anminfo.hxx:38
SdrObject & mrObject
Definition: anminfo.hxx:55
bool mbDimPrevious
Object fade out.
Definition: anminfo.hxx:40
bool mbActive
turned on?
Definition: anminfo.hxx:39
bool mbSoundOn
Sound on / off.
Definition: anminfo.hxx:46
bool mbSecondPlayFull
for object fading.
Definition: anminfo.hxx:53
css::presentation::AnimationSpeed meSecondSpeed
for object fading.
Definition: anminfo.hxx:50
virtual std::unique_ptr< SdrObjUserData > Clone(SdrObject *pObj1) const=0
PresObjKind
Definition: pres.hxx:22
#define SD_DLLPUBLIC
Definition: sddllapi.h:27