KEY1Token.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 KEY1TOKEN_H_INCLUDED
11 #define KEY1TOKEN_H_INCLUDED
12
13 #include <boost/static_assert.hpp>
14
15 #include "IWORKTokenInfo.h"
16
17 namespace libetonyek
18 {
19
20 class IWORKTokenizer;
21
22 namespace KEY1Token
23 {
24
25 enum
26 {
27 INVALID_TOKEN = 0,
28 FIRST_TOKEN = IWORKTokenInfo<KEY1Parser>::first,
29
30 // namespace prefixes
31 key1,
32
33 // elements
34 application_name,
35 application_version,
36 array,
37 axes,
38 axis,
39 background_fill_style,
40 body,
41 bullet,
42 bullet_characters,
43 bullets,
44 character_bullet_style,
45 chart_prototype,
46 color,
47 content,
48 dash_style,
49 data,
50 description,
51 dict,
52 div,
53 drawables,
54 element,
55 fill_style,
56 font,
57 g,
58 gradient,
59 guide,
60 guides,
61 image,
62 image_bullet_style,
63 legend,
64 line,
65 line_head_style,
66 line_tail_style,
67 master_slide,
68 master_slides,
69 metadata,
70 node,
71 notes,
72 null,
73 number,
74 page_number,
75 plugin,
76 plugin_data,
77 presentation,
78 prototype_bullets,
79 prototype_data,
80 prototype_drawables,
81 prototype_plugin,
82 prototype_plugins,
83 rect,
84 reference,
85 segment,
86 sequence_bullet_style,
87 serie,
88 series,
89 shadow_style,
90 shape,
91 size,
92 slide,
93 slide_list,
94 span,
95 string,
96 stroke_style,
97 styles,
98 symbol,
99 text_attributes,
100 textbox,
101 theme,
102 thumbnail,
103 thumbnails,
104 time_stamp,
105 title,
106 transition_style,
107 ui_state,
108
109 // attributes
110 DefaultLegendRelativePosition,
111 DefaultLegendSize,
112 altLineOpacity,
113 altLineVisible,
114 angle,
115 bl,
116 br,
117 buildChunkingStyle,
118 bullet_indentation,
119 byte_size,
120 chartFrame,
121 dataFormatterHasThousandsSeparators,
122 dataFormatterNumberOfDecimals,
123 dataFormatterPrefix,
124 dataFormatterSuffix,
125 direction,
126 display_name,
127 duration,
128 end,
129 end_color,
130 file,
131 fill_color,
132 fill_type,
133 floating_content,
134 font_color,
135 font_kerning,
136 font_ligatures,
137 font_name,
138 font_size,
139 font_superscript,
140 font_underline,
141 gradient_angle,
142 gridOpacity,
143 grow_horizontally,
144 head,
145 id,
146 ident,
147 id_ref,
148 image_data,
149 image_scale,
150 interBarGap,
151 interSeriesGap,
152 is_filled,
153 key,
154 labelOpacity,
155 labelPosition,
156 labelVisible,
157 layerElementsForShadowing,
158 level,
159 lineOpacity,
160 lineVisible,
161 location,
162 lock_aspect_ratio,
163 locked,
164 majorTickPositions,
165 marker_type,
166 master_slide_id,
167 match_point,
168 minorTickPositions,
169 name,
170 natural_size,
171 numberOfPoints,
172 offset,
173 opacity,
174 orientation,
175 paragraph_alignment,
176 paragraph_first_line_indent,
177 paragraph_head_indent,
178 paragraph_tail_indent,
179 path,
180 pattern,
181 pieSliceOffset,
182 pieSlicePercentVisible,
183 point_at_top,
184 pos,
185 radius,
186 seriesDirection,
187 showGrid,
188 showZero,
189 size_technique,
190 slide_size,
191 spacing,
192 start,
193 start_color,
194 steps,
195 stroke_color,
196 stroke_width,
197 symbolFillMode,
198 table,
199 tab_stops,
200 tail,
201 tickLabelsAngle,
202 tickLabelsOpacity,
203 tickLabelsVisible,
204 titleVisible,
205 tl,
206 tr,
207 transformation,
208 type,
209 useUserMaximum,
210 useUserMinimum,
211 userMaximum,
212 userMinimum,
213 version,
214 vertical_alignment,
215 visibility,
216 visible,
217 width,
218
219 // attribute values
220 bottom,
221 center,
222 character,
223 horizontal,
224 hidden,
225 inherited,
226 justified,
227 left,
228 middle,
229 none,
230 relative,
231 right,
232 scale_to_fit,
233 sequence,
234 solid,
235 text,
236 tile,
237 top,
238 tracks_master,
239 vertical,
240
241 LAST_TOKEN
242 };
243
244 BOOST_STATIC_ASSERT(IWORKTokenInfo<KEY1Parser>::last >= LAST_TOKEN);
245
246 enum Namespace
247 {
248 NS_URI_KEY = key1 << 16
249 };
250
251 const IWORKTokenizer &getTokenizer();
252
253 }
254
255 }
256
257 #endif // KEY1TOKEN_H_INCLUDED
258
259 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::KEY1Token::pieSliceOffset
Definition: KEY1Token.h:181
libetonyek::KEY1Token::middle
Definition: KEY1Token.h:228
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::KEY1Token::image
Definition: KEY1Token.h:61
libetonyek::KEY1Token::rect
Definition: KEY1Token.h:83
libetonyek::KEY1Token::INVALID_TOKEN
Definition: KEY1Token.h:27
libetonyek::KEY1Token::natural_size
Definition: KEY1Token.h:170
libetonyek::KEY1Token::sequence_bullet_style
Definition: KEY1Token.h:86
libetonyek::KEY1Token::end
Definition: KEY1Token.h:128
libetonyek::KEY1Token::br
Definition: KEY1Token.h:116
libetonyek::KEY1Token::bullets
Definition: KEY1Token.h:43
libetonyek::KEY1Token::dict
Definition: KEY1Token.h:51
libetonyek::KEY1Token::DefaultLegendSize
Definition: KEY1Token.h:111
libetonyek::KEY1Token::image_data
Definition: KEY1Token.h:148
libetonyek::KEY1Token::element
Definition: KEY1Token.h:54
libetonyek::KEY1Token::paragraph_first_line_indent
Definition: KEY1Token.h:176
libetonyek::KEY1Token::id
Definition: KEY1Token.h:145
libetonyek::KEY1Token::ident
Definition: KEY1Token.h:146
libetonyek::KEY1Token::size_technique
Definition: KEY1Token.h:189
libetonyek::KEY1Token::reference
Definition: KEY1Token.h:84
libetonyek::KEY1Token::byte_size
Definition: KEY1Token.h:119
libetonyek::KEY1Token::thumbnail
Definition: KEY1Token.h:102
libetonyek::KEY1Token::slide_size
Definition: KEY1Token.h:190
libetonyek::KEY1Token::userMaximum
Definition: KEY1Token.h:211
libetonyek::KEY1Token::font
Definition: KEY1Token.h:56
libetonyek::KEY1Token::left
Definition: KEY1Token.h:227
libetonyek::KEY1Token::visible
Definition: KEY1Token.h:216
libetonyek::KEY1Token::majorTickPositions
Definition: KEY1Token.h:164
libetonyek::KEY1Token::justified
Definition: KEY1Token.h:226
libetonyek::KEY1Token::scale_to_fit
Definition: KEY1Token.h:232
libetonyek::KEY1Token::data
Definition: KEY1Token.h:49
libetonyek::KEY1Token::content
Definition: KEY1Token.h:47
libetonyek::KEY1Token::right
Definition: KEY1Token.h:231
libetonyek::KEY1Token::paragraph_tail_indent
Definition: KEY1Token.h:178
libetonyek::KEY1Token::serie
Definition: KEY1Token.h:87
libetonyek::KEY1Token::div
Definition: KEY1Token.h:52
libetonyek::IWORKTokenInfo
Definition: IWORKTokenInfo.h:17
libetonyek::KEY1Token::prototype_drawables
Definition: KEY1Token.h:80
libetonyek::KEY1Token::font_name
Definition: KEY1Token.h:137
libetonyek::KEY1Token::paragraph_alignment
Definition: KEY1Token.h:175
libetonyek::KEY1Token::bullet_characters
Definition: KEY1Token.h:42
libetonyek::KEY1Token::slide
Definition: KEY1Token.h:92
libetonyek::KEY1Token::font_color
Definition: KEY1Token.h:134
libetonyek::KEY1Token::dataFormatterHasThousandsSeparators
Definition: KEY1Token.h:121
libetonyek::KEY1Token::font_ligatures
Definition: KEY1Token.h:136
libetonyek::KEY1Token::bl
Definition: KEY1Token.h:115
libetonyek::KEY1Token::BOOST_STATIC_ASSERT
BOOST_STATIC_ASSERT(IWORKTokenInfo< KEY1Parser >::last >=LAST_TOKEN)
libetonyek::KEY1Token::duration
Definition: KEY1Token.h:127
libetonyek::KEY1Token::tl
Definition: KEY1Token.h:205
libetonyek::KEY1Token::name
Definition: KEY1Token.h:169
libetonyek::KEY1Token::stroke_style
Definition: KEY1Token.h:96
libetonyek::KEY1Token::id_ref
Definition: KEY1Token.h:147
libetonyek::KEY1Token::numberOfPoints
Definition: KEY1Token.h:171
libetonyek::KEY1Token::file
Definition: KEY1Token.h:130
libetonyek::KEY1Token::spacing
Definition: KEY1Token.h:191
libetonyek::KEY1Token::bullet
Definition: KEY1Token.h:41
libetonyek::KEY1Token::metadata
Definition: KEY1Token.h:69
libetonyek::KEY1Token::shadow_style
Definition: KEY1Token.h:89
libetonyek::KEY1Token::prototype_plugins
Definition: KEY1Token.h:82
libetonyek::KEY1Token::text
Definition: KEY1Token.h:235
libetonyek::KEY1Token::width
Definition: KEY1Token.h:217
libetonyek::KEY1Token::string
Definition: KEY1Token.h:95
libetonyek::KEY1Token::userMinimum
Definition: KEY1Token.h:212
libetonyek::KEY1Token::horizontal
Definition: KEY1Token.h:223
libetonyek::KEY1Token::master_slides
Definition: KEY1Token.h:68
libetonyek::KEY1Token::dataFormatterPrefix
Definition: KEY1Token.h:123
libetonyek::KEY1Token::number
Definition: KEY1Token.h:73
libetonyek::KEY1Token::angle
Definition: KEY1Token.h:114
libetonyek::KEY1Token::tile
Definition: KEY1Token.h:236
libetonyek::KEY1Token::table
Definition: KEY1Token.h:198
libetonyek::KEY1Token::slide_list
Definition: KEY1Token.h:93
libetonyek::KEY1Token::gradient_angle
Definition: KEY1Token.h:141
libetonyek::KEY1Token::orientation
Definition: KEY1Token.h:174
libetonyek::KEY1Token::image_scale
Definition: KEY1Token.h:149
libetonyek::KEY1Token::layerElementsForShadowing
Definition: KEY1Token.h:157
libetonyek::KEY1Token::g
Definition: KEY1Token.h:57
libetonyek::KEY1Token::text_attributes
Definition: KEY1Token.h:99
libetonyek::KEY1Token::chart_prototype
Definition: KEY1Token.h:45
libetonyek::KEY1Token::page_number
Definition: KEY1Token.h:74
libetonyek::KEY1Token::description
Definition: KEY1Token.h:50
libetonyek::KEY1Token::size
Definition: KEY1Token.h:91
libetonyek::KEY1Token::hidden
Definition: KEY1Token.h:224
libetonyek::KEY1Token::top
Definition: KEY1Token.h:237
libetonyek::KEY1Token::offset
Definition: KEY1Token.h:172
libetonyek::KEY1Token::center
Definition: KEY1Token.h:221
libetonyek::KEY1Token::guide
Definition: KEY1Token.h:59
libetonyek::KEY1Token::inherited
Definition: KEY1Token.h:225
libetonyek::KEY1Token::null
Definition: KEY1Token.h:72
libetonyek::KEY1Token::character
Definition: KEY1Token.h:222
libetonyek::KEY1Token::start_color
Definition: KEY1Token.h:193
libetonyek::KEY1Token::character_bullet_style
Definition: KEY1Token.h:44
libetonyek::KEY1Token::tr
Definition: KEY1Token.h:206
libetonyek::KEY1Token::fill_color
Definition: KEY1Token.h:131
libetonyek::KEY1Token::match_point
Definition: KEY1Token.h:167
libetonyek::KEY1Token::background_fill_style
Definition: KEY1Token.h:39
libetonyek::KEY1Token::solid
Definition: KEY1Token.h:234
libetonyek::KEY1Token::pattern
Definition: KEY1Token.h:180
libetonyek::KEY1Token::transformation
Definition: KEY1Token.h:207
libetonyek::KEY1Token::pieSlicePercentVisible
Definition: KEY1Token.h:182
libetonyek::KEY1Token::guides
Definition: KEY1Token.h:60
libetonyek::KEY1Token::level
Definition: KEY1Token.h:158
libetonyek::KEY1Token::NS_URI_KEY
Definition: KEY1Token.h:248
libetonyek::KEY1Token::interBarGap
Definition: KEY1Token.h:150
libetonyek::KEY1Token::styles
Definition: KEY1Token.h:97
libetonyek::KEY1Token::dataFormatterSuffix
Definition: KEY1Token.h:124
libetonyek::KEY1Token::path
Definition: KEY1Token.h:179
libetonyek::KEY1Token::location
Definition: KEY1Token.h:161
libetonyek::KEY1Token::bottom
Definition: KEY1Token.h:220
libetonyek::KEY1Token::buildChunkingStyle
Definition: KEY1Token.h:117
libetonyek::KEY1Token::none
Definition: KEY1Token.h:229
libetonyek::KEY1Token::legend
Definition: KEY1Token.h:63
libetonyek::KEY1Token::key1
Definition: KEY1Token.h:31
libetonyek::KEY1Token::application_version
Definition: KEY1Token.h:35
libetonyek::KEY1Token::paragraph_head_indent
Definition: KEY1Token.h:177
libetonyek::KEY1Token::vertical_alignment
Definition: KEY1Token.h:214
libetonyek::KEY1Token::lineOpacity
Definition: KEY1Token.h:159
libetonyek::KEY1Token::end_color
Definition: KEY1Token.h:129
libetonyek::KEY1Token::shape
Definition: KEY1Token.h:90
libetonyek::KEY1Token::tickLabelsVisible
Definition: KEY1Token.h:203
libetonyek::KEY1Token::drawables
Definition: KEY1Token.h:53
libetonyek::KEY1Token::prototype_bullets
Definition: KEY1Token.h:78
libetonyek::KEY1Token::plugin_data
Definition: KEY1Token.h:76
libetonyek::KEY1Token::stroke_width
Definition: KEY1Token.h:196
libetonyek::KEY1Token::is_filled
Definition: KEY1Token.h:152
libetonyek::KEY1Token::FIRST_TOKEN
Definition: KEY1Token.h:28
libetonyek::KEY1Token::type
Definition: KEY1Token.h:208
libetonyek::KEY1Token::point_at_top
Definition: KEY1Token.h:183
libetonyek::KEY1Token::titleVisible
Definition: KEY1Token.h:204
libetonyek::KEY1Token::master_slide
Definition: KEY1Token.h:67
libetonyek::KEY1Token::getTokenizer
const IWORKTokenizer & getTokenizer()
Definition: KEY1Token.cpp:57
libetonyek::KEY1Token::tab_stops
Definition: KEY1Token.h:199
libetonyek::KEY1Token::body
Definition: KEY1Token.h:40
libetonyek::KEY1Token::gradient
Definition: KEY1Token.h:58
libetonyek::KEY1Token::font_kerning
Definition: KEY1Token.h:135
libetonyek::KEY1Token::prototype_data
Definition: KEY1Token.h:79
libetonyek::KEY1Token::line_head_style
Definition: KEY1Token.h:65
libetonyek::KEY1Token::prototype_plugin
Definition: KEY1Token.h:81
libetonyek::KEY1Token::axis
Definition: KEY1Token.h:38
libetonyek::KEY1Token::tracks_master
Definition: KEY1Token.h:238
libetonyek::KEY1Token::radius
Definition: KEY1Token.h:185
libetonyek::KEY1Token::pos
Definition: KEY1Token.h:184
libetonyek::KEY1Token::fill_type
Definition: KEY1Token.h:132
libetonyek::KEY1Token::visibility
Definition: KEY1Token.h:215
libetonyek::KEY1Token::LAST_TOKEN
Definition: KEY1Token.h:241
libetonyek::KEY1Token::node
Definition: KEY1Token.h:70
libetonyek::KEY1Token::relative
Definition: KEY1Token.h:230
libetonyek::KEY1Token::application_name
Definition: KEY1Token.h:34
libetonyek::KEY1Token::chartFrame
Definition: KEY1Token.h:120
libetonyek::KEY1Token::lock_aspect_ratio
Definition: KEY1Token.h:162
libetonyek::KEY1Token::span
Definition: KEY1Token.h:94
libetonyek::KEY1Token::array
Definition: KEY1Token.h:36
libetonyek::KEY1Token::line
Definition: KEY1Token.h:64
libetonyek::KEY1Token::tail
Definition: KEY1Token.h:200
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::KEY1Token::time_stamp
Definition: KEY1Token.h:104
libetonyek::KEY1Token::segment
Definition: KEY1Token.h:85
libetonyek::KEY1Token::axes
Definition: KEY1Token.h:37
libetonyek::KEY1Token::symbolFillMode
Definition: KEY1Token.h:197
libetonyek::KEY1Token::head
Definition: KEY1Token.h:144
libetonyek::KEY1Token::tickLabelsOpacity
Definition: KEY1Token.h:202
libetonyek::KEY1Token::steps
Definition: KEY1Token.h:194
libetonyek::KEY1Token::plugin
Definition: KEY1Token.h:75
libetonyek::KEY1Token::ui_state
Definition: KEY1Token.h:107
libetonyek::KEY1Token::line_tail_style
Definition: KEY1Token.h:66
libetonyek::KEY1Token::color
Definition: KEY1Token.h:46
libetonyek::KEY1Token::thumbnails
Definition: KEY1Token.h:103
libetonyek::KEY1Token::font_underline
Definition: KEY1Token.h:140
libetonyek::KEY1Token::dataFormatterNumberOfDecimals
Definition: KEY1Token.h:122
libetonyek::KEY1Token::showGrid
Definition: KEY1Token.h:187
libetonyek::KEY1Token::symbol
Definition: KEY1Token.h:98
libetonyek::KEY1Token::labelOpacity
Definition: KEY1Token.h:154
libetonyek::KEY1Token::font_superscript
Definition: KEY1Token.h:139
libetonyek::KEY1Token::lineVisible
Definition: KEY1Token.h:160
IWORKTokenInfo.h
libetonyek::KEY1Token::dash_style
Definition: KEY1Token.h:48
libetonyek::KEY1Token::fill_style
Definition: KEY1Token.h:55
libetonyek::KEY1Token::presentation
Definition: KEY1Token.h:77
libetonyek::KEY1Token::vertical
Definition: KEY1Token.h:239
libetonyek::KEY1Token::DefaultLegendRelativePosition
Definition: KEY1Token.h:110
libetonyek::KEY1Token::labelPosition
Definition: KEY1Token.h:155
libetonyek::KEY1Token::floating_content
Definition: KEY1Token.h:133
libetonyek::KEY1Token::transition_style
Definition: KEY1Token.h:106
libetonyek::KEY1Token::series
Definition: KEY1Token.h:88
libetonyek::KEY1Token::interSeriesGap
Definition: KEY1Token.h:151
libetonyek::KEY1Token::altLineVisible
Definition: KEY1Token.h:113
libetonyek::KEY1Token::tickLabelsAngle
Definition: KEY1Token.h:201
libetonyek::KEY1Token::showZero
Definition: KEY1Token.h:188
libetonyek::KEY1Token::gridOpacity
Definition: KEY1Token.h:142
libetonyek::KEY1Token::key
Definition: KEY1Token.h:153
libetonyek::KEY1Token::master_slide_id
Definition: KEY1Token.h:166
libetonyek::KEY1Token::Namespace
Namespace
Definition: KEY1Token.h:246
libetonyek::KEY1Token::textbox
Definition: KEY1Token.h:100
libetonyek::KEY1Token::title
Definition: KEY1Token.h:105
libetonyek::KEY1Token::image_bullet_style
Definition: KEY1Token.h:62
libetonyek::KEY1Token::version
Definition: KEY1Token.h:213
libetonyek::KEY1Token::useUserMaximum
Definition: KEY1Token.h:209
libetonyek::KEY1Token::minorTickPositions
Definition: KEY1Token.h:168
libetonyek::KEY1Token::display_name
Definition: KEY1Token.h:126
libetonyek::KEY1Token::bullet_indentation
Definition: KEY1Token.h:118
libetonyek::KEY1Token::opacity
Definition: KEY1Token.h:173
libetonyek::KEY1Token::sequence
Definition: KEY1Token.h:233
libetonyek::KEY1Token::stroke_color
Definition: KEY1Token.h:195
libetonyek::KEY1Token::direction
Definition: KEY1Token.h:125
libetonyek::KEY1Token::marker_type
Definition: KEY1Token.h:165
libetonyek::KEY1Token::theme
Definition: KEY1Token.h:101
libetonyek::KEY1Token::labelVisible
Definition: KEY1Token.h:156
libetonyek::KEY1Token::font_size
Definition: KEY1Token.h:138
libetonyek::KEY1Token::altLineOpacity
Definition: KEY1Token.h:112
libetonyek::KEY1Token::grow_horizontally
Definition: KEY1Token.h:143
libetonyek::KEY1Token::start
Definition: KEY1Token.h:192
libetonyek::KEY1Token::notes
Definition: KEY1Token.h:71
libetonyek::KEY1Token::seriesDirection
Definition: KEY1Token.h:186
libetonyek::KEY1Token::locked
Definition: KEY1Token.h:163
libetonyek::KEY1Token::useUserMinimum
Definition: KEY1Token.h:210