KEYTypes.h Source File documentation

KEYTypes.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libetonyek 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
10#ifndef KEYTYPES_H_INCLUDED
11#define KEYTYPES_H_INCLUDED
12
13#include "KEYTypes_fwd.h"
14
15#include <deque>
16#include <string>
17
18#include <boost/optional.hpp>
19
20#include "libetonyek_utils.h"
21#include "IWORKOutputElements.h"
22#include "IWORKPath_fwd.h"
23#include "IWORKStyle_fwd.h"
24#include "IWORKText_fwd.h"
25#include "IWORKTypes.h"
26#include "KEYEnum.h"
27
28namespace libetonyek
29{
30
31 struct KEYLayer
32{
33 boost::optional<std::string> m_type;
34 boost::optional<IWORKOutputID_t> m_outputId;
35
36 KEYLayer();
37};
38
39 struct KEYPlaceholder
40{
41 boost::optional<bool> m_title;
42 boost::optional<bool> m_empty;
43 IWORKStylePtr_t m_style;
44 IWORKStylePtr_t m_paragraphStyle;
45 IWORKStylePtr_t m_spanStyle;
46 IWORKGeometryPtr_t m_geometry;
47 IWORKTextPtr_t m_text;
48 boost::optional<bool> m_visible;
49 boost::optional<unsigned> m_resizeFlags;
50 std::deque<double> m_bulletIndentations;
51
52 KEYPlaceholder();
53};
54
55 struct KEYSlide
56{
57 boost::optional<std::string> m_name;
58 IWORKOutputElements m_content;
59 IWORKStylePtr_t m_style;
60 std::shared_ptr<KEYSlide> m_masterSlide;
61
62 KEYSlide();
63};
64
65 struct KEYTransition
66{
67 KEYTransition();
68
69 KEYTransitionStyleType m_type;
70 boost::optional<std::string> m_name;
71
72 boost::optional<bool> m_automatic;
73 boost::optional<double> m_delay;
74 boost::optional<int> m_direction;
75 boost::optional<double> m_duration;
76};
77
78}
79
80#endif // KEYTYPES_H_INCLUDED
81
82/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKOutputElements.h
IWORKPath_fwd.h
IWORKStyle_fwd.h
IWORKText_fwd.h
IWORKTypes.h
KEYEnum.h
KEYTypes_fwd.h
libetonyek::IWORKOutputElements
Definition: IWORKOutputElements.h:33
libetonyek_utils.h
libetonyek
Definition: IWORKBezierElement.cpp:21
libetonyek::IWORKTextPtr_t
std::shared_ptr< IWORKText > IWORKTextPtr_t
Definition: IWORKText_fwd.h:22
libetonyek::IWORKGeometryPtr_t
std::shared_ptr< IWORKGeometry > IWORKGeometryPtr_t
Definition: IWORKTypes_fwd.h:43
libetonyek::KEYTransitionStyleType
KEYTransitionStyleType
Definition: KEYEnum.h:17
libetonyek::IWORKStylePtr_t
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:23
libetonyek::KEYLayer
Definition: KEYTypes.h:32
libetonyek::KEYLayer::KEYLayer
KEYLayer()
Definition: KEYTypes.cpp:21
libetonyek::KEYLayer::m_outputId
boost::optional< IWORKOutputID_t > m_outputId
Definition: KEYTypes.h:34
libetonyek::KEYLayer::m_type
boost::optional< std::string > m_type
Definition: KEYTypes.h:33
libetonyek::KEYPlaceholder
Definition: KEYTypes.h:40
libetonyek::KEYPlaceholder::m_bulletIndentations
std::deque< double > m_bulletIndentations
Definition: KEYTypes.h:50
libetonyek::KEYPlaceholder::m_resizeFlags
boost::optional< unsigned > m_resizeFlags
Definition: KEYTypes.h:49
libetonyek::KEYPlaceholder::m_spanStyle
IWORKStylePtr_t m_spanStyle
Definition: KEYTypes.h:45
libetonyek::KEYPlaceholder::m_style
IWORKStylePtr_t m_style
Definition: KEYTypes.h:43
libetonyek::KEYPlaceholder::KEYPlaceholder
KEYPlaceholder()
Definition: KEYTypes.cpp:27
libetonyek::KEYPlaceholder::m_text
IWORKTextPtr_t m_text
Definition: KEYTypes.h:47
libetonyek::KEYPlaceholder::m_title
boost::optional< bool > m_title
Definition: KEYTypes.h:41
libetonyek::KEYPlaceholder::m_geometry
IWORKGeometryPtr_t m_geometry
Definition: KEYTypes.h:46
libetonyek::KEYPlaceholder::m_visible
boost::optional< bool > m_visible
Definition: KEYTypes.h:48
libetonyek::KEYPlaceholder::m_paragraphStyle
IWORKStylePtr_t m_paragraphStyle
Definition: KEYTypes.h:44
libetonyek::KEYPlaceholder::m_empty
boost::optional< bool > m_empty
Definition: KEYTypes.h:42
libetonyek::KEYSlide
Definition: KEYTypes.h:56
libetonyek::KEYSlide::m_style
IWORKStylePtr_t m_style
Definition: KEYTypes.h:59
libetonyek::KEYSlide::m_name
boost::optional< std::string > m_name
Definition: KEYTypes.h:57
libetonyek::KEYSlide::m_masterSlide
std::shared_ptr< KEYSlide > m_masterSlide
Definition: KEYTypes.h:60
libetonyek::KEYSlide::KEYSlide
KEYSlide()
Definition: KEYTypes.cpp:41
libetonyek::KEYSlide::m_content
IWORKOutputElements m_content
Definition: KEYTypes.h:58
libetonyek::KEYTransition
Definition: KEYTypes.h:66
libetonyek::KEYTransition::m_delay
boost::optional< double > m_delay
Definition: KEYTypes.h:73
libetonyek::KEYTransition::m_name
boost::optional< std::string > m_name
Definition: KEYTypes.h:70
libetonyek::KEYTransition::KEYTransition
KEYTransition()
Definition: KEYTypes.cpp:49
libetonyek::KEYTransition::m_duration
boost::optional< double > m_duration
Definition: KEYTypes.h:75
libetonyek::KEYTransition::m_automatic
boost::optional< bool > m_automatic
Definition: KEYTypes.h:72
libetonyek::KEYTransition::m_type
KEYTransitionStyleType m_type
Definition: KEYTypes.h:69
libetonyek::KEYTransition::m_direction
boost::optional< int > m_direction
Definition: KEYTypes.h:74