Home | History | Annotate | Download | only in pdfapi
      1 /*
      2  * Copyright 2013 Google Inc.
      3 
      4  * Use of this source code is governed by a BSD-style license that can be
      5  * found in the LICENSE file.
      6  */
      7 
      8 #ifndef SkPdfEnums_DEFINED
      9 #define SkPdfEnums_DEFINED
     10 
     11 enum SkPdfNativeObjectType {
     12   kNone_SkPdfNativeObjectType = 0,
     13   kDictionary_SkPdfNativeObjectType,
     14   kALinkAnnotationDictionary_SkPdfNativeObjectType,
     15   kActionDictionary_SkPdfNativeObjectType,
     16   kAlternateImageDictionary_SkPdfNativeObjectType,
     17   kAnnotationActionsDictionary_SkPdfNativeObjectType,
     18   kAnnotationDictionary_SkPdfNativeObjectType,
     19   kAppearanceCharacteristicsDictionary_SkPdfNativeObjectType,
     20   kAppearanceDictionary_SkPdfNativeObjectType,
     21   kApplicationDataDictionary_SkPdfNativeObjectType,
     22   kArtifactsDictionary_SkPdfNativeObjectType,
     23   kAttributeObjectDictionary_SkPdfNativeObjectType,
     24   kBeadDictionary_SkPdfNativeObjectType,
     25   kBlockLevelStructureElementsDictionary_SkPdfNativeObjectType,
     26   kBorderStyleDictionary_SkPdfNativeObjectType,
     27   kBoxColorInformationDictionary_SkPdfNativeObjectType,
     28   kBoxStyleDictionary_SkPdfNativeObjectType,
     29   kCIDFontDescriptorDictionary_SkPdfNativeObjectType,
     30   kCIDFontDictionary_SkPdfNativeObjectType,
     31   kCIDSystemInfoDictionary_SkPdfNativeObjectType,
     32   kCMapDictionary_SkPdfNativeObjectType,
     33   kCalgrayColorSpaceDictionary_SkPdfNativeObjectType,
     34   kCalrgbColorSpaceDictionary_SkPdfNativeObjectType,
     35   kCatalogDictionary_SkPdfNativeObjectType,
     36   kCcittfaxdecodeFilterDictionary_SkPdfNativeObjectType,
     37   kCheckboxFieldDictionary_SkPdfNativeObjectType,
     38   kChoiceFieldDictionary_SkPdfNativeObjectType,
     39   kComponentsWithMetadataDictionary_SkPdfNativeObjectType,
     40   kDctdecodeFilterDictionary_SkPdfNativeObjectType,
     41   kDeviceNColorSpaceDictionary_SkPdfNativeObjectType,
     42   kDocumentCatalogActionsDictionary_SkPdfNativeObjectType,
     43   kDocumentInformationDictionary_SkPdfNativeObjectType,
     44   kEmbeddedFileParameterDictionary_SkPdfNativeObjectType,
     45   kEmbeddedFileStreamDictionary_SkPdfNativeObjectType,
     46   kEmbeddedFontStreamDictionary_SkPdfNativeObjectType,
     47   kEncodingDictionary_SkPdfNativeObjectType,
     48   kEncryptedEmbeddedFileStreamDictionary_SkPdfNativeObjectType,
     49   kEncryptionCommonDictionary_SkPdfNativeObjectType,
     50   kFDFCatalogDictionary_SkPdfNativeObjectType,
     51   kFDFDictionary_SkPdfNativeObjectType,
     52   kFDFFieldDictionary_SkPdfNativeObjectType,
     53   kFDFFileAnnotationDictionary_SkPdfNativeObjectType,
     54   kFDFNamedPageReferenceDictionary_SkPdfNativeObjectType,
     55   kFDFPageDictionary_SkPdfNativeObjectType,
     56   kFDFTemplateDictionary_SkPdfNativeObjectType,
     57   kFDFTrailerDictionary_SkPdfNativeObjectType,
     58   kFieldDictionary_SkPdfNativeObjectType,
     59   kFileAttachmentAnnotationDictionary_SkPdfNativeObjectType,
     60   kFileSpecificationDictionary_SkPdfNativeObjectType,
     61   kFileTrailerDictionary_SkPdfNativeObjectType,
     62   kFontDescriptorDictionary_SkPdfNativeObjectType,
     63   kFontDictionary_SkPdfNativeObjectType,
     64   kType0FontDictionary_SkPdfNativeObjectType,
     65   kType1FontDictionary_SkPdfNativeObjectType,
     66   kMultiMasterFontDictionary_SkPdfNativeObjectType,
     67   kTrueTypeFontDictionary_SkPdfNativeObjectType,
     68   kType3FontDictionary_SkPdfNativeObjectType,
     69   kType1FontDictionary__End_SkPdfNativeObjectType,
     70   kFontDictionary__End_SkPdfNativeObjectType,
     71   kFormFieldActionsDictionary_SkPdfNativeObjectType,
     72   kFreeTextAnnotationDictionary_SkPdfNativeObjectType,
     73   kFunctionCommonDictionary_SkPdfNativeObjectType,
     74   kGoToActionDictionary_SkPdfNativeObjectType,
     75   kGraphicsStateDictionary_SkPdfNativeObjectType,
     76   kGroupAttributesDictionary_SkPdfNativeObjectType,
     77   kHideActionDictionary_SkPdfNativeObjectType,
     78   kIccProfileStreamDictionary_SkPdfNativeObjectType,
     79   kIconFitDictionary_SkPdfNativeObjectType,
     80   kImportDataActionDictionary_SkPdfNativeObjectType,
     81   kInkAnnotationDictionary_SkPdfNativeObjectType,
     82   kInlineLevelStructureElementsDictionary_SkPdfNativeObjectType,
     83   kInteractiveFormDictionary_SkPdfNativeObjectType,
     84   kJavascriptActionDictionary_SkPdfNativeObjectType,
     85   kJavascriptDictionary_SkPdfNativeObjectType,
     86   kJbig2DecodeFilterDictionary_SkPdfNativeObjectType,
     87   kLabColorSpaceDictionary_SkPdfNativeObjectType,
     88   kLaunchActionDictionary_SkPdfNativeObjectType,
     89   kLineAnnotationDictionary_SkPdfNativeObjectType,
     90   kListAttributeDictionary_SkPdfNativeObjectType,
     91   kLzwdecodeAndFlatedecodeFiltersDictionary_SkPdfNativeObjectType,
     92   kMacOsFileInformationDictionary_SkPdfNativeObjectType,
     93   kMarkInformationDictionary_SkPdfNativeObjectType,
     94   kMarkedContentReferenceDictionary_SkPdfNativeObjectType,
     95   kMarkupAnnotationsDictionary_SkPdfNativeObjectType,
     96   kMetadataStreamDictionary_SkPdfNativeObjectType,
     97   kMovieActionDictionary_SkPdfNativeObjectType,
     98   kMovieActivationDictionary_SkPdfNativeObjectType,
     99   kMovieAnnotationDictionary_SkPdfNativeObjectType,
    100   kMovieDictionary_SkPdfNativeObjectType,
    101   kNameDictionary_SkPdfNativeObjectType,
    102   kNameTreeNodeDictionary_SkPdfNativeObjectType,
    103   kNamedActionsDictionary_SkPdfNativeObjectType,
    104   kNumberTreeNodeDictionary_SkPdfNativeObjectType,
    105   kObjectReferenceDictionary_SkPdfNativeObjectType,
    106   kOpiVersionDictionary_SkPdfNativeObjectType,
    107   kOutlineDictionary_SkPdfNativeObjectType,
    108   kOutlineItemDictionary_SkPdfNativeObjectType,
    109   kPDF_XOutputIntentDictionary_SkPdfNativeObjectType,
    110   kPSXobjectDictionary_SkPdfNativeObjectType,
    111   kPageLabelDictionary_SkPdfNativeObjectType,
    112   kPageObjectActionsDictionary_SkPdfNativeObjectType,
    113   kPageObjectDictionary_SkPdfNativeObjectType,
    114   kPagePieceDictionary_SkPdfNativeObjectType,
    115   kPageTreeNodeDictionary_SkPdfNativeObjectType,
    116   kPopUpAnnotationDictionary_SkPdfNativeObjectType,
    117   kPrinterMarkAnnotationDictionary_SkPdfNativeObjectType,
    118   kPrinterMarkFormDictionary_SkPdfNativeObjectType,
    119   kRadioButtonFieldDictionary_SkPdfNativeObjectType,
    120   kReferenceDictionary_SkPdfNativeObjectType,
    121   kRemoteGoToActionDictionary_SkPdfNativeObjectType,
    122   kResetFormActionDictionary_SkPdfNativeObjectType,
    123   kResourceDictionary_SkPdfNativeObjectType,
    124   kRubberStampAnnotationDictionary_SkPdfNativeObjectType,
    125   kSeparationDictionary_SkPdfNativeObjectType,
    126   kShadingDictionary_SkPdfNativeObjectType,
    127   kType1ShadingDictionary_SkPdfNativeObjectType,
    128   kType2ShadingDictionary_SkPdfNativeObjectType,
    129   kType3ShadingDictionary_SkPdfNativeObjectType,
    130   kType4ShadingDictionary_SkPdfNativeObjectType,
    131   kType5ShadingDictionary_SkPdfNativeObjectType,
    132   kType6ShadingDictionary_SkPdfNativeObjectType,
    133   kShadingDictionary__End_SkPdfNativeObjectType,
    134   kSignatureDictionary_SkPdfNativeObjectType,
    135   kSoftMaskDictionary_SkPdfNativeObjectType,
    136   kSoundActionDictionary_SkPdfNativeObjectType,
    137   kSoundAnnotationDictionary_SkPdfNativeObjectType,
    138   kSoundObjectDictionary_SkPdfNativeObjectType,
    139   kSourceInformationDictionary_SkPdfNativeObjectType,
    140   kSquareOrCircleAnnotation_SkPdfNativeObjectType,
    141   kStandardSecurityHandlerDictionary_SkPdfNativeObjectType,
    142   kStandardStructureDictionary_SkPdfNativeObjectType,
    143   kStreamCommonDictionary_SkPdfNativeObjectType,
    144   kStructureElementAccessDictionary_SkPdfNativeObjectType,
    145   kStructureElementDictionary_SkPdfNativeObjectType,
    146   kStructureTreeRootDictionary_SkPdfNativeObjectType,
    147   kSubmitFormActionDictionary_SkPdfNativeObjectType,
    148   kTableAttributesDictionary_SkPdfNativeObjectType,
    149   kTextAnnotationDictionary_SkPdfNativeObjectType,
    150   kTextFieldDictionary_SkPdfNativeObjectType,
    151   kThreadActionDictionary_SkPdfNativeObjectType,
    152   kThreadDictionary_SkPdfNativeObjectType,
    153   kTransitionDictionary_SkPdfNativeObjectType,
    154   kTransparencyGroupDictionary_SkPdfNativeObjectType,
    155   kTrapNetworkAnnotationDictionary_SkPdfNativeObjectType,
    156   kTrapNetworkAppearanceStreamDictionary_SkPdfNativeObjectType,
    157   kType0FunctionDictionary_SkPdfNativeObjectType,
    158   kType10HalftoneDictionary_SkPdfNativeObjectType,
    159   kType16HalftoneDictionary_SkPdfNativeObjectType,
    160   kType1HalftoneDictionary_SkPdfNativeObjectType,
    161   kType1PatternDictionary_SkPdfNativeObjectType,
    162   kType2FunctionDictionary_SkPdfNativeObjectType,
    163   kType2PatternDictionary_SkPdfNativeObjectType,
    164   kType3FunctionDictionary_SkPdfNativeObjectType,
    165   kType5HalftoneDictionary_SkPdfNativeObjectType,
    166   kType6HalftoneDictionary_SkPdfNativeObjectType,
    167   kURIActionDictionary_SkPdfNativeObjectType,
    168   kURIDictionary_SkPdfNativeObjectType,
    169   kURLAliasDictionary_SkPdfNativeObjectType,
    170   kVariableTextFieldDictionary_SkPdfNativeObjectType,
    171   kViewerPreferencesDictionary_SkPdfNativeObjectType,
    172   kWebCaptureCommandDictionary_SkPdfNativeObjectType,
    173   kWebCaptureCommandSettingsDictionary_SkPdfNativeObjectType,
    174   kWebCaptureDictionary_SkPdfNativeObjectType,
    175   kWebCaptureImageSetDictionary_SkPdfNativeObjectType,
    176   kWebCaptureInformationDictionary_SkPdfNativeObjectType,
    177   kWebCapturePageSetDictionary_SkPdfNativeObjectType,
    178   kWidgetAnnotationDictionary_SkPdfNativeObjectType,
    179   kWindowsLaunchActionDictionary_SkPdfNativeObjectType,
    180   kXObjectDictionary_SkPdfNativeObjectType,
    181   kImageDictionary_SkPdfNativeObjectType,
    182   kSoftMaskImageDictionary_SkPdfNativeObjectType,
    183   kImageDictionary__End_SkPdfNativeObjectType,
    184   kType1FormDictionary_SkPdfNativeObjectType,
    185   kXObjectDictionary__End_SkPdfNativeObjectType,
    186   kDictionary__End_SkPdfNativeObjectType,
    187 };
    188 
    189 class SkPdfDictionary;
    190 class SkPdfXObjectDictionary;
    191 class SkPdfFontDictionary;
    192 class SkPdfTrueTypeFontDictionary;
    193 class SkPdfStreamCommonDictionary;
    194 class SkPdfLzwdecodeAndFlatedecodeFiltersDictionary;
    195 class SkPdfCcittfaxdecodeFilterDictionary;
    196 class SkPdfJbig2DecodeFilterDictionary;
    197 class SkPdfDctdecodeFilterDictionary;
    198 class SkPdfFileTrailerDictionary;
    199 class SkPdfEncryptionCommonDictionary;
    200 class SkPdfStandardSecurityHandlerDictionary;
    201 class SkPdfCatalogDictionary;
    202 class SkPdfPageTreeNodeDictionary;
    203 class SkPdfPageObjectDictionary;
    204 class SkPdfNameDictionary;
    205 class SkPdfResourceDictionary;
    206 class SkPdfNameTreeNodeDictionary;
    207 class SkPdfNumberTreeNodeDictionary;
    208 class SkPdfFunctionCommonDictionary;
    209 class SkPdfType0FunctionDictionary;
    210 class SkPdfType2FunctionDictionary;
    211 class SkPdfType3FunctionDictionary;
    212 class SkPdfFileSpecificationDictionary;
    213 class SkPdfEmbeddedFileStreamDictionary;
    214 class SkPdfEmbeddedFileParameterDictionary;
    215 class SkPdfMacOsFileInformationDictionary;
    216 class SkPdfGraphicsStateDictionary;
    217 class SkPdfCalgrayColorSpaceDictionary;
    218 class SkPdfCalrgbColorSpaceDictionary;
    219 class SkPdfLabColorSpaceDictionary;
    220 class SkPdfIccProfileStreamDictionary;
    221 class SkPdfDeviceNColorSpaceDictionary;
    222 class SkPdfType1PatternDictionary;
    223 class SkPdfType2PatternDictionary;
    224 class SkPdfShadingDictionary;
    225 class SkPdfType1ShadingDictionary;
    226 class SkPdfType2ShadingDictionary;
    227 class SkPdfType3ShadingDictionary;
    228 class SkPdfType4ShadingDictionary;
    229 class SkPdfType5ShadingDictionary;
    230 class SkPdfType6ShadingDictionary;
    231 class SkPdfImageDictionary;
    232 class SkPdfAlternateImageDictionary;
    233 class SkPdfType1FormDictionary;
    234 class SkPdfGroupAttributesDictionary;
    235 class SkPdfReferenceDictionary;
    236 class SkPdfPSXobjectDictionary;
    237 class SkPdfType1FontDictionary;
    238 class SkPdfType3FontDictionary;
    239 class SkPdfEncodingDictionary;
    240 class SkPdfCIDSystemInfoDictionary;
    241 class SkPdfCIDFontDictionary;
    242 class SkPdfCMapDictionary;
    243 class SkPdfType0FontDictionary;
    244 class SkPdfFontDescriptorDictionary;
    245 class SkPdfCIDFontDescriptorDictionary;
    246 class SkPdfEmbeddedFontStreamDictionary;
    247 class SkPdfType1HalftoneDictionary;
    248 class SkPdfType6HalftoneDictionary;
    249 class SkPdfType10HalftoneDictionary;
    250 class SkPdfType16HalftoneDictionary;
    251 class SkPdfType5HalftoneDictionary;
    252 class SkPdfSoftMaskDictionary;
    253 class SkPdfSoftMaskImageDictionary;
    254 class SkPdfTransparencyGroupDictionary;
    255 class SkPdfViewerPreferencesDictionary;
    256 class SkPdfOutlineDictionary;
    257 class SkPdfOutlineItemDictionary;
    258 class SkPdfPageLabelDictionary;
    259 class SkPdfThreadDictionary;
    260 class SkPdfBeadDictionary;
    261 class SkPdfTransitionDictionary;
    262 class SkPdfAnnotationDictionary;
    263 class SkPdfBorderStyleDictionary;
    264 class SkPdfAppearanceDictionary;
    265 class SkPdfTextAnnotationDictionary;
    266 class SkPdfALinkAnnotationDictionary;
    267 class SkPdfFreeTextAnnotationDictionary;
    268 class SkPdfLineAnnotationDictionary;
    269 class SkPdfSquareOrCircleAnnotation;
    270 class SkPdfMarkupAnnotationsDictionary;
    271 class SkPdfRubberStampAnnotationDictionary;
    272 class SkPdfInkAnnotationDictionary;
    273 class SkPdfPopUpAnnotationDictionary;
    274 class SkPdfFileAttachmentAnnotationDictionary;
    275 class SkPdfSoundAnnotationDictionary;
    276 class SkPdfMovieAnnotationDictionary;
    277 class SkPdfWidgetAnnotationDictionary;
    278 class SkPdfActionDictionary;
    279 class SkPdfAnnotationActionsDictionary;
    280 class SkPdfPageObjectActionsDictionary;
    281 class SkPdfFormFieldActionsDictionary;
    282 class SkPdfDocumentCatalogActionsDictionary;
    283 class SkPdfGoToActionDictionary;
    284 class SkPdfRemoteGoToActionDictionary;
    285 class SkPdfLaunchActionDictionary;
    286 class SkPdfWindowsLaunchActionDictionary;
    287 class SkPdfThreadActionDictionary;
    288 class SkPdfURIActionDictionary;
    289 class SkPdfURIDictionary;
    290 class SkPdfSoundActionDictionary;
    291 class SkPdfMovieActionDictionary;
    292 class SkPdfHideActionDictionary;
    293 class SkPdfNamedActionsDictionary;
    294 class SkPdfInteractiveFormDictionary;
    295 class SkPdfFieldDictionary;
    296 class SkPdfVariableTextFieldDictionary;
    297 class SkPdfAppearanceCharacteristicsDictionary;
    298 class SkPdfCheckboxFieldDictionary;
    299 class SkPdfRadioButtonFieldDictionary;
    300 class SkPdfTextFieldDictionary;
    301 class SkPdfChoiceFieldDictionary;
    302 class SkPdfSignatureDictionary;
    303 class SkPdfSubmitFormActionDictionary;
    304 class SkPdfResetFormActionDictionary;
    305 class SkPdfImportDataActionDictionary;
    306 class SkPdfJavascriptActionDictionary;
    307 class SkPdfFDFTrailerDictionary;
    308 class SkPdfFDFCatalogDictionary;
    309 class SkPdfFDFDictionary;
    310 class SkPdfEncryptedEmbeddedFileStreamDictionary;
    311 class SkPdfJavascriptDictionary;
    312 class SkPdfFDFFieldDictionary;
    313 class SkPdfIconFitDictionary;
    314 class SkPdfFDFPageDictionary;
    315 class SkPdfFDFTemplateDictionary;
    316 class SkPdfFDFNamedPageReferenceDictionary;
    317 class SkPdfFDFFileAnnotationDictionary;
    318 class SkPdfSoundObjectDictionary;
    319 class SkPdfMovieDictionary;
    320 class SkPdfMovieActivationDictionary;
    321 class SkPdfDocumentInformationDictionary;
    322 class SkPdfMetadataStreamDictionary;
    323 class SkPdfComponentsWithMetadataDictionary;
    324 class SkPdfPagePieceDictionary;
    325 class SkPdfApplicationDataDictionary;
    326 class SkPdfStructureTreeRootDictionary;
    327 class SkPdfStructureElementDictionary;
    328 class SkPdfMarkedContentReferenceDictionary;
    329 class SkPdfObjectReferenceDictionary;
    330 class SkPdfStructureElementAccessDictionary;
    331 class SkPdfAttributeObjectDictionary;
    332 class SkPdfMarkInformationDictionary;
    333 class SkPdfArtifactsDictionary;
    334 class SkPdfStandardStructureDictionary;
    335 class SkPdfBlockLevelStructureElementsDictionary;
    336 class SkPdfInlineLevelStructureElementsDictionary;
    337 class SkPdfListAttributeDictionary;
    338 class SkPdfTableAttributesDictionary;
    339 class SkPdfWebCaptureInformationDictionary;
    340 class SkPdfWebCaptureDictionary;
    341 class SkPdfWebCapturePageSetDictionary;
    342 class SkPdfWebCaptureImageSetDictionary;
    343 class SkPdfSourceInformationDictionary;
    344 class SkPdfURLAliasDictionary;
    345 class SkPdfWebCaptureCommandDictionary;
    346 class SkPdfWebCaptureCommandSettingsDictionary;
    347 class SkPdfBoxColorInformationDictionary;
    348 class SkPdfBoxStyleDictionary;
    349 class SkPdfPrinterMarkAnnotationDictionary;
    350 class SkPdfPrinterMarkFormDictionary;
    351 class SkPdfSeparationDictionary;
    352 class SkPdfPDF_XOutputIntentDictionary;
    353 class SkPdfTrapNetworkAnnotationDictionary;
    354 class SkPdfTrapNetworkAppearanceStreamDictionary;
    355 class SkPdfOpiVersionDictionary;
    356 class SkPdfMultiMasterFontDictionary;
    357 
    358 #endif  // SkPdfEnums_DEFINED
    359