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 11enum 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 189class SkPdfDictionary; 190class SkPdfXObjectDictionary; 191class SkPdfFontDictionary; 192class SkPdfTrueTypeFontDictionary; 193class SkPdfStreamCommonDictionary; 194class SkPdfLzwdecodeAndFlatedecodeFiltersDictionary; 195class SkPdfCcittfaxdecodeFilterDictionary; 196class SkPdfJbig2DecodeFilterDictionary; 197class SkPdfDctdecodeFilterDictionary; 198class SkPdfFileTrailerDictionary; 199class SkPdfEncryptionCommonDictionary; 200class SkPdfStandardSecurityHandlerDictionary; 201class SkPdfCatalogDictionary; 202class SkPdfPageTreeNodeDictionary; 203class SkPdfPageObjectDictionary; 204class SkPdfNameDictionary; 205class SkPdfResourceDictionary; 206class SkPdfNameTreeNodeDictionary; 207class SkPdfNumberTreeNodeDictionary; 208class SkPdfFunctionCommonDictionary; 209class SkPdfType0FunctionDictionary; 210class SkPdfType2FunctionDictionary; 211class SkPdfType3FunctionDictionary; 212class SkPdfFileSpecificationDictionary; 213class SkPdfEmbeddedFileStreamDictionary; 214class SkPdfEmbeddedFileParameterDictionary; 215class SkPdfMacOsFileInformationDictionary; 216class SkPdfGraphicsStateDictionary; 217class SkPdfCalgrayColorSpaceDictionary; 218class SkPdfCalrgbColorSpaceDictionary; 219class SkPdfLabColorSpaceDictionary; 220class SkPdfIccProfileStreamDictionary; 221class SkPdfDeviceNColorSpaceDictionary; 222class SkPdfType1PatternDictionary; 223class SkPdfType2PatternDictionary; 224class SkPdfShadingDictionary; 225class SkPdfType1ShadingDictionary; 226class SkPdfType2ShadingDictionary; 227class SkPdfType3ShadingDictionary; 228class SkPdfType4ShadingDictionary; 229class SkPdfType5ShadingDictionary; 230class SkPdfType6ShadingDictionary; 231class SkPdfImageDictionary; 232class SkPdfAlternateImageDictionary; 233class SkPdfType1FormDictionary; 234class SkPdfGroupAttributesDictionary; 235class SkPdfReferenceDictionary; 236class SkPdfPSXobjectDictionary; 237class SkPdfType1FontDictionary; 238class SkPdfType3FontDictionary; 239class SkPdfEncodingDictionary; 240class SkPdfCIDSystemInfoDictionary; 241class SkPdfCIDFontDictionary; 242class SkPdfCMapDictionary; 243class SkPdfType0FontDictionary; 244class SkPdfFontDescriptorDictionary; 245class SkPdfCIDFontDescriptorDictionary; 246class SkPdfEmbeddedFontStreamDictionary; 247class SkPdfType1HalftoneDictionary; 248class SkPdfType6HalftoneDictionary; 249class SkPdfType10HalftoneDictionary; 250class SkPdfType16HalftoneDictionary; 251class SkPdfType5HalftoneDictionary; 252class SkPdfSoftMaskDictionary; 253class SkPdfSoftMaskImageDictionary; 254class SkPdfTransparencyGroupDictionary; 255class SkPdfViewerPreferencesDictionary; 256class SkPdfOutlineDictionary; 257class SkPdfOutlineItemDictionary; 258class SkPdfPageLabelDictionary; 259class SkPdfThreadDictionary; 260class SkPdfBeadDictionary; 261class SkPdfTransitionDictionary; 262class SkPdfAnnotationDictionary; 263class SkPdfBorderStyleDictionary; 264class SkPdfAppearanceDictionary; 265class SkPdfTextAnnotationDictionary; 266class SkPdfALinkAnnotationDictionary; 267class SkPdfFreeTextAnnotationDictionary; 268class SkPdfLineAnnotationDictionary; 269class SkPdfSquareOrCircleAnnotation; 270class SkPdfMarkupAnnotationsDictionary; 271class SkPdfRubberStampAnnotationDictionary; 272class SkPdfInkAnnotationDictionary; 273class SkPdfPopUpAnnotationDictionary; 274class SkPdfFileAttachmentAnnotationDictionary; 275class SkPdfSoundAnnotationDictionary; 276class SkPdfMovieAnnotationDictionary; 277class SkPdfWidgetAnnotationDictionary; 278class SkPdfActionDictionary; 279class SkPdfAnnotationActionsDictionary; 280class SkPdfPageObjectActionsDictionary; 281class SkPdfFormFieldActionsDictionary; 282class SkPdfDocumentCatalogActionsDictionary; 283class SkPdfGoToActionDictionary; 284class SkPdfRemoteGoToActionDictionary; 285class SkPdfLaunchActionDictionary; 286class SkPdfWindowsLaunchActionDictionary; 287class SkPdfThreadActionDictionary; 288class SkPdfURIActionDictionary; 289class SkPdfURIDictionary; 290class SkPdfSoundActionDictionary; 291class SkPdfMovieActionDictionary; 292class SkPdfHideActionDictionary; 293class SkPdfNamedActionsDictionary; 294class SkPdfInteractiveFormDictionary; 295class SkPdfFieldDictionary; 296class SkPdfVariableTextFieldDictionary; 297class SkPdfAppearanceCharacteristicsDictionary; 298class SkPdfCheckboxFieldDictionary; 299class SkPdfRadioButtonFieldDictionary; 300class SkPdfTextFieldDictionary; 301class SkPdfChoiceFieldDictionary; 302class SkPdfSignatureDictionary; 303class SkPdfSubmitFormActionDictionary; 304class SkPdfResetFormActionDictionary; 305class SkPdfImportDataActionDictionary; 306class SkPdfJavascriptActionDictionary; 307class SkPdfFDFTrailerDictionary; 308class SkPdfFDFCatalogDictionary; 309class SkPdfFDFDictionary; 310class SkPdfEncryptedEmbeddedFileStreamDictionary; 311class SkPdfJavascriptDictionary; 312class SkPdfFDFFieldDictionary; 313class SkPdfIconFitDictionary; 314class SkPdfFDFPageDictionary; 315class SkPdfFDFTemplateDictionary; 316class SkPdfFDFNamedPageReferenceDictionary; 317class SkPdfFDFFileAnnotationDictionary; 318class SkPdfSoundObjectDictionary; 319class SkPdfMovieDictionary; 320class SkPdfMovieActivationDictionary; 321class SkPdfDocumentInformationDictionary; 322class SkPdfMetadataStreamDictionary; 323class SkPdfComponentsWithMetadataDictionary; 324class SkPdfPagePieceDictionary; 325class SkPdfApplicationDataDictionary; 326class SkPdfStructureTreeRootDictionary; 327class SkPdfStructureElementDictionary; 328class SkPdfMarkedContentReferenceDictionary; 329class SkPdfObjectReferenceDictionary; 330class SkPdfStructureElementAccessDictionary; 331class SkPdfAttributeObjectDictionary; 332class SkPdfMarkInformationDictionary; 333class SkPdfArtifactsDictionary; 334class SkPdfStandardStructureDictionary; 335class SkPdfBlockLevelStructureElementsDictionary; 336class SkPdfInlineLevelStructureElementsDictionary; 337class SkPdfListAttributeDictionary; 338class SkPdfTableAttributesDictionary; 339class SkPdfWebCaptureInformationDictionary; 340class SkPdfWebCaptureDictionary; 341class SkPdfWebCapturePageSetDictionary; 342class SkPdfWebCaptureImageSetDictionary; 343class SkPdfSourceInformationDictionary; 344class SkPdfURLAliasDictionary; 345class SkPdfWebCaptureCommandDictionary; 346class SkPdfWebCaptureCommandSettingsDictionary; 347class SkPdfBoxColorInformationDictionary; 348class SkPdfBoxStyleDictionary; 349class SkPdfPrinterMarkAnnotationDictionary; 350class SkPdfPrinterMarkFormDictionary; 351class SkPdfSeparationDictionary; 352class SkPdfPDF_XOutputIntentDictionary; 353class SkPdfTrapNetworkAnnotationDictionary; 354class SkPdfTrapNetworkAppearanceStreamDictionary; 355class SkPdfOpiVersionDictionary; 356class SkPdfMultiMasterFontDictionary; 357 358#endif // SkPdfEnums_DEFINED 359