KEY2Token.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 KEY2TOKEN_H_INCLUDED
00011 #define KEY2TOKEN_H_INCLUDED
00012 
00013 namespace libetonyek
00014 {
00015 
00016 namespace detail
00017 {
00018 
00019 template<unsigned N, unsigned P>
00020 struct log_impl
00021 {
00022   static const unsigned value = log_impl<(N >> 1), P + 1>::value;
00023 };
00024 
00025 template<unsigned P>
00026 struct log_impl<1, P>
00027 {
00028   static const unsigned value = P;
00029 };
00030 
00031 template<unsigned P>
00032 struct log_impl<0, P>
00033 {
00034 };
00035 
00036 template<unsigned N>
00037 struct log
00038 {
00039   static const unsigned value = log_impl<N, 0>::value;
00040 };
00041 
00042 }
00043 
00044 namespace KEY2Token
00045 {
00046 
00047 enum
00048 {
00049   INVALID_TOKEN = 0,
00050 
00051   // elements
00052   alignment,
00053   alignment_guide,
00054   alpha_mask_path,
00055   angle_gradient,
00056   angle_gradient_ref,
00057   animationAuto,
00058   animationAutoPlay,
00059   animationDelay,
00060   animationDelayAutmaticAfter,
00061   animationDelayAutomaticWith,
00062   animationDuration,
00063   animationEndOffset,
00064   animationInterchunkAuto,
00065   animationInterchunkDelay,
00066   animationStartOffset,
00067   animationTimingReferent,
00068   animationType,
00069   anon_styles,
00070   array,
00071   array_ref,
00072   atsuFontFeatures,
00073   audio_only_image,
00074   audio_only_image_ref,
00075   authors,
00076   baselineShift,
00077   bezier,
00078   bezier_path,
00079   bezier_ref,
00080   BGBuildChunk,
00081   BGBuildDurationProperty,
00082   BGShowUIStateActiveDrawable,
00083   BGShowUIStateActiveSlide,
00084   BGShowUIStateCanvasOrigin,
00085   BGShowUIStateCanvasZoom,
00086   BGShowUIStateMasterNavigatorHeight,
00087   BGShowUIStateMotionPathSelection,
00088   BGShowUIStateNavigatorThumbnailWidth,
00089   BGShowUIStateNavigatorWidth,
00090   BGShowUIStateNotesHeight,
00091   BGShowUIStateNotesVisible,
00092   BGShowUIStateRulersVisible,
00093   BGShowUIStateSelectedDrawables,
00094   BGShowUIStateSelectedHeadlines,
00095   BGShowUIStateSelectedMasters,
00096   BGShowUIStateSelectedSlides,
00097   BGShowUIStateViewLayout,
00098   BGShowUIStateWindowSize,
00099   binary,
00100   binary_ref,
00101   blendMode,
00102   body_placeholder,
00103   body_placeholder_ref,
00104   bodyPlaceholderVisibility,
00105   bold,
00106   br,
00107   build,
00108   build_chunk,
00109   build_chunks,
00110   bulletListStyle,
00111   bullets,
00112   calc_engine,
00113   calc_engine_entities,
00114   calculation_engine,
00115   callout2_path,
00116   capitalization,
00117   cell_comment_mapping,
00118   cell_precedents,
00119   cell_storage,
00120   cell_style,
00121   cell_style_ref,
00122   cell_text,
00123   cf,
00124   cf_ref,
00125   characterstyle,
00126   characterstyle_ref,
00127   chart_column_names,
00128   chart_containingviewport,
00129   chart_data,
00130   chart_info,
00131   chart_info_ref,
00132   chart_legendInfo,
00133   chart_model,
00134   chart_row_names,
00135   chart_series_style,
00136   chart_series_style_ref,
00137   chart_style,
00138   chart_style_ref,
00139   color,
00140   column,
00141   columns,
00142   com_apple_iWork_Keynote_BCDissolveByCharacter_slowFade,
00143   com_apple_iWork_Keynote_KLNBCConvergence_height,
00144   com_apple_iWork_Keynote_KLNBouncy_order,
00145   com_apple_iWork_Keynote_KLNComet_color,
00146   com_apple_iWork_Keynote_KLNSparkle_color,
00147   components,
00148   connection,
00149   connection_line,
00150   connection_path,
00151   connections,
00152   connection_style,
00153   connection_style_ref,
00154   content,
00155   content_size,
00156   core_image_filter_descriptor,
00157   core_image_filter_descriptor_ref,
00158   core_image_filter_info,
00159   crbr,
00160   crop_geometry,
00161   ct,
00162   custom_cell_formats,
00163   custom_space_color,
00164   d,
00165   data,
00166   data_ref,
00167   datasource,
00168   date_format,
00169   date_format_ref,
00170   decimal_number,
00171   decimalTab,
00172   defaultTabStops,
00173   dependency_tracker,
00174   dependents,
00175   dictionary,
00176   direction,
00177   drawables,
00178   dropCap,
00179   du,
00180   dummy_body_headline,
00181   duration_format,
00182   duration_format_ref,
00183   editable_bezier_path,
00184   effect,
00185   effectColor,
00186   element,
00187   end_point,
00188   error_warning_mapping,
00189   events,
00190   extent,
00191   external_text_wrap,
00192   externalTextWrap,
00193   f,
00194   fill,
00195   filtered,
00196   filtered_image,
00197   filtered_image_ref,
00198   filter_properties,
00199   filters,
00200   filterset,
00201   filterspec,
00202   firstLineIndent,
00203   firstTopicNumber,
00204   fo,
00205   followingLayoutStyle,
00206   followingParagraphStyle,
00207   fontColor,
00208   fontName,
00209   fontSize,
00210   frame,
00211   from_ref,
00212   g,
00213   geometry,
00214   gradient_stop,
00215   graphic_style,
00216   graphic_style_ref,
00217   grid,
00218   grid_column,
00219   grid_row,
00220   group,
00221   guides,
00222   head,
00223   headline,
00224   headLineEnd,
00225   headlineIndent,
00226   headlineParagraphStyle,
00227   headline_style,
00228   headOffset,
00229   hidden,
00230   horizontal_gridline_styles,
00231   hyphenate,
00232   image,
00233   image_media,
00234   image_ref,
00235   info_ref,
00236   inputAngle,
00237   inputColor,
00238   inputDistance,
00239   inputGlossiness,
00240   inputOpacity,
00241   inputRadius,
00242   intratopicbr,
00243   italic,
00244   kBGShowObjectElements,
00245   keepLinesTogether,
00246   keepWithNext,
00247   kerning,
00248   key,
00249   keywords,
00250   kSFRBlackPoint,
00251   kSFRBrightnessProperty,
00252   kSFRContrastProperty,
00253   kSFRExposureProperty,
00254   kSFRHueProperty,
00255   kSFRLeveled,
00256   kSFRSaturationProperty,
00257   kSFRSharpnessProperty,
00258   kSFRTemperature,
00259   kSFRWhitePoint,
00260   labelCharacterStyle1,
00261   labelCharacterStyle2,
00262   labelCharacterStyle3,
00263   labelCharacterStyle4,
00264   labelCharacterStyle5,
00265   labelCharacterStyle6,
00266   labelCharacterStyle7,
00267   labelCharacterStyle8,
00268   labelCharacterStyle9,
00269   language,
00270   layer,
00271   layer_ref,
00272   layers,
00273   layout,
00274   layoutContinuous,
00275   layoutMargins,
00276   layoutParagraphStyle,
00277   layoutstyle,
00278   layoutStyle,
00279   layoutstyle_ref,
00280   leftIndent,
00281   legend_chartInfo_ref,
00282   legend_info_ref,
00283   leveled,
00284   ligatures,
00285   line,
00286   line_end,
00287   linespacing,
00288   lineSpacing,
00289   linespacing_ref,
00290   link,
00291   link_ref,
00292   listLabelGeometries,
00293   list_label_geometry,
00294   list_label_geometry_ref,
00295   listLabelIndents,
00296   list_label_typeinfo,
00297   list_label_typeinfo_ref,
00298   listLabelTypes,
00299   list_level,
00300   listLevels,
00301   liststyle,
00302   listStyle,
00303   liststyle_ref,
00304   listTextIndents,
00305   lnbr,
00306   main_movie,
00307   main_movie_data_description,
00308   main_movie_ref,
00309   masking_shape_path_source,
00310   master_order,
00311   master_ref,
00312   master_slide,
00313   master_slide_ref,
00314   master_slides,
00315   media,
00316   media_ref,
00317   metadata,
00318   minimumHorizontalInset,
00319   model_property_bag,
00320   movie_media,
00321   mutable_array,
00322   mutable_array_ref,
00323   mutable_dictionary,
00324   n,
00325   naturalSize,
00326   notes,
00327   null,
00328   number,
00329   number_format,
00330   number_format_ref,
00331   object_placeholder,
00332   objectPlaceholderVisibility,
00333   opacity,
00334   original_bounds,
00335   other_datas,
00336   outline,
00337   outlineColor,
00338   outlineLevel,
00339   outlineStyleType,
00340   overrides,
00341   p,
00342   padding,
00343   padding_ref,
00344   page,
00345   pageBreakBefore,
00346   pair,
00347   paragraphBorders,
00348   paragraphBorderType,
00349   paragraphFill,
00350   paragraphRuleOffset,
00351   paragraphRuleWidth,
00352   paragraphStroke,
00353   paragraphstyle,
00354   paragraphstyle_ref,
00355   parent_build_ref,
00356   parent_ref,
00357   path,
00358   pattern,
00359   pattern_ref,
00360   pk_dict,
00361   placeholder_size,
00362   placeholder_style,
00363   placeholder_style_ref,
00364   point,
00365   point_path,
00366   position,
00367   poster_image,
00368   presentation,
00369   profile_data,
00370   profile_data_ref,
00371   property_map,
00372   proxy_master_layer,
00373   r,
00374   range_precedents,
00375   rb,
00376   rd,
00377   rect,
00378   reflect,
00379   reflection,
00380   rightIndent,
00381   rn,
00382   rows,
00383   rt,
00384   s,
00385   scalar_path,
00386   self_contained_movie,
00387   Series_0,
00388   Series_1,
00389   Series_2,
00390   Series_3,
00391   Series_4,
00392   Series_5,
00393   set,
00394   set_ref,
00395   SFC2DAntialiasingModeProperty,
00396   SFC2DAreaDataPointFillProperty,
00397   SFC2DAreaDataPointStrokeProperty,
00398   SFC2DAreaDataPointSymbolProperty,
00399   SFC2DAreaFillProperty,
00400   SFC2DAreaShadowProperty,
00401   SFC2DAreaStrokeProperty,
00402   SFC2DAreaUseSeriesFillForDataPointFillProperty,
00403   SFC2DAreaUseStrokeColorForDataPointFillProperty,
00404   SFC2DBarFillProperty,
00405   SFC2DBarShadowProperty,
00406   SFC2DBarStrokeProperty,
00407   SFC2DBottomBorderOpacityProperty,
00408   SFC2DBottomBorderShadowProperty,
00409   SFC2DBottomBorderStrokeProperty,
00410   SFC2DCategoryDirectionGridLineOpacityProperty,
00411   SFC2DCategoryDirectionGridLineShadowProperty,
00412   SFC2DCategoryDirectionGridLineStrokeProperty,
00413   SFC2DCategoryDirectionMinorGridLineIntervalProperty,
00414   SFC2DCategoryDirectionMinorGridLineOpacityProperty,
00415   SFC2DCategoryDirectionMinorGridLineShadowProperty,
00416   SFC2DCategoryDirectionMinorGridLineStrokeProperty,
00417   SFC2DChartBackgroundFillProperty,
00418   SFC2DChartBackgroundOpacityProperty,
00419   SFC2DColumnFillProperty,
00420   SFC2DCombineLayersProperty,
00421   SFC2DLeftBorderOpacityProperty,
00422   SFC2DLeftBorderShadowProperty,
00423   SFC2DLeftBorderStrokeProperty,
00424   SFC2DLineConnectedPointsProperty,
00425   SFC2DLineDataPointFillProperty,
00426   SFC2DLineDataPointStrokeProperty,
00427   SFC2DLineDataPointSymbolProperty,
00428   SFC2DLineShadowProperty,
00429   SFC2DLineStrokeProperty,
00430   SFC2DLineUseSeriesFillForDataPointFillProperty,
00431   SFC2DLineUseStrokeColorForDataPointFillProperty,
00432   SFC2DMixedAreaDataPointFillProperty,
00433   SFC2DMixedAreaDataPointStrokeProperty,
00434   SFC2DMixedAreaDataPointSymbolProperty,
00435   SFC2DMixedAreaFillProperty,
00436   SFC2DMixedAreaShadowProperty,
00437   SFC2DMixedAreaStrokeProperty,
00438   SFC2DMixedAreaUseSeriesFillForDataPointFillProperty,
00439   SFC2DMixedAreaUseStrokeColorForDataPointFillProperty,
00440   SFC2DMixedColumnFillProperty,
00441   SFC2DMixedColumnShadowProperty,
00442   SFC2DMixedColumnStrokeProperty,
00443   SFC2DMixedConnectedPointsProperty,
00444   SFC2DMixedLineDataPointFillProperty,
00445   SFC2DMixedLineDataPointStrokeProperty,
00446   SFC2DMixedLineDataPointSymbolProperty,
00447   SFC2DMixedLineShadowProperty,
00448   SFC2DMixedLineStrokeProperty,
00449   SFC2DMixedLineUseStrokeColorForDataPointFillProperty,
00450   SFC2DOpacityProperty,
00451   SFC2DPieFillProperty,
00452   SFC2DPieShadowProperty,
00453   SFC2DPieStrokeProperty,
00454   SFC2DRightBorderOpacityProperty,
00455   SFC2DRightBorderShadowProperty,
00456   SFC2DRightBorderStrokeProperty,
00457   SFC2DScatterDataPointFillProperty,
00458   SFC2DScatterDataPointStrokeProperty,
00459   SFC2DScatterDataPointSymbolProperty,
00460   SFC2DScatterDataPointSymbolSizeProperty,
00461   SFC2DScatterShadowProperty,
00462   SFC2DScatterStrokeProperty,
00463   SFC2DShowBottomBorderProperty,
00464   SFC2DShowBottomTicksProperty,
00465   SFC2DShowCategoryDirectionGridLinesProperty,
00466   SFC2DShowCategoryDirectionMinorGridLinesProperty,
00467   SFC2DShowLeftBorderProperty,
00468   SFC2DShowLeftTicksProperty,
00469   SFC2DShowRightBorderProperty,
00470   SFC2DShowRightTicksProperty,
00471   SFC2DShowTopBorderProperty,
00472   SFC2DShowTopTicksProperty,
00473   SFC2DShowValueDirectionGridLinesProperty,
00474   SFC2DShowValueDirectionMinorGridLinesProperty,
00475   SFC2DTopBorderOpacityProperty,
00476   SFC2DTopBorderShadowProperty,
00477   SFC2DTopBorderStrokeProperty,
00478   SFC2DValueDirectionGridLineOpacityProperty,
00479   SFC2DValueDirectionGridLineShadowProperty,
00480   SFC2DValueDirectionGridLineStrokeProperty,
00481   SFC2DValueDirectionMinorGridLineIntervalProperty,
00482   SFC2DValueDirectionMinorGridLineOpacityProperty,
00483   SFC2DValueDirectionMinorGridLineShadowProperty,
00484   SFC2DValueDirectionMinorGridLineStrokeProperty,
00485   SFC3DAreaChartScaleProperty,
00486   SFC3DAreaFillProperty,
00487   SFC3DAreaLightingPackageProperty,
00488   SFC3DAreaShadowProperty,
00489   SFC3DBarChartScaleProperty,
00490   SFC3DBarFillProperty,
00491   SFC3DBarLightingPackageProperty,
00492   SFC3DBarShadowProperty,
00493   SFC3DBarShapeProperty,
00494   SFC3DBevelEdgesProperty,
00495   SFC3DCameraTypeProperty,
00496   SFC3DCategoryDirectionGridLineOpacityProperty,
00497   SFC3DCategoryDirectionGridLineStrokeProperty,
00498   SFC3DChartRotationProperty,
00499   SFC3DChartScaleProperty,
00500   SFC3DColumnBevelEdgesProperty,
00501   SFC3DColumnChartScaleProperty,
00502   SFC3DColumnFillProperty,
00503   SFC3DColumnLightingPackageProperty,
00504   SFC3DFloorDepthProperty,
00505   SFC3DFloorEmissiveColorProperty,
00506   SFC3DFloorFillProperty,
00507   SFC3DFloorSpecularColorProperty,
00508   SFC3DInterSetDepthGapProperty,
00509   SFC3DLabelThicknessProperty,
00510   SFC3DLightingPackageProperty,
00511   SFC3DLineChartScaleProperty,
00512   SFC3DLineFillProperty,
00513   SFC3DLineLightingPackageProperty,
00514   SFC3DLineShadowProperty,
00515   SFC3DMaterialPackageProperty,
00516   SFC3DPieBevelEdgesProperty,
00517   SFC3DPieChartScaleProperty,
00518   SFC3DPieFillProperty,
00519   SFC3DPieLightingPackageProperty,
00520   SFC3DPieShadowProperty,
00521   SFC3DReflectionsLevelProperty,
00522   SFC3DSceneBackgroundColorProperty,
00523   SFC3DSceneShowTextureProperty,
00524   SFC3DSceneTextureTilingProperty,
00525   SFC3DSeriesEmissiveColorProperty,
00526   SFC3DSeriesShininessProperty,
00527   SFC3DSeriesSpecularColorProperty,
00528   SFC3DShadowCameraXProperty,
00529   SFC3DShadowCameraYProperty,
00530   SFC3DShadowProperty,
00531   SFC3DShowBackWallProperty,
00532   SFC3DShowFloorProperty,
00533   SFC3DShowReflectionsProperty,
00534   SFC3DTextureProperty,
00535   SFC3DTextureTilingProperty,
00536   SFC3DValueDirectionGridLineOpacityProperty,
00537   SFC3DValueDirectionGridLineStrokeProperty,
00538   SFC3DWallEmissiveColorProperty,
00539   SFC3DWallFillProperty,
00540   SFC3DWallSpecularColorProperty,
00541   SFC3DWallsShininessProperty,
00542   SFCAreaSeriesValueParagraphStyleProperty,
00543   SFCAreaShowValueLabelProperty,
00544   SFCAreaValueLabelPositionProperty,
00545   SFCAxisLabelsOrientationProperty,
00546   SFCBarSeriesValueParagraphStyleProperty,
00547   SFCBarShowValueLabelProperty,
00548   SFCBarValueLabelPositionProperty,
00549   SFCCategoryAxisLabelsDepthProperty,
00550   SFCCategoryAxisLabelsOpacityProperty,
00551   SFCCategoryAxisLabelsOrientationProperty,
00552   SFCCategoryAxisLabelsPositionProperty,
00553   SFCCategoryAxisMajorTickLengthProperty,
00554   SFCCategoryAxisMajorTickStrokeProperty,
00555   SFCCategoryAxisMinorTickLengthProperty,
00556   SFCCategoryAxisMinorTickStrokeProperty,
00557   SFCCategoryAxisParagraphStyleProperty,
00558   SFCCategoryAxisShowMajorTickMarksProperty,
00559   SFCCategoryAxisShowMinorTickMarksProperty,
00560   SFCCategoryAxisTickMarkLocationProperty,
00561   SFCCategoryAxisTitleParagraphStyleProperty,
00562   SFCCategoryAxisTitlePositionProperty,
00563   SFCCategoryHorizontalSpacingProperty,
00564   SFCCategoryVerticalSpacingProperty,
00565   SFCChartTitleParagraphStyleProperty,
00566   SFCChartTitlePositionProperty,
00567   SFCDefaultChartAngleProperty,
00568   SFCDefaultChartBoundsProperty,
00569   SFCDefaultChartTypeProperty,
00570   SFCDefaultLegendAngleProperty,
00571   SFCDefaultLegendBoundsProperty,
00572   SFCDepthProperty,
00573   SFCEmissiveColorProperty,
00574   SFCErrorBarXAxisStrokeProperty,
00575   SFCErrorBarXLineEndProperty,
00576   SFCErrorBarYAxisShadowProperty,
00577   SFCErrorBarYAxisStrokeProperty,
00578   SFCErrorBarYLineEndProperty,
00579   SFCHorizontalAxisLogarithmicProperty,
00580   SFCHorizontalAxisMaximumValueProperty,
00581   SFCHorizontalAxisNumberFormatPrefixProperty,
00582   SFCHorizontalAxisNumberFormatSeparatorProperty,
00583   SFCHorizontalAxisNumberFormatSuffixProperty,
00584   SFCHorizontalAxisNumberOfDecadesProperty,
00585   SFCHorizontalAxisNumberOfStepsProperty,
00586   SFCHorizontalAxisShowMinimumValueProperty,
00587   SFCInitialNumberOfSeriesProperty,
00588   SFCInterBarGapProperty,
00589   SFCInterSetGapProperty,
00590   SFCLabelOpacityProperty,
00591   SFCLabelShadowProperty,
00592   SFCLegendFillProperty,
00593   SFCLegendOpacityProperty,
00594   SFCLegendParagraphStyleProperty,
00595   SFCLegendPositionProperty,
00596   SFCLegendShadowProperty,
00597   SFCLegendStrokeProperty,
00598   SFCLineSeriesValueParagraphStyleProperty,
00599   SFCLineShowValueLabelProperty,
00600   SFCLineValueLabelPositionProperty,
00601   SFCMixedAreaValueLabelPositionProperty,
00602   SFCMixedColumnValueLabelPositionProperty,
00603   SFCMixedLineValueLabelPositionProperty,
00604   SFCMixedSeriesValueParagraphStyleProperty,
00605   SFCMixedShowValueLabelProperty,
00606   SFCNumberOfDefinedSeriesStylesProperty,
00607   SFCPieSeriesStartAngleProperty,
00608   SFCPieSeriesValueParagraphStyleProperty,
00609   SFCPieShowSeriesNameLabelProperty,
00610   SFCPieShowValueLabelProperty,
00611   SFCPieValueLabelPosition2Property,
00612   SFCPieValueLabelPositionProperty,
00613   SFCPieWedgeExplosionProperty,
00614   SFCPieWedgeGroupingsProperty,
00615   SFCSeriesValueLabelDateTimeFormatProperty,
00616   SFCSeriesValueLabelDurationFormatProperty,
00617   SFCSeriesValueLabelFormatTypeProperty,
00618   SFCSeriesValueLabelNumberFormatProperty,
00619   SFCSeriesValueLabelPercentageAxisNumberFormatProperty,
00620   SFCSeriesValueLabelPieFormatTypeProperty,
00621   SFCSeriesValueLabelPieNumberFormatProperty,
00622   SFCShininessProperty,
00623   SFCShowCategoryAxisLabelsProperty,
00624   SFCShowCategoryAxisSeriesLabelsProperty,
00625   SFCShowCategoryAxisTitleProperty,
00626   SFCShowChartTitleProperty,
00627   SFCShowLastCategoryAxisLabelsProperty,
00628   SFCShowPieLabelAsPercentageProperty,
00629   SFCShowValueAxisTitleProperty,
00630   SFCShowValueY2AxisTitleProperty,
00631   SFCSpecularColorProperty,
00632   SFCStackedAreaValueLabelPositionProperty,
00633   SFCStackedBarValueLabelPositionProperty,
00634   SFCTrendlineEquationOpacityProperty,
00635   SFCTrendlineEquationParagraphStyleProperty,
00636   SFCTrendlineRSquaredOpacityProperty,
00637   SFCTrendlineRSquaredParagraphStyleProperty,
00638   SFCTrendLineShadowProperty,
00639   SFCTrendLineStrokeProperty,
00640   SFCValueAxisDateTimeFormatProperty,
00641   SFCValueAxisDurationFormatProperty,
00642   SFCValueAxisFormatTypeProperty,
00643   SFCValueAxisHorizontalDateTimeFormatProperty,
00644   SFCValueAxisHorizontalDurationFormatProperty,
00645   SFCValueAxisHorizontalFormatTypeProperty,
00646   SFCValueAxisHorizontalNumberFormatProperty,
00647   SFCValueAxisLabelsDepthProperty,
00648   SFCValueAxisLabelsOpacityProperty,
00649   SFCValueAxisLabelsOrientationProperty,
00650   SFCValueAxisLabelsPositionProperty,
00651   SFCValueAxisLogarithmicProperty,
00652   SFCValueAxisMajorTickLengthProperty,
00653   SFCValueAxisMajorTickStrokeProperty,
00654   SFCValueAxisMaximumValueProperty,
00655   SFCValueAxisMinimumValueProperty,
00656   SFCValueAxisMinorTickLengthProperty,
00657   SFCValueAxisMinorTickStrokeProperty,
00658   SFCValueAxisNumberFormatProperty,
00659   SFCValueAxisNumberOfDecadesProperty,
00660   SFCValueAxisNumberOfStepsProperty,
00661   SFCValueAxisParagraphStyleProperty,
00662   SFCValueAxisPercentageProperty,
00663   SFCValueAxisPropertyNumberFormatDecimalPlaces,
00664   SFCValueAxisShowMajorTickMarksProperty,
00665   SFCValueAxisShowMinimumValueProperty,
00666   SFCValueAxisShowMinorTickMarksProperty,
00667   SFCValueAxisTickMarkLocationProperty,
00668   SFCValueAxisTitleParagraphStyleProperty,
00669   SFCValueAxisTitlePositionPropertya,
00670   SFCValueAxisY2DateTimeFormatProperty,
00671   SFCValueAxisY2DurationFormatProperty,
00672   SFCValueAxisY2FormatTypeProperty,
00673   SFCValueAxisY2NumberFormatProperty,
00674   SFCValueAxisY2ParagraphStyleProperty,
00675   SFCValueAxisY2TitleParagraphStyleProperty,
00676   SFCValueNumberFormatDecimalPlacesProperty,
00677   SFCValueNumberFormatPrefixProperty,
00678   SFCValueNumberFormatSeparatorProperty,
00679   SFCValueNumberFormatSuffixProperty,
00680   SFCValueY2AxisLabelsDepthProperty,
00681   SFCValueY2AxisLabelsOpacityProperty,
00682   SFCValueY2AxisLabelsOrientationProperty,
00683   SFCValueY2AxisLabelsPositionProperty,
00684   SFCValueY2AxisLogarithmicProperty,
00685   SFCValueY2AxisMajorTickLengthProperty,
00686   SFCValueY2AxisMajorTickStrokeProperty,
00687   SFCValueY2AxisMinorTickLengthProperty,
00688   SFCValueY2AxisMinorTickStrokeProperty,
00689   SFCValueY2AxisNumberOfDecadesProperty,
00690   SFCValueY2AxisNumberOfStepsProperty,
00691   SFCValueY2AxisPercentageProperty,
00692   SFCValueY2AxisShowMajorTickMarksProperty,
00693   SFCValueY2AxisShowMinimumValueProperty,
00694   SFCValueY2AxisShowMinorTickMarksProperty,
00695   SFCValueY2AxisTickMarkLocationProperty,
00696   SFRReflection,
00697   SFTableCellStylePropertyFill,
00698   SFTableCellStylePropertyType,
00699   SFTableStylePropertyBackgroundFill,
00700   SFTableStylePropertyBorderVectorStyle,
00701   SFTableStylePropertyCellLayoutStyle,
00702   SFTableStylePropertyCellParagraphStyle,
00703   SFTableStylePropertyCellStyle,
00704   SFTableStylePropertyHeaderBorderVectorStyle,
00705   SFTableStylePropertyHeaderColumnCellLayoutStyle,
00706   SFTableStylePropertyHeaderColumnCellParagraphStyle,
00707   SFTableStylePropertyHeaderColumnCellStyle,
00708   SFTableStylePropertyHeaderRowCellLayoutStyle,
00709   SFTableStylePropertyHeaderRowCellParagraphStyle,
00710   SFTableStylePropertyHeaderRowCellStyle,
00711   SFTableStylePropertyHeaderSeperatorVectorStyle,
00712   SFTableStylePropertyHeaderVectorStyle,
00713   SFTableStylePropertyPrototypeColumnCount,
00714   SFTableStylePropertyPrototypeGeometry,
00715   SFTableStylePropertyPrototypeIsHeaderColumn,
00716   SFTableStylePropertyPrototypeIsHeaderRow,
00717   SFTableStylePropertyPrototypeIsResize,
00718   SFTableStylePropertyPrototypeRowCount,
00719   SFTableStylePropertyVectorStyle,
00720   SFTAutoResizeProperty,
00721   SFTBackgroundProperty,
00722   SFTCellStylePropertyDateTimeFormat,
00723   SFTCellStylePropertyDurationFormat,
00724   SFTCellStylePropertyFormatType,
00725   SFTCellStylePropertyImplicitFormatType,
00726   SFTCellStylePropertyLayoutStyle,
00727   SFTCellStylePropertyNumberFormat,
00728   SFTCellStylePropertyParagraphStyle,
00729   SFTCellTextWrapProperty,
00730   SFTDefaultBodyCellStyleProperty,
00731   SFTDefaultBodyVectorStyleProperty,
00732   SFTDefaultBorderVectorStyleProperty,
00733   SFTDefaultColumnCountProperty,
00734   SFTDefaultFooterBodyVectorStyleProperty,
00735   SFTDefaultFooterBorderVectorStyleProperty,
00736   SFTDefaultFooterRowCellStyleProperty,
00737   SFTDefaultFooterRowCountProperty,
00738   SFTDefaultFooterSeparatorVectorStyleProperty,
00739   SFTDefaultGeometryProperty,
00740   SFTDefaultGroupingLevel0VectorStyleProperty,
00741   SFTDefaultGroupingLevel1VectorStyleProperty,
00742   SFTDefaultGroupingLevel2VectorStyleProperty,
00743   SFTDefaultGroupingLevel3VectorStyleProperty,
00744   SFTDefaultGroupingLevel4VectorStyleProperty,
00745   SFTDefaultGroupingRow0CellStyleProperty,
00746   SFTDefaultGroupingRow1CellStyleProperty,
00747   SFTDefaultGroupingRow2CellStyleProperty,
00748   SFTDefaultGroupingRow3CellStyleProperty,
00749   SFTDefaultGroupingRow4CellStyleProperty,
00750   SFTDefaultHeaderBodyVectorStyleProperty,
00751   SFTDefaultHeaderBorderVectorStyleProperty,
00752   SFTDefaultHeaderColumnCellStyleProperty,
00753   SFTDefaultHeaderColumnCountProperty,
00754   SFTDefaultHeaderRowCellStyleProperty,
00755   SFTDefaultHeaderRowCountProperty,
00756   SFTDefaultHeaderSeparatorVectorStyleProperty,
00757   SFTDefaultRowCountProperty,
00758   SFTDefaultTableNameIsDisplayedProperty,
00759   SFTGroupingRowFillProperty,
00760   SFTHeaderColumnRepeatsProperty,
00761   SFTHeaderRowRepeatsProperty,
00762   SFTStrokeProperty,
00763   SFTTableBandedCellFillProperty,
00764   SFTTableBandedRowsProperty,
00765   SFTTableBehaviorProperty,
00766   shadow,
00767   shadow_ref,
00768   shape,
00769   shape_ref,
00770   showInTOC,
00771   shrinkTextToFit,
00772   size,
00773   slide,
00774   slide_list,
00775   slide_number_placeholder,
00776   slide_number_placeholder_ref,
00777   slideNumberPlaceholderVisibility,
00778   slide_ref,
00779   slide_style,
00780   so,
00781   sort,
00782   sort_spec,
00783   soundtrack_list,
00784   spaceAfter,
00785   spaceBefore,
00786   span,
00787   sticky_note,
00788   sticky_notes,
00789   stops,
00790   strikethru,
00791   strikethruColor,
00792   strikethruWidth,
00793   string,
00794   stroke,
00795   stroke_ref,
00796   style,
00797   style_ref,
00798   style_run,
00799   styles,
00800   stylesheet,
00801   stylesheet_ref,
00802   superscript,
00803   t,
00804   tab,
00805   table_cell,
00806   tableCellArrayCellsByColumn,
00807   tableCellArrayCellsByRow,
00808   tableCellContent,
00809   tableCellMaxXSide_ref,
00810   tableCellMaxYSide_ref,
00811   tableCellMinXSide_ref,
00812   tableCellMinYSide_ref,
00813   table_cell_ref,
00814   table_cell_style,
00815   TableCellStylePropertyFormatDecimals,
00816   TableCellStylePropertyFormatEnabled,
00817   TableCellStylePropertyFormatNegativeStyle,
00818   TableCellStylePropertyFormatPrefix,
00819   TableCellStylePropertyFormatSuffix,
00820   TableCellStylePropertyFormatThousandsSeparator,
00821   table_cell_style_ref,
00822   tableCellStyle_ref,
00823   tableCellValue,
00824   table_info,
00825   tableInfoTable,
00826   tableModelCells,
00827   tableModelPartitionSource,
00828   tableModelStyle_ref,
00829   tableModelTableID,
00830   tableModelVectors,
00831   table_style,
00832   table_style_ref,
00833   table_vector,
00834   tableVectorArrayColumnVectors,
00835   tableVectorArrayRowVectors,
00836   table_vector_style,
00837   table_vector_style_ref,
00838   tableVectorStyle_ref,
00839   TableVectorStyleStrokeProperty,
00840   TableVectorStyleTypeProperty,
00841   tabs,
00842   tabs_ref,
00843   tabstop,
00844   tabular_info,
00845   tabular_info_ref,
00846   tabular_model,
00847   tabular_model_ref,
00848   tabular_style,
00849   tabular_style_ref,
00850   tail,
00851   tailLineEnd,
00852   tailOffset,
00853   target_bounds,
00854   text,
00855   textBackground,
00856   text_body,
00857   textBorders,
00858   text_cell,
00859   text_label,
00860   text_label_ref,
00861   textShadow,
00862   text_storage,
00863   textured_fill,
00864   textured_fill_ref,
00865   texture_fill,
00866   theme,
00867   theme_list,
00868   thumbnails,
00869   title,
00870   title_placeholder,
00871   title_placeholder_ref,
00872   titlePlaceholderVisibility,
00873   tocStyle,
00874   to_ref,
00875   traced_path,
00876   tracking,
00877   transition,
00878   transition_attributes,
00879   transition_attributes_ref,
00880   type,
00881   ui_state,
00882   underline,
00883   underlineColor,
00884   underlineWidth,
00885   unfiltered,
00886   unfiltered_ref,
00887   value,
00888   value_ref,
00889   vector3d,
00890   vector_style,
00891   vector_style_ref,
00892   version_history,
00893   verticalAlignment,
00894   vertical_gridline_styles,
00895   verticalText,
00896   widowControl,
00897   with_ref,
00898   word_strikethrough,
00899   word_underline,
00900   wrap,
00901 
00902   // attributes
00903   a,
00904   align,
00905   all_images_bundled,
00906   alpha_threshold,
00907   amt,
00908   angle,
00909   array_size,
00910   aspectRatioLocked,
00911   asset_scale,
00912   attachment_wrap_type,
00913   auto_defers_to_parent,
00914   automatic,
00915   b,
00916   bottom,
00917   c,
00918   can_autosize_h,
00919   can_autosize_v,
00920   cap,
00921   cell_date,
00922   cell_style_default_line_height,
00923   chart_data_modified,
00924   chart_direction,
00925   chart_perspectivemultiplier,
00926   chart_type,
00927   checksum,
00928   chunking,
00929   class_,
00930   col,
00931   collapsed,
00932   col_span,
00933   compatible_version,
00934   component,
00935   copyonwrite,
00936   cornerRadius,
00937   corrupt,
00938   count,
00939   custom,
00940   decimal_tab,
00941   delay,
00942   delay_archiving,
00943   depth,
00944   disabled,
00945   displayname,
00946   duration,
00947   enabled,
00948   end_time,
00949   equal_columns,
00950   excl,
00951   exclude_attachments,
00952   exclude_charts,
00953   exclude_shapes,
00954   exclude_tables,
00955   filled,
00956   filterClassName,
00957   filter_col,
00958   first,
00959   fitting_height,
00960   fitting_width,
00961   flags,
00962   floating_wrap_enabled,
00963   floating_wrap_type,
00964   fmt,
00965   format,
00966   format_base,
00967   format_base_use_minus_sign,
00968   format_currency_code,
00969   format_decimal_places,
00970   format_fraction_accuracy,
00971   format_name,
00972   format_negative_style,
00973   format_show_thousands_separator,
00974   format_string,
00975   format_type,
00976   format_use_accounting_style,
00977   fraction,
00978   fs,
00979   gridline_index,
00980   grouping_enabled,
00981   group_uuid,
00982   h,
00983   hash,
00984   hc,
00985   header_columns_frozen,
00986   header_rows_frozen,
00987   height,
00988   hfs_type,
00989   hiddennumcols,
00990   hiddennumrows,
00991   ho,
00992   horizontalFlip,
00993   href,
00994   ht,
00995   id,
00996   ID,
00997   ident,
00998   identifier,
00999   IDREF,
01000   implicit_format_type,
01001   index,
01002   inflection,
01003   inheritance,
01004   is_leveled,
01005   is_null,
01006   join,
01007   k,
01008   key1,
01009   keyscale,
01010   kind,
01011   kiosk_build_delay,
01012   kiosk_slide_delay,
01013   label_pos,
01014   left,
01015   length,
01016   locked,
01017   looping,
01018   m,
01019   manually_sized,
01020   margin,
01021   miter_limit,
01022   mode,
01023   muted,
01024   name,
01025   name_is_visible,
01026   nc,
01027   ncc,
01028   ncoc,
01029   non_empty,
01030   nsc,
01031   numcols,
01032   num_footer_rows,
01033   num_header_columns,
01034   num_header_rows,
01035   numrows,
01036   ocnt,
01037   offset,
01038   orientation,
01039   orientation_ignored,
01040   override_autosize,
01041   override_geometry_mask,
01042   override_media,
01043   override_text,
01044   parent_ident,
01045   partitionSourceBodyFrame,
01046   partitionSourceBottomMarginExtendsIn,
01047   partitionSourceBottomMarginExtendsOut,
01048   partitionSourceBottomMarginFrame,
01049   partitionSourceBounds,
01050   partitionSourceLeftMarginFrame,
01051   partitionSourceRightMarginFrame,
01052   partitionSourceShinkToFitWidth,
01053   partitionSourceTopMarginExtendsIn,
01054   partitionSourceTopMarginExtendsOut,
01055   partitionSourceTopMarginFrame,
01056   phase,
01057   placeholder,
01058   play_mode,
01059   pos,
01060   poster,
01061   predicate,
01062   preferred_height,
01063   preferred_width,
01064   radius,
01065   referent,
01066   referent_defers_to_parent,
01067   resource_type,
01068   right,
01069   row,
01070   row_span,
01071   scalar,
01072   scale,
01073   scale_with_text,
01074   seriesIndex,
01075   sfclass,
01076   sharable,
01077   shearXAngle,
01078   shearYAngle,
01079   sizesLocked,
01080   sort_col,
01081   sort_order,
01082   spacing,
01083   spec_count,
01084   start_index,
01085   start_time,
01086   sticky_visibility,
01087   stop_index,
01088   tableCellPreferredHeight,
01089   tableIsForPasteboardOnly,
01090   tableModelIsHeaderColumn,
01091   tableModelIsHeaderRow,
01092   tableModelResize,
01093   tableVectorAlong,
01094   tableVectorAxis,
01095   tableVectorBegin,
01096   tableVectorEnd,
01097   tabuar_style_name_internal,
01098   tabular_style_name_internal,
01099   tag,
01100   tailAtCenter,
01101   tailPositionX,
01102   tailPositionY,
01103   tailSize,
01104   technique,
01105   tempScale,
01106   text_pos,
01107   top,
01108   traced_threshold,
01109   tscale,
01110   v,
01111   val,
01112   version,
01113   verticalFlip,
01114   vo,
01115   volume,
01116   w,
01117   width,
01118   wrap_style,
01119   x,
01120   y,
01121   z,
01122 
01123   // attribute values
01124   COMPATIBLE_VERSION_STR_3,
01125   VERSION_STR_2,
01126   VERSION_STR_3,
01127   VERSION_STR_4,
01128   VERSION_STR_5,
01129   _0,
01130   _1,
01131   double_,
01132   false_,
01133   i,
01134   star,
01135   true_,
01136 
01137   LAST_TOKEN = true_
01138 };
01139 
01140 // namespaces
01141 enum
01142 {
01143   TOKEN_RANGE = 2 << (detail::log<LAST_TOKEN + 1>::value + 1),
01144   NS_NONE = TOKEN_RANGE,
01145   NS_URI_KEY = NS_NONE + TOKEN_RANGE,
01146   NS_URI_SF = NS_URI_KEY + TOKEN_RANGE,
01147   NS_URI_SFA = NS_URI_SF + TOKEN_RANGE,
01148   NS_URI_XSI = NS_URI_SFA + TOKEN_RANGE
01149 };
01150 
01151 }
01152 
01153 struct KEY2Tokenizer
01154 {
01155   int operator()(const char *str) const;
01156 };
01157 
01158 }
01159 
01160 #endif // KEY2TOKEN_H_INCLUDED
01161 
01162 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */