KEY1Token.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libetonyek project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef KEY1TOKEN_H_INCLUDED
00011 #define KEY1TOKEN_H_INCLUDED
00012 
00013 #include <boost/static_assert.hpp>
00014 
00015 #include "IWORKTokenInfo.h"
00016 
00017 namespace libetonyek
00018 {
00019 
00020 class IWORKTokenizer;
00021 
00022 namespace KEY1Token
00023 {
00024 
00025 enum
00026 {
00027   INVALID_TOKEN = 0,
00028   FIRST_TOKEN = IWORKTokenInfo<KEY1Parser>::first,
00029 
00030   // namespace prefixes
00031 
00032   // elements
00033   application_name,
00034   application_version,
00035   array,
00036   axes,
00037   axis,
00038   background_fill_style,
00039   body,
00040   bullet,
00041   bullet_characters,
00042   bullets,
00043   character_bullet_style,
00044   chart_prototype,
00045   color,
00046   content,
00047   dash_style,
00048   data,
00049   dict,
00050   drawables,
00051   fill_style,
00052   font,
00053   gradient,
00054   guide,
00055   guides,
00056   image,
00057   legend,
00058   line,
00059   line_head_style,
00060   line_tail_style,
00061   master_slide,
00062   master_slides,
00063   metadata,
00064   null,
00065   number,
00066   page_number,
00067   presentation,
00068   prototype_bullets,
00069   prototype_data,
00070   prototype_drawables,
00071   prototype_plugin,
00072   prototype_plugins,
00073   rect,
00074   reference,
00075   serie,
00076   series,
00077   shadow_style,
00078   shape,
00079   size,
00080   slide,
00081   slide_list,
00082   string,
00083   stroke_style,
00084   styles,
00085   symbol,
00086   text_attributes,
00087   textbox,
00088   theme,
00089   thumbnail,
00090   thumbnails,
00091   time_stamp,
00092   title,
00093   transition_style,
00094   ui_state,
00095 
00096   // attributes
00097   DefaultLegendRelativePosition,
00098   DefaultLegendSize,
00099   altLineOpacity,
00100   altLineVisible,
00101   angle,
00102   buildChunkingStyle,
00103   bullet_indentation,
00104   byte_size,
00105   chartFrame,
00106   dataFormatterHasThousandsSeparators,
00107   dataFormatterNumberOfDecimals,
00108   dataFormatterPrefix,
00109   dataFormatterSuffix,
00110   display_name,
00111   duration,
00112   end_color,
00113   file,
00114   fill_color,
00115   fill_type,
00116   floating_content,
00117   font_name,
00118   font_size,
00119   gradient_angle,
00120   gridOpacity,
00121   id,
00122   id_ref,
00123   image_data,
00124   image_scale,
00125   interBarGap,
00126   interSeriesGap,
00127   is_filled,
00128   key,
00129   labelOpacity,
00130   labelPosition,
00131   labelVisible,
00132   layerElementsForShadowing,
00133   level,
00134   lineOpacity,
00135   lineVisible,
00136   location,
00137   lock_aspect_ratio,
00138   locked,
00139   majorTickPositions,
00140   marker_type,
00141   master_slide_id,
00142   minorTickPositions,
00143   name,
00144   natural_size,
00145   numberOfPoints,
00146   offset,
00147   opacity,
00148   orientation,
00149   paragraph_alignment,
00150   paragraph_first_line_indent,
00151   paragraph_head_indent,
00152   pattern,
00153   pieSliceOffset,
00154   pieSlicePercentVisible,
00155   point_at_top,
00156   radius,
00157   seriesDirection,
00158   showGrid,
00159   showZero,
00160   size_technique,
00161   slide_size,
00162   spacing,
00163   start_color,
00164   steps,
00165   stroke_color,
00166   stroke_width,
00167   symbolFillMode,
00168   tab_stops,
00169   tickLabelsAngle,
00170   tickLabelsOpacity,
00171   tickLabelsVisible,
00172   titleVisible,
00173   transformation,
00174   type,
00175   useUserMaximum,
00176   useUserMinimum,
00177   userMaximum,
00178   userMinimum,
00179   version,
00180   vertical_alignment,
00181   visibility,
00182   visible,
00183   width,
00184 
00185   // attribute values
00186 
00187   LAST_TOKEN
00188 };
00189 
00190 BOOST_STATIC_ASSERT(IWORKTokenInfo<KEY1Parser>::last >= LAST_TOKEN);
00191 
00192 const IWORKTokenizer &getTokenizer();
00193 
00194 }
00195 
00196 }
00197 
00198 #endif // KEY1TOKEN_H_INCLUDED
00199 
00200 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */