1cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com/*
2cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Copyright 2013 Google Inc.
3cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
4cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Use of this source code is governed by a BSD-style license that can be
5cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * found in the LICENSE file.
6cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com */
7cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
8cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#ifndef SkPdfAttributeObjectDictionary_DEFINED
9cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#define SkPdfAttributeObjectDictionary_DEFINED
108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#include "SkPdfDictionary_autogen.h"
128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com// Entry common to all attribute objects
148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comclass SkPdfAttributeObjectDictionary : public SkPdfDictionary {
158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return this;}
188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() const {return this;}
198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comprivate:
218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return (SkPdfALinkAnnotationDictionary*)this;}
228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() const {return (const SkPdfALinkAnnotationDictionary*)this;}
238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfActionDictionary* asActionDictionary() {return (SkPdfActionDictionary*)this;}
258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfActionDictionary* asActionDictionary() const {return (const SkPdfActionDictionary*)this;}
268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return (SkPdfAlternateImageDictionary*)this;}
288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAlternateImageDictionary* asAlternateImageDictionary() const {return (const SkPdfAlternateImageDictionary*)this;}
298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() {return (SkPdfAnnotationActionsDictionary*)this;}
318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() const {return (const SkPdfAnnotationActionsDictionary*)this;}
328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAnnotationDictionary* asAnnotationDictionary() {return (SkPdfAnnotationDictionary*)this;}
348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAnnotationDictionary* asAnnotationDictionary() const {return (const SkPdfAnnotationDictionary*)this;}
358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() {return (SkPdfAppearanceCharacteristicsDictionary*)this;}
378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() const {return (const SkPdfAppearanceCharacteristicsDictionary*)this;}
388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfAppearanceDictionary* asAppearanceDictionary() {return (SkPdfAppearanceDictionary*)this;}
408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfAppearanceDictionary* asAppearanceDictionary() const {return (const SkPdfAppearanceDictionary*)this;}
418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfApplicationDataDictionary* asApplicationDataDictionary() {return (SkPdfApplicationDataDictionary*)this;}
438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfApplicationDataDictionary* asApplicationDataDictionary() const {return (const SkPdfApplicationDataDictionary*)this;}
448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfArtifactsDictionary* asArtifactsDictionary() {return (SkPdfArtifactsDictionary*)this;}
468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfArtifactsDictionary* asArtifactsDictionary() const {return (const SkPdfArtifactsDictionary*)this;}
478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfBeadDictionary* asBeadDictionary() {return (SkPdfBeadDictionary*)this;}
498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfBeadDictionary* asBeadDictionary() const {return (const SkPdfBeadDictionary*)this;}
508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() {return (SkPdfBlockLevelStructureElementsDictionary*)this;}
528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() const {return (const SkPdfBlockLevelStructureElementsDictionary*)this;}
538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfBorderStyleDictionary* asBorderStyleDictionary() {return (SkPdfBorderStyleDictionary*)this;}
558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfBorderStyleDictionary* asBorderStyleDictionary() const {return (const SkPdfBorderStyleDictionary*)this;}
568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() {return (SkPdfBoxColorInformationDictionary*)this;}
588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() const {return (const SkPdfBoxColorInformationDictionary*)this;}
598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return (SkPdfBoxStyleDictionary*)this;}
618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return (const SkPdfBoxStyleDictionary*)this;}
628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {return (SkPdfCIDFontDescriptorDictionary*)this;}
648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() const {return (const SkPdfCIDFontDescriptorDictionary*)this;}
658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCIDFontDictionary* asCIDFontDictionary() {return (SkPdfCIDFontDictionary*)this;}
678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return (const SkPdfCIDFontDictionary*)this;}
688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return (SkPdfCIDSystemInfoDictionary*)this;}
708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const {return (const SkPdfCIDSystemInfoDictionary*)this;}
718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCMapDictionary* asCMapDictionary() {return (SkPdfCMapDictionary*)this;}
738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCMapDictionary* asCMapDictionary() const {return (const SkPdfCMapDictionary*)this;}
748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {return (SkPdfCalgrayColorSpaceDictionary*)this;}
768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() const {return (const SkPdfCalgrayColorSpaceDictionary*)this;}
778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {return (SkPdfCalrgbColorSpaceDictionary*)this;}
798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() const {return (const SkPdfCalrgbColorSpaceDictionary*)this;}
808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCatalogDictionary* asCatalogDictionary() {return (SkPdfCatalogDictionary*)this;}
828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCatalogDictionary* asCatalogDictionary() const {return (const SkPdfCatalogDictionary*)this;}
838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() {return (SkPdfCcittfaxdecodeFilterDictionary*)this;}
858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() const {return (const SkPdfCcittfaxdecodeFilterDictionary*)this;}
868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() {return (SkPdfCheckboxFieldDictionary*)this;}
888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() const {return (const SkPdfCheckboxFieldDictionary*)this;}
898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() {return (SkPdfChoiceFieldDictionary*)this;}
918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() const {return (const SkPdfChoiceFieldDictionary*)this;}
928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() {return (SkPdfComponentsWithMetadataDictionary*)this;}
948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() const {return (const SkPdfComponentsWithMetadataDictionary*)this;}
958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() {return (SkPdfDctdecodeFilterDictionary*)this;}
978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() const {return (const SkPdfDctdecodeFilterDictionary*)this;}
988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() {return (SkPdfDeviceNColorSpaceDictionary*)this;}
1008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() const {return (const SkPdfDeviceNColorSpaceDictionary*)this;}
1018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() {return (SkPdfDocumentCatalogActionsDictionary*)this;}
1038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() const {return (const SkPdfDocumentCatalogActionsDictionary*)this;}
1048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() {return (SkPdfDocumentInformationDictionary*)this;}
1068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() const {return (const SkPdfDocumentInformationDictionary*)this;}
1078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() {return (SkPdfEmbeddedFileParameterDictionary*)this;}
1098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() const {return (const SkPdfEmbeddedFileParameterDictionary*)this;}
1108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() {return (SkPdfEmbeddedFileStreamDictionary*)this;}
1128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() const {return (const SkPdfEmbeddedFileStreamDictionary*)this;}
1138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() {return (SkPdfEmbeddedFontStreamDictionary*)this;}
1158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() const {return (const SkPdfEmbeddedFontStreamDictionary*)this;}
1168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEncodingDictionary* asEncodingDictionary() {return (SkPdfEncodingDictionary*)this;}
1188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEncodingDictionary* asEncodingDictionary() const {return (const SkPdfEncodingDictionary*)this;}
1198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() {return (SkPdfEncryptedEmbeddedFileStreamDictionary*)this;}
1218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() const {return (const SkPdfEncryptedEmbeddedFileStreamDictionary*)this;}
1228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {return (SkPdfEncryptionCommonDictionary*)this;}
1248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() const {return (const SkPdfEncryptionCommonDictionary*)this;}
1258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() {return (SkPdfFDFCatalogDictionary*)this;}
1278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() const {return (const SkPdfFDFCatalogDictionary*)this;}
1288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFDictionary* asFDFDictionary() {return (SkPdfFDFDictionary*)this;}
1308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFDictionary* asFDFDictionary() const {return (const SkPdfFDFDictionary*)this;}
1318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFFieldDictionary* asFDFFieldDictionary() {return (SkPdfFDFFieldDictionary*)this;}
1338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFFieldDictionary* asFDFFieldDictionary() const {return (const SkPdfFDFFieldDictionary*)this;}
1348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() {return (SkPdfFDFFileAnnotationDictionary*)this;}
1368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() const {return (const SkPdfFDFFileAnnotationDictionary*)this;}
1378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() {return (SkPdfFDFNamedPageReferenceDictionary*)this;}
1398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() const {return (const SkPdfFDFNamedPageReferenceDictionary*)this;}
1408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFPageDictionary* asFDFPageDictionary() {return (SkPdfFDFPageDictionary*)this;}
1428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFPageDictionary* asFDFPageDictionary() const {return (const SkPdfFDFPageDictionary*)this;}
1438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() {return (SkPdfFDFTemplateDictionary*)this;}
1458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() const {return (const SkPdfFDFTemplateDictionary*)this;}
1468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() {return (SkPdfFDFTrailerDictionary*)this;}
1488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() const {return (const SkPdfFDFTrailerDictionary*)this;}
1498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFieldDictionary* asFieldDictionary() {return (SkPdfFieldDictionary*)this;}
1518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFieldDictionary* asFieldDictionary() const {return (const SkPdfFieldDictionary*)this;}
1528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() {return (SkPdfFileAttachmentAnnotationDictionary*)this;}
1548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() const {return (const SkPdfFileAttachmentAnnotationDictionary*)this;}
1558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() {return (SkPdfFileSpecificationDictionary*)this;}
1578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() const {return (const SkPdfFileSpecificationDictionary*)this;}
1588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return (SkPdfFileTrailerDictionary*)this;}
1608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {return (const SkPdfFileTrailerDictionary*)this;}
1618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return (SkPdfFontDescriptorDictionary*)this;}
1638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() const {return (const SkPdfFontDescriptorDictionary*)this;}
1648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFontDictionary* asFontDictionary() {return (SkPdfFontDictionary*)this;}
1668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFontDictionary* asFontDictionary() const {return (const SkPdfFontDictionary*)this;}
1678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType0FontDictionary* asType0FontDictionary() {return (SkPdfType0FontDictionary*)this;}
1698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType0FontDictionary* asType0FontDictionary() const {return (const SkPdfType0FontDictionary*)this;}
1708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType1FontDictionary* asType1FontDictionary() {return (SkPdfType1FontDictionary*)this;}
1728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType1FontDictionary* asType1FontDictionary() const {return (const SkPdfType1FontDictionary*)this;}
1738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfMultiMasterFontDictionary*)this;}
1758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return (const SkPdfMultiMasterFontDictionary*)this;}
1768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;}
1788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;}
1798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
1818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
1828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return (SkPdfFormFieldActionsDictionary*)this;}
1848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return (const SkPdfFormFieldActionsDictionary*)this;}
1858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {return (SkPdfFreeTextAnnotationDictionary*)this;}
1878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() const {return (const SkPdfFreeTextAnnotationDictionary*)this;}
1888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return (SkPdfFunctionCommonDictionary*)this;}
1908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() const {return (const SkPdfFunctionCommonDictionary*)this;}
1918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfGoToActionDictionary* asGoToActionDictionary() {return (SkPdfGoToActionDictionary*)this;}
1938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfGoToActionDictionary* asGoToActionDictionary() const {return (const SkPdfGoToActionDictionary*)this;}
1948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() {return (SkPdfGraphicsStateDictionary*)this;}
1968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() const {return (const SkPdfGraphicsStateDictionary*)this;}
1978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() {return (SkPdfGroupAttributesDictionary*)this;}
1998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() const {return (const SkPdfGroupAttributesDictionary*)this;}
2008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfHideActionDictionary* asHideActionDictionary() {return (SkPdfHideActionDictionary*)this;}
2028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfHideActionDictionary* asHideActionDictionary() const {return (const SkPdfHideActionDictionary*)this;}
2038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() {return (SkPdfIccProfileStreamDictionary*)this;}
2058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() const {return (const SkPdfIccProfileStreamDictionary*)this;}
2068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfIconFitDictionary* asIconFitDictionary() {return (SkPdfIconFitDictionary*)this;}
2088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfIconFitDictionary* asIconFitDictionary() const {return (const SkPdfIconFitDictionary*)this;}
2098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfImportDataActionDictionary* asImportDataActionDictionary() {return (SkPdfImportDataActionDictionary*)this;}
2118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfImportDataActionDictionary* asImportDataActionDictionary() const {return (const SkPdfImportDataActionDictionary*)this;}
2128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() {return (SkPdfInkAnnotationDictionary*)this;}
2148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() const {return (const SkPdfInkAnnotationDictionary*)this;}
2158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() {return (SkPdfInlineLevelStructureElementsDictionary*)this;}
2178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() const {return (const SkPdfInlineLevelStructureElementsDictionary*)this;}
2188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() {return (SkPdfInteractiveFormDictionary*)this;}
2208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() const {return (const SkPdfInteractiveFormDictionary*)this;}
2218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {return (SkPdfJavascriptActionDictionary*)this;}
2238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() const {return (const SkPdfJavascriptActionDictionary*)this;}
2248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfJavascriptDictionary* asJavascriptDictionary() {return (SkPdfJavascriptDictionary*)this;}
2268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfJavascriptDictionary* asJavascriptDictionary() const {return (const SkPdfJavascriptDictionary*)this;}
2278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() {return (SkPdfJbig2DecodeFilterDictionary*)this;}
2298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() const {return (const SkPdfJbig2DecodeFilterDictionary*)this;}
2308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() {return (SkPdfLabColorSpaceDictionary*)this;}
2328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() const {return (const SkPdfLabColorSpaceDictionary*)this;}
2338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfLaunchActionDictionary* asLaunchActionDictionary() {return (SkPdfLaunchActionDictionary*)this;}
2358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfLaunchActionDictionary* asLaunchActionDictionary() const {return (const SkPdfLaunchActionDictionary*)this;}
2368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() {return (SkPdfLineAnnotationDictionary*)this;}
2388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() const {return (const SkPdfLineAnnotationDictionary*)this;}
2398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfListAttributeDictionary* asListAttributeDictionary() {return (SkPdfListAttributeDictionary*)this;}
2418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfListAttributeDictionary* asListAttributeDictionary() const {return (const SkPdfListAttributeDictionary*)this;}
2428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() {return (SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;}
2448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() const {return (const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;}
2458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() {return (SkPdfMacOsFileInformationDictionary*)this;}
2478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() const {return (const SkPdfMacOsFileInformationDictionary*)this;}
2488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMarkInformationDictionary* asMarkInformationDictionary() {return (SkPdfMarkInformationDictionary*)this;}
2508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMarkInformationDictionary* asMarkInformationDictionary() const {return (const SkPdfMarkInformationDictionary*)this;}
2518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() {return (SkPdfMarkedContentReferenceDictionary*)this;}
2538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() const {return (const SkPdfMarkedContentReferenceDictionary*)this;}
2548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() {return (SkPdfMarkupAnnotationsDictionary*)this;}
2568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() const {return (const SkPdfMarkupAnnotationsDictionary*)this;}
2578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() {return (SkPdfMetadataStreamDictionary*)this;}
2598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() const {return (const SkPdfMetadataStreamDictionary*)this;}
2608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMovieActionDictionary* asMovieActionDictionary() {return (SkPdfMovieActionDictionary*)this;}
2628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMovieActionDictionary* asMovieActionDictionary() const {return (const SkPdfMovieActionDictionary*)this;}
2638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMovieActivationDictionary* asMovieActivationDictionary() {return (SkPdfMovieActivationDictionary*)this;}
2658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMovieActivationDictionary* asMovieActivationDictionary() const {return (const SkPdfMovieActivationDictionary*)this;}
2668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() {return (SkPdfMovieAnnotationDictionary*)this;}
2688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() const {return (const SkPdfMovieAnnotationDictionary*)this;}
2698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMovieDictionary* asMovieDictionary() {return (SkPdfMovieDictionary*)this;}
2718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMovieDictionary* asMovieDictionary() const {return (const SkPdfMovieDictionary*)this;}
2728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfNameDictionary* asNameDictionary() {return (SkPdfNameDictionary*)this;}
2748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfNameDictionary* asNameDictionary() const {return (const SkPdfNameDictionary*)this;}
2758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() {return (SkPdfNameTreeNodeDictionary*)this;}
2778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() const {return (const SkPdfNameTreeNodeDictionary*)this;}
2788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfNamedActionsDictionary* asNamedActionsDictionary() {return (SkPdfNamedActionsDictionary*)this;}
2808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfNamedActionsDictionary* asNamedActionsDictionary() const {return (const SkPdfNamedActionsDictionary*)this;}
2818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() {return (SkPdfNumberTreeNodeDictionary*)this;}
2838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() const {return (const SkPdfNumberTreeNodeDictionary*)this;}
2848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() {return (SkPdfObjectReferenceDictionary*)this;}
2868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() const {return (const SkPdfObjectReferenceDictionary*)this;}
2878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfOpiVersionDictionary* asOpiVersionDictionary() {return (SkPdfOpiVersionDictionary*)this;}
2898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfOpiVersionDictionary* asOpiVersionDictionary() const {return (const SkPdfOpiVersionDictionary*)this;}
2908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfOutlineDictionary* asOutlineDictionary() {return (SkPdfOutlineDictionary*)this;}
2928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfOutlineDictionary* asOutlineDictionary() const {return (const SkPdfOutlineDictionary*)this;}
2938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfOutlineItemDictionary* asOutlineItemDictionary() {return (SkPdfOutlineItemDictionary*)this;}
2958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfOutlineItemDictionary* asOutlineItemDictionary() const {return (const SkPdfOutlineItemDictionary*)this;}
2968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() {return (SkPdfPDF_XOutputIntentDictionary*)this;}
2988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() const {return (const SkPdfPDF_XOutputIntentDictionary*)this;}
2998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPSXobjectDictionary* asPSXobjectDictionary() {return (SkPdfPSXobjectDictionary*)this;}
3018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPSXobjectDictionary* asPSXobjectDictionary() const {return (const SkPdfPSXobjectDictionary*)this;}
3028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPageLabelDictionary* asPageLabelDictionary() {return (SkPdfPageLabelDictionary*)this;}
3048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPageLabelDictionary* asPageLabelDictionary() const {return (const SkPdfPageLabelDictionary*)this;}
3058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() {return (SkPdfPageObjectActionsDictionary*)this;}
3078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() const {return (const SkPdfPageObjectActionsDictionary*)this;}
3088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPageObjectDictionary* asPageObjectDictionary() {return (SkPdfPageObjectDictionary*)this;}
3108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPageObjectDictionary* asPageObjectDictionary() const {return (const SkPdfPageObjectDictionary*)this;}
3118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPagePieceDictionary* asPagePieceDictionary() {return (SkPdfPagePieceDictionary*)this;}
3138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPagePieceDictionary* asPagePieceDictionary() const {return (const SkPdfPagePieceDictionary*)this;}
3148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() {return (SkPdfPageTreeNodeDictionary*)this;}
3168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() const {return (const SkPdfPageTreeNodeDictionary*)this;}
3178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() {return (SkPdfPopUpAnnotationDictionary*)this;}
3198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() const {return (const SkPdfPopUpAnnotationDictionary*)this;}
3208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() {return (SkPdfPrinterMarkAnnotationDictionary*)this;}
3228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() const {return (const SkPdfPrinterMarkAnnotationDictionary*)this;}
3238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() {return (SkPdfPrinterMarkFormDictionary*)this;}
3258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() const {return (const SkPdfPrinterMarkFormDictionary*)this;}
3268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() {return (SkPdfRadioButtonFieldDictionary*)this;}
3288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() const {return (const SkPdfRadioButtonFieldDictionary*)this;}
3298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfReferenceDictionary* asReferenceDictionary() {return (SkPdfReferenceDictionary*)this;}
3318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfReferenceDictionary* asReferenceDictionary() const {return (const SkPdfReferenceDictionary*)this;}
3328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() {return (SkPdfRemoteGoToActionDictionary*)this;}
3348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() const {return (const SkPdfRemoteGoToActionDictionary*)this;}
3358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfResetFormActionDictionary* asResetFormActionDictionary() {return (SkPdfResetFormActionDictionary*)this;}
3378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfResetFormActionDictionary* asResetFormActionDictionary() const {return (const SkPdfResetFormActionDictionary*)this;}
3388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfResourceDictionary* asResourceDictionary() {return (SkPdfResourceDictionary*)this;}
3408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfResourceDictionary* asResourceDictionary() const {return (const SkPdfResourceDictionary*)this;}
3418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() {return (SkPdfRubberStampAnnotationDictionary*)this;}
3438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() const {return (const SkPdfRubberStampAnnotationDictionary*)this;}
3448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSeparationDictionary* asSeparationDictionary() {return (SkPdfSeparationDictionary*)this;}
3468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSeparationDictionary* asSeparationDictionary() const {return (const SkPdfSeparationDictionary*)this;}
3478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfShadingDictionary* asShadingDictionary() {return (SkPdfShadingDictionary*)this;}
3498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfShadingDictionary* asShadingDictionary() const {return (const SkPdfShadingDictionary*)this;}
3508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return (SkPdfType1ShadingDictionary*)this;}
3528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {return (const SkPdfType1ShadingDictionary*)this;}
3538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return (SkPdfType2ShadingDictionary*)this;}
3558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return (const SkPdfType2ShadingDictionary*)this;}
3568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return (SkPdfType3ShadingDictionary*)this;}
3588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {return (const SkPdfType3ShadingDictionary*)this;}
3598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return (SkPdfType4ShadingDictionary*)this;}
3618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {return (const SkPdfType4ShadingDictionary*)this;}
3628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return (SkPdfType5ShadingDictionary*)this;}
3648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return (const SkPdfType5ShadingDictionary*)this;}
3658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return (SkPdfType6ShadingDictionary*)this;}
3678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {return (const SkPdfType6ShadingDictionary*)this;}
3688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSignatureDictionary* asSignatureDictionary() {return (SkPdfSignatureDictionary*)this;}
3708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSignatureDictionary* asSignatureDictionary() const {return (const SkPdfSignatureDictionary*)this;}
3718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSoftMaskDictionary* asSoftMaskDictionary() {return (SkPdfSoftMaskDictionary*)this;}
3738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSoftMaskDictionary* asSoftMaskDictionary() const {return (const SkPdfSoftMaskDictionary*)this;}
3748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSoundActionDictionary* asSoundActionDictionary() {return (SkPdfSoundActionDictionary*)this;}
3768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSoundActionDictionary* asSoundActionDictionary() const {return (const SkPdfSoundActionDictionary*)this;}
3778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() {return (SkPdfSoundAnnotationDictionary*)this;}
3798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() const {return (const SkPdfSoundAnnotationDictionary*)this;}
3808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSoundObjectDictionary* asSoundObjectDictionary() {return (SkPdfSoundObjectDictionary*)this;}
3828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSoundObjectDictionary* asSoundObjectDictionary() const {return (const SkPdfSoundObjectDictionary*)this;}
3838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSourceInformationDictionary* asSourceInformationDictionary() {return (SkPdfSourceInformationDictionary*)this;}
3858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSourceInformationDictionary* asSourceInformationDictionary() const {return (const SkPdfSourceInformationDictionary*)this;}
3868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() {return (SkPdfSquareOrCircleAnnotation*)this;}
3888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() const {return (const SkPdfSquareOrCircleAnnotation*)this;}
3898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() {return (SkPdfStandardSecurityHandlerDictionary*)this;}
3918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() const {return (const SkPdfStandardSecurityHandlerDictionary*)this;}
3928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStandardStructureDictionary* asStandardStructureDictionary() {return (SkPdfStandardStructureDictionary*)this;}
3948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStandardStructureDictionary* asStandardStructureDictionary() const {return (const SkPdfStandardStructureDictionary*)this;}
3958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStreamCommonDictionary* asStreamCommonDictionary() {return (SkPdfStreamCommonDictionary*)this;}
3978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStreamCommonDictionary* asStreamCommonDictionary() const {return (const SkPdfStreamCommonDictionary*)this;}
3988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
3998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() {return (SkPdfStructureElementAccessDictionary*)this;}
4008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() const {return (const SkPdfStructureElementAccessDictionary*)this;}
4018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStructureElementDictionary* asStructureElementDictionary() {return (SkPdfStructureElementDictionary*)this;}
4038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStructureElementDictionary* asStructureElementDictionary() const {return (const SkPdfStructureElementDictionary*)this;}
4048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() {return (SkPdfStructureTreeRootDictionary*)this;}
4068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() const {return (const SkPdfStructureTreeRootDictionary*)this;}
4078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() {return (SkPdfSubmitFormActionDictionary*)this;}
4098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() const {return (const SkPdfSubmitFormActionDictionary*)this;}
4108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTableAttributesDictionary* asTableAttributesDictionary() {return (SkPdfTableAttributesDictionary*)this;}
4128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTableAttributesDictionary* asTableAttributesDictionary() const {return (const SkPdfTableAttributesDictionary*)this;}
4138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() {return (SkPdfTextAnnotationDictionary*)this;}
4158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() const {return (const SkPdfTextAnnotationDictionary*)this;}
4168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTextFieldDictionary* asTextFieldDictionary() {return (SkPdfTextFieldDictionary*)this;}
4188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return (const SkPdfTextFieldDictionary*)this;}
4198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfThreadActionDictionary* asThreadActionDictionary() {return (SkPdfThreadActionDictionary*)this;}
4218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfThreadActionDictionary* asThreadActionDictionary() const {return (const SkPdfThreadActionDictionary*)this;}
4228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfThreadDictionary* asThreadDictionary() {return (SkPdfThreadDictionary*)this;}
4248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfThreadDictionary* asThreadDictionary() const {return (const SkPdfThreadDictionary*)this;}
4258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTransitionDictionary* asTransitionDictionary() {return (SkPdfTransitionDictionary*)this;}
4278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTransitionDictionary* asTransitionDictionary() const {return (const SkPdfTransitionDictionary*)this;}
4288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() {return (SkPdfTransparencyGroupDictionary*)this;}
4308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() const {return (const SkPdfTransparencyGroupDictionary*)this;}
4318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() {return (SkPdfTrapNetworkAnnotationDictionary*)this;}
4338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() const {return (const SkPdfTrapNetworkAnnotationDictionary*)this;}
4348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() {return (SkPdfTrapNetworkAppearanceStreamDictionary*)this;}
4368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() const {return (const SkPdfTrapNetworkAppearanceStreamDictionary*)this;}
4378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType0FunctionDictionary* asType0FunctionDictionary() {return (SkPdfType0FunctionDictionary*)this;}
4398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType0FunctionDictionary* asType0FunctionDictionary() const {return (const SkPdfType0FunctionDictionary*)this;}
4408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() {return (SkPdfType10HalftoneDictionary*)this;}
4428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() const {return (const SkPdfType10HalftoneDictionary*)this;}
4438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() {return (SkPdfType16HalftoneDictionary*)this;}
4458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() const {return (const SkPdfType16HalftoneDictionary*)this;}
4468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() {return (SkPdfType1HalftoneDictionary*)this;}
4488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() const {return (const SkPdfType1HalftoneDictionary*)this;}
4498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType1PatternDictionary* asType1PatternDictionary() {return (SkPdfType1PatternDictionary*)this;}
4518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType1PatternDictionary* asType1PatternDictionary() const {return (const SkPdfType1PatternDictionary*)this;}
4528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType2FunctionDictionary* asType2FunctionDictionary() {return (SkPdfType2FunctionDictionary*)this;}
4548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType2FunctionDictionary* asType2FunctionDictionary() const {return (const SkPdfType2FunctionDictionary*)this;}
4558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType2PatternDictionary* asType2PatternDictionary() {return (SkPdfType2PatternDictionary*)this;}
4578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType2PatternDictionary* asType2PatternDictionary() const {return (const SkPdfType2PatternDictionary*)this;}
4588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType3FunctionDictionary* asType3FunctionDictionary() {return (SkPdfType3FunctionDictionary*)this;}
4608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType3FunctionDictionary* asType3FunctionDictionary() const {return (const SkPdfType3FunctionDictionary*)this;}
4618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() {return (SkPdfType5HalftoneDictionary*)this;}
4638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() const {return (const SkPdfType5HalftoneDictionary*)this;}
4648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() {return (SkPdfType6HalftoneDictionary*)this;}
4668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() const {return (const SkPdfType6HalftoneDictionary*)this;}
4678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfURIActionDictionary* asURIActionDictionary() {return (SkPdfURIActionDictionary*)this;}
4698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfURIActionDictionary* asURIActionDictionary() const {return (const SkPdfURIActionDictionary*)this;}
4708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfURIDictionary* asURIDictionary() {return (SkPdfURIDictionary*)this;}
4728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfURIDictionary* asURIDictionary() const {return (const SkPdfURIDictionary*)this;}
4738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfURLAliasDictionary* asURLAliasDictionary() {return (SkPdfURLAliasDictionary*)this;}
4758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfURLAliasDictionary* asURLAliasDictionary() const {return (const SkPdfURLAliasDictionary*)this;}
4768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() {return (SkPdfVariableTextFieldDictionary*)this;}
4788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() const {return (const SkPdfVariableTextFieldDictionary*)this;}
4798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {return (SkPdfViewerPreferencesDictionary*)this;}
4818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() const {return (const SkPdfViewerPreferencesDictionary*)this;}
4828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() {return (SkPdfWebCaptureCommandDictionary*)this;}
4848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() const {return (const SkPdfWebCaptureCommandDictionary*)this;}
4858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() {return (SkPdfWebCaptureCommandSettingsDictionary*)this;}
4878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() const {return (const SkPdfWebCaptureCommandSettingsDictionary*)this;}
4888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCaptureDictionary* asWebCaptureDictionary() {return (SkPdfWebCaptureDictionary*)this;}
4908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCaptureDictionary* asWebCaptureDictionary() const {return (const SkPdfWebCaptureDictionary*)this;}
4918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() {return (SkPdfWebCaptureImageSetDictionary*)this;}
4938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() const {return (const SkPdfWebCaptureImageSetDictionary*)this;}
4948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() {return (SkPdfWebCaptureInformationDictionary*)this;}
4968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() const {return (const SkPdfWebCaptureInformationDictionary*)this;}
4978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
4988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() {return (SkPdfWebCapturePageSetDictionary*)this;}
4998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() const {return (const SkPdfWebCapturePageSetDictionary*)this;}
5008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() {return (SkPdfWidgetAnnotationDictionary*)this;}
5028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() const {return (const SkPdfWidgetAnnotationDictionary*)this;}
5038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() {return (SkPdfWindowsLaunchActionDictionary*)this;}
5058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() const {return (const SkPdfWindowsLaunchActionDictionary*)this;}
5068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfXObjectDictionary* asXObjectDictionary() {return (SkPdfXObjectDictionary*)this;}
5088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfXObjectDictionary* asXObjectDictionary() const {return (const SkPdfXObjectDictionary*)this;}
5098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfImageDictionary* asImageDictionary() {return (SkPdfImageDictionary*)this;}
5118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfImageDictionary* asImageDictionary() const {return (const SkPdfImageDictionary*)this;}
5128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return (SkPdfSoftMaskImageDictionary*)this;}
5148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return (const SkPdfSoftMaskImageDictionary*)this;}
5158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDictionary*)this;}
5178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const SkPdfType1FormDictionary*)this;}
5188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
5198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
5208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   bool valid() const {return true;}
5218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  SkString O(SkPdfNativeDoc* doc);
5228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  bool has_O() const;
5238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com};
5248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
525cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#endif  // SkPdfAttributeObjectDictionary_DEFINED
526