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 
28 namespace 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 
40 {
41  boost::optional<bool> m_title;
42  boost::optional<bool> m_empty;
48  boost::optional<bool> m_visible;
49  boost::optional<unsigned> m_resizeFlags;
50  std::deque<double> m_bulletIndentations;
51 
53 };
54 
55 struct KEYSlide
56 {
57  boost::optional<std::string> m_name;
60  std::shared_ptr<KEYSlide> m_masterSlide;
61 
62  KEYSlide();
63 };
64 
66 {
67  KEYTransition();
68 
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: */
std::shared_ptr< IWORKGeometry > IWORKGeometryPtr_t
Definition: IWORKTypes_fwd.h:41
Definition: IWORKOutputElements.h:32
boost::optional< double > m_delay
Definition: KEYTypes.h:73
IWORKStylePtr_t m_style
Definition: KEYTypes.h:59
IWORKStylePtr_t m_style
Definition: KEYTypes.h:43
boost::optional< IWORKOutputID_t > m_outputId
Definition: KEYTypes.h:34
Definition: KEYTypes.h:65
boost::optional< unsigned > m_resizeFlags
Definition: KEYTypes.h:49
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
Definition: KEYTypes.h:55
Definition: KEYTypes.h:39
boost::optional< bool > m_visible
Definition: KEYTypes.h:48
boost::optional< bool > m_automatic
Definition: KEYTypes.h:72
boost::optional< int > m_direction
Definition: KEYTypes.h:74
boost::optional< std::string > m_type
Definition: KEYTypes.h:33
Definition: KEYTypes.h:31
KEYTransition()
Definition: KEYTypes.cpp:49
std::shared_ptr< KEYSlide > m_masterSlide
Definition: KEYTypes.h:60
boost::optional< bool > m_empty
Definition: KEYTypes.h:42
IWORKTextPtr_t m_text
Definition: KEYTypes.h:47
IWORKStylePtr_t m_spanStyle
Definition: KEYTypes.h:45
std::shared_ptr< IWORKText > IWORKTextPtr_t
Definition: IWORKText_fwd.h:20
KEYTransitionStyleType
Definition: KEYEnum.h:16
KEYLayer()
Definition: KEYTypes.cpp:21
KEYTransitionStyleType m_type
Definition: KEYTypes.h:69
boost::optional< std::string > m_name
Definition: KEYTypes.h:70
boost::optional< double > m_duration
Definition: KEYTypes.h:75
boost::optional< std::string > m_name
Definition: KEYTypes.h:57
boost::optional< bool > m_title
Definition: KEYTypes.h:41
IWORKGeometryPtr_t m_geometry
Definition: KEYTypes.h:46
KEYSlide()
Definition: KEYTypes.cpp:41
KEYPlaceholder()
Definition: KEYTypes.cpp:27
IWORKOutputElements m_content
Definition: KEYTypes.h:58
std::deque< double > m_bulletIndentations
Definition: KEYTypes.h:50
IWORKStylePtr_t m_paragraphStyle
Definition: KEYTypes.h:44

Generated for libetonyek by doxygen 1.8.6