134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)/* 234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) * Copyright 2013 Google Inc. 334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) * Use of this source code is governed by a BSD-style license that can be 534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) * found in the LICENSE file. 634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) */ 734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)#ifndef SkPdfFreeTextAnnotationDictionary_DEFINED 934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)#define SkPdfFreeTextAnnotationDictionary_DEFINED 1034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 1134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)#include "SkPdfDictionary_autogen.h" 1234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 1334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)// Additional entries specific to a free text annotation 1434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)class SkPdfFreeTextAnnotationDictionary : public SkPdfDictionary { 1534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)public: 1634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)public: 1734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {return this;} 1834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() const {return this;} 1934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 2034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles)private: 2134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return (SkPdfALinkAnnotationDictionary*)this;} 2234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() const {return (const SkPdfALinkAnnotationDictionary*)this;} 2334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 2434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfActionDictionary* asActionDictionary() {return (SkPdfActionDictionary*)this;} 2534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfActionDictionary* asActionDictionary() const {return (const SkPdfActionDictionary*)this;} 2634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 2734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return (SkPdfAlternateImageDictionary*)this;} 2834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAlternateImageDictionary* asAlternateImageDictionary() const {return (const SkPdfAlternateImageDictionary*)this;} 2934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 3034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() {return (SkPdfAnnotationActionsDictionary*)this;} 3134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() const {return (const SkPdfAnnotationActionsDictionary*)this;} 3234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 3334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAnnotationDictionary* asAnnotationDictionary() {return (SkPdfAnnotationDictionary*)this;} 3434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAnnotationDictionary* asAnnotationDictionary() const {return (const SkPdfAnnotationDictionary*)this;} 3534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 3634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() {return (SkPdfAppearanceCharacteristicsDictionary*)this;} 3734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() const {return (const SkPdfAppearanceCharacteristicsDictionary*)this;} 3834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 3934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAppearanceDictionary* asAppearanceDictionary() {return (SkPdfAppearanceDictionary*)this;} 4034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAppearanceDictionary* asAppearanceDictionary() const {return (const SkPdfAppearanceDictionary*)this;} 4134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 4234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfApplicationDataDictionary* asApplicationDataDictionary() {return (SkPdfApplicationDataDictionary*)this;} 4334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfApplicationDataDictionary* asApplicationDataDictionary() const {return (const SkPdfApplicationDataDictionary*)this;} 4434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 4534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfArtifactsDictionary* asArtifactsDictionary() {return (SkPdfArtifactsDictionary*)this;} 4634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfArtifactsDictionary* asArtifactsDictionary() const {return (const SkPdfArtifactsDictionary*)this;} 4734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 4834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return (SkPdfAttributeObjectDictionary*)this;} 4934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() const {return (const SkPdfAttributeObjectDictionary*)this;} 5034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 5134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfBeadDictionary* asBeadDictionary() {return (SkPdfBeadDictionary*)this;} 5234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfBeadDictionary* asBeadDictionary() const {return (const SkPdfBeadDictionary*)this;} 5334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 5434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() {return (SkPdfBlockLevelStructureElementsDictionary*)this;} 5534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() const {return (const SkPdfBlockLevelStructureElementsDictionary*)this;} 5634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 5734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfBorderStyleDictionary* asBorderStyleDictionary() {return (SkPdfBorderStyleDictionary*)this;} 5834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfBorderStyleDictionary* asBorderStyleDictionary() const {return (const SkPdfBorderStyleDictionary*)this;} 5934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 6034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() {return (SkPdfBoxColorInformationDictionary*)this;} 6134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() const {return (const SkPdfBoxColorInformationDictionary*)this;} 6234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 6334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return (SkPdfBoxStyleDictionary*)this;} 6434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return (const SkPdfBoxStyleDictionary*)this;} 6534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 6634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {return (SkPdfCIDFontDescriptorDictionary*)this;} 6734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() const {return (const SkPdfCIDFontDescriptorDictionary*)this;} 6834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 6934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCIDFontDictionary* asCIDFontDictionary() {return (SkPdfCIDFontDictionary*)this;} 7034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return (const SkPdfCIDFontDictionary*)this;} 7134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 7234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return (SkPdfCIDSystemInfoDictionary*)this;} 7334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const {return (const SkPdfCIDSystemInfoDictionary*)this;} 7434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 7534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCMapDictionary* asCMapDictionary() {return (SkPdfCMapDictionary*)this;} 7634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCMapDictionary* asCMapDictionary() const {return (const SkPdfCMapDictionary*)this;} 7734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 7834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {return (SkPdfCalgrayColorSpaceDictionary*)this;} 7934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() const {return (const SkPdfCalgrayColorSpaceDictionary*)this;} 8034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 8134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {return (SkPdfCalrgbColorSpaceDictionary*)this;} 8234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() const {return (const SkPdfCalrgbColorSpaceDictionary*)this;} 8334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 8434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCatalogDictionary* asCatalogDictionary() {return (SkPdfCatalogDictionary*)this;} 8534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCatalogDictionary* asCatalogDictionary() const {return (const SkPdfCatalogDictionary*)this;} 8634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 8734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() {return (SkPdfCcittfaxdecodeFilterDictionary*)this;} 8834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() const {return (const SkPdfCcittfaxdecodeFilterDictionary*)this;} 8934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 9034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() {return (SkPdfCheckboxFieldDictionary*)this;} 9134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() const {return (const SkPdfCheckboxFieldDictionary*)this;} 9234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 9334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() {return (SkPdfChoiceFieldDictionary*)this;} 9434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() const {return (const SkPdfChoiceFieldDictionary*)this;} 9534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 9634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() {return (SkPdfComponentsWithMetadataDictionary*)this;} 9734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() const {return (const SkPdfComponentsWithMetadataDictionary*)this;} 9834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 9934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() {return (SkPdfDctdecodeFilterDictionary*)this;} 10034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() const {return (const SkPdfDctdecodeFilterDictionary*)this;} 10134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 10234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() {return (SkPdfDeviceNColorSpaceDictionary*)this;} 10334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() const {return (const SkPdfDeviceNColorSpaceDictionary*)this;} 10434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 10534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() {return (SkPdfDocumentCatalogActionsDictionary*)this;} 10634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() const {return (const SkPdfDocumentCatalogActionsDictionary*)this;} 10734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 10834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() {return (SkPdfDocumentInformationDictionary*)this;} 10934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() const {return (const SkPdfDocumentInformationDictionary*)this;} 11034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 11134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() {return (SkPdfEmbeddedFileParameterDictionary*)this;} 11234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() const {return (const SkPdfEmbeddedFileParameterDictionary*)this;} 11334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 11434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() {return (SkPdfEmbeddedFileStreamDictionary*)this;} 11534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() const {return (const SkPdfEmbeddedFileStreamDictionary*)this;} 11634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 11734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() {return (SkPdfEmbeddedFontStreamDictionary*)this;} 11834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() const {return (const SkPdfEmbeddedFontStreamDictionary*)this;} 11934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 12034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEncodingDictionary* asEncodingDictionary() {return (SkPdfEncodingDictionary*)this;} 12134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEncodingDictionary* asEncodingDictionary() const {return (const SkPdfEncodingDictionary*)this;} 12234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 12334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() {return (SkPdfEncryptedEmbeddedFileStreamDictionary*)this;} 12434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() const {return (const SkPdfEncryptedEmbeddedFileStreamDictionary*)this;} 12534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 12634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {return (SkPdfEncryptionCommonDictionary*)this;} 12734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() const {return (const SkPdfEncryptionCommonDictionary*)this;} 12834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 12934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() {return (SkPdfFDFCatalogDictionary*)this;} 13034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() const {return (const SkPdfFDFCatalogDictionary*)this;} 13134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 13234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFDictionary* asFDFDictionary() {return (SkPdfFDFDictionary*)this;} 13334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFDictionary* asFDFDictionary() const {return (const SkPdfFDFDictionary*)this;} 13434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 13534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFFieldDictionary* asFDFFieldDictionary() {return (SkPdfFDFFieldDictionary*)this;} 13634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFFieldDictionary* asFDFFieldDictionary() const {return (const SkPdfFDFFieldDictionary*)this;} 13734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 13834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() {return (SkPdfFDFFileAnnotationDictionary*)this;} 13934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() const {return (const SkPdfFDFFileAnnotationDictionary*)this;} 14034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 14134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() {return (SkPdfFDFNamedPageReferenceDictionary*)this;} 14234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() const {return (const SkPdfFDFNamedPageReferenceDictionary*)this;} 14334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 14434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFPageDictionary* asFDFPageDictionary() {return (SkPdfFDFPageDictionary*)this;} 14534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFPageDictionary* asFDFPageDictionary() const {return (const SkPdfFDFPageDictionary*)this;} 14634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 14734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() {return (SkPdfFDFTemplateDictionary*)this;} 14834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() const {return (const SkPdfFDFTemplateDictionary*)this;} 14934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 15034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() {return (SkPdfFDFTrailerDictionary*)this;} 15134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() const {return (const SkPdfFDFTrailerDictionary*)this;} 15234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 15334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFieldDictionary* asFieldDictionary() {return (SkPdfFieldDictionary*)this;} 15434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFieldDictionary* asFieldDictionary() const {return (const SkPdfFieldDictionary*)this;} 15534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 15634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() {return (SkPdfFileAttachmentAnnotationDictionary*)this;} 15734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() const {return (const SkPdfFileAttachmentAnnotationDictionary*)this;} 15834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 15934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() {return (SkPdfFileSpecificationDictionary*)this;} 16034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() const {return (const SkPdfFileSpecificationDictionary*)this;} 16134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 16234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return (SkPdfFileTrailerDictionary*)this;} 16334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {return (const SkPdfFileTrailerDictionary*)this;} 16434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 16534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return (SkPdfFontDescriptorDictionary*)this;} 16634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() const {return (const SkPdfFontDescriptorDictionary*)this;} 16734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 16834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFontDictionary* asFontDictionary() {return (SkPdfFontDictionary*)this;} 16934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFontDictionary* asFontDictionary() const {return (const SkPdfFontDictionary*)this;} 17034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 17134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType0FontDictionary* asType0FontDictionary() {return (SkPdfType0FontDictionary*)this;} 17234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType0FontDictionary* asType0FontDictionary() const {return (const SkPdfType0FontDictionary*)this;} 17334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 17434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType1FontDictionary* asType1FontDictionary() {return (SkPdfType1FontDictionary*)this;} 17534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType1FontDictionary* asType1FontDictionary() const {return (const SkPdfType1FontDictionary*)this;} 17634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 17734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfMultiMasterFontDictionary*)this;} 17834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return (const SkPdfMultiMasterFontDictionary*)this;} 17934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 18034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;} 18134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;} 18234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 18334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;} 18434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;} 18534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 18634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return (SkPdfFormFieldActionsDictionary*)this;} 18734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return (const SkPdfFormFieldActionsDictionary*)this;} 18834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 18934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return (SkPdfFunctionCommonDictionary*)this;} 19034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() const {return (const SkPdfFunctionCommonDictionary*)this;} 19134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 19234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfGoToActionDictionary* asGoToActionDictionary() {return (SkPdfGoToActionDictionary*)this;} 19334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfGoToActionDictionary* asGoToActionDictionary() const {return (const SkPdfGoToActionDictionary*)this;} 19434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 19534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() {return (SkPdfGraphicsStateDictionary*)this;} 19634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() const {return (const SkPdfGraphicsStateDictionary*)this;} 19734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 19834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() {return (SkPdfGroupAttributesDictionary*)this;} 19934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() const {return (const SkPdfGroupAttributesDictionary*)this;} 20034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 20134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfHideActionDictionary* asHideActionDictionary() {return (SkPdfHideActionDictionary*)this;} 20234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfHideActionDictionary* asHideActionDictionary() const {return (const SkPdfHideActionDictionary*)this;} 20334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 20434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() {return (SkPdfIccProfileStreamDictionary*)this;} 20534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() const {return (const SkPdfIccProfileStreamDictionary*)this;} 20634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 20734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfIconFitDictionary* asIconFitDictionary() {return (SkPdfIconFitDictionary*)this;} 20834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfIconFitDictionary* asIconFitDictionary() const {return (const SkPdfIconFitDictionary*)this;} 20934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 21034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfImportDataActionDictionary* asImportDataActionDictionary() {return (SkPdfImportDataActionDictionary*)this;} 21134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfImportDataActionDictionary* asImportDataActionDictionary() const {return (const SkPdfImportDataActionDictionary*)this;} 21234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 21334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() {return (SkPdfInkAnnotationDictionary*)this;} 21434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() const {return (const SkPdfInkAnnotationDictionary*)this;} 21534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 21634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() {return (SkPdfInlineLevelStructureElementsDictionary*)this;} 21734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() const {return (const SkPdfInlineLevelStructureElementsDictionary*)this;} 21834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 21934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() {return (SkPdfInteractiveFormDictionary*)this;} 22034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() const {return (const SkPdfInteractiveFormDictionary*)this;} 22134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 22234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {return (SkPdfJavascriptActionDictionary*)this;} 22334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() const {return (const SkPdfJavascriptActionDictionary*)this;} 22434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 22534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfJavascriptDictionary* asJavascriptDictionary() {return (SkPdfJavascriptDictionary*)this;} 22634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfJavascriptDictionary* asJavascriptDictionary() const {return (const SkPdfJavascriptDictionary*)this;} 22734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 22834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() {return (SkPdfJbig2DecodeFilterDictionary*)this;} 22934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() const {return (const SkPdfJbig2DecodeFilterDictionary*)this;} 23034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 23134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() {return (SkPdfLabColorSpaceDictionary*)this;} 23234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() const {return (const SkPdfLabColorSpaceDictionary*)this;} 23334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 23434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfLaunchActionDictionary* asLaunchActionDictionary() {return (SkPdfLaunchActionDictionary*)this;} 23534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfLaunchActionDictionary* asLaunchActionDictionary() const {return (const SkPdfLaunchActionDictionary*)this;} 23634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 23734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() {return (SkPdfLineAnnotationDictionary*)this;} 23834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() const {return (const SkPdfLineAnnotationDictionary*)this;} 23934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 24034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfListAttributeDictionary* asListAttributeDictionary() {return (SkPdfListAttributeDictionary*)this;} 24134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfListAttributeDictionary* asListAttributeDictionary() const {return (const SkPdfListAttributeDictionary*)this;} 24234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 24334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() {return (SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;} 24434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() const {return (const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;} 24534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 24634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() {return (SkPdfMacOsFileInformationDictionary*)this;} 24734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() const {return (const SkPdfMacOsFileInformationDictionary*)this;} 24834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 24934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMarkInformationDictionary* asMarkInformationDictionary() {return (SkPdfMarkInformationDictionary*)this;} 25034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMarkInformationDictionary* asMarkInformationDictionary() const {return (const SkPdfMarkInformationDictionary*)this;} 25134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 25234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() {return (SkPdfMarkedContentReferenceDictionary*)this;} 25334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() const {return (const SkPdfMarkedContentReferenceDictionary*)this;} 25434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 25534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() {return (SkPdfMarkupAnnotationsDictionary*)this;} 25634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() const {return (const SkPdfMarkupAnnotationsDictionary*)this;} 25734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 25834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() {return (SkPdfMetadataStreamDictionary*)this;} 25934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() const {return (const SkPdfMetadataStreamDictionary*)this;} 26034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 26134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMovieActionDictionary* asMovieActionDictionary() {return (SkPdfMovieActionDictionary*)this;} 26234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMovieActionDictionary* asMovieActionDictionary() const {return (const SkPdfMovieActionDictionary*)this;} 26334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 26434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMovieActivationDictionary* asMovieActivationDictionary() {return (SkPdfMovieActivationDictionary*)this;} 26534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMovieActivationDictionary* asMovieActivationDictionary() const {return (const SkPdfMovieActivationDictionary*)this;} 26634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 26734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() {return (SkPdfMovieAnnotationDictionary*)this;} 26834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() const {return (const SkPdfMovieAnnotationDictionary*)this;} 26934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 27034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfMovieDictionary* asMovieDictionary() {return (SkPdfMovieDictionary*)this;} 27134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfMovieDictionary* asMovieDictionary() const {return (const SkPdfMovieDictionary*)this;} 27234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 27334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfNameDictionary* asNameDictionary() {return (SkPdfNameDictionary*)this;} 27434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfNameDictionary* asNameDictionary() const {return (const SkPdfNameDictionary*)this;} 27534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 27634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() {return (SkPdfNameTreeNodeDictionary*)this;} 27734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() const {return (const SkPdfNameTreeNodeDictionary*)this;} 27834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 27934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfNamedActionsDictionary* asNamedActionsDictionary() {return (SkPdfNamedActionsDictionary*)this;} 28034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfNamedActionsDictionary* asNamedActionsDictionary() const {return (const SkPdfNamedActionsDictionary*)this;} 28134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 28234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() {return (SkPdfNumberTreeNodeDictionary*)this;} 28334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() const {return (const SkPdfNumberTreeNodeDictionary*)this;} 28434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 28534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() {return (SkPdfObjectReferenceDictionary*)this;} 28634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() const {return (const SkPdfObjectReferenceDictionary*)this;} 28734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 28834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfOpiVersionDictionary* asOpiVersionDictionary() {return (SkPdfOpiVersionDictionary*)this;} 28934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfOpiVersionDictionary* asOpiVersionDictionary() const {return (const SkPdfOpiVersionDictionary*)this;} 29034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 29134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfOutlineDictionary* asOutlineDictionary() {return (SkPdfOutlineDictionary*)this;} 29234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfOutlineDictionary* asOutlineDictionary() const {return (const SkPdfOutlineDictionary*)this;} 29334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 29434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfOutlineItemDictionary* asOutlineItemDictionary() {return (SkPdfOutlineItemDictionary*)this;} 29534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfOutlineItemDictionary* asOutlineItemDictionary() const {return (const SkPdfOutlineItemDictionary*)this;} 29634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 29734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() {return (SkPdfPDF_XOutputIntentDictionary*)this;} 29834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() const {return (const SkPdfPDF_XOutputIntentDictionary*)this;} 29934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 30034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPSXobjectDictionary* asPSXobjectDictionary() {return (SkPdfPSXobjectDictionary*)this;} 30134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPSXobjectDictionary* asPSXobjectDictionary() const {return (const SkPdfPSXobjectDictionary*)this;} 30234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 30334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPageLabelDictionary* asPageLabelDictionary() {return (SkPdfPageLabelDictionary*)this;} 30434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPageLabelDictionary* asPageLabelDictionary() const {return (const SkPdfPageLabelDictionary*)this;} 30534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 30634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() {return (SkPdfPageObjectActionsDictionary*)this;} 30734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() const {return (const SkPdfPageObjectActionsDictionary*)this;} 30834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 30934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPageObjectDictionary* asPageObjectDictionary() {return (SkPdfPageObjectDictionary*)this;} 31034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPageObjectDictionary* asPageObjectDictionary() const {return (const SkPdfPageObjectDictionary*)this;} 31134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 31234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPagePieceDictionary* asPagePieceDictionary() {return (SkPdfPagePieceDictionary*)this;} 31334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPagePieceDictionary* asPagePieceDictionary() const {return (const SkPdfPagePieceDictionary*)this;} 31434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 31534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() {return (SkPdfPageTreeNodeDictionary*)this;} 31634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() const {return (const SkPdfPageTreeNodeDictionary*)this;} 31734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 31834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() {return (SkPdfPopUpAnnotationDictionary*)this;} 31934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() const {return (const SkPdfPopUpAnnotationDictionary*)this;} 32034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 32134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() {return (SkPdfPrinterMarkAnnotationDictionary*)this;} 32234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() const {return (const SkPdfPrinterMarkAnnotationDictionary*)this;} 32334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 32434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() {return (SkPdfPrinterMarkFormDictionary*)this;} 32534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() const {return (const SkPdfPrinterMarkFormDictionary*)this;} 32634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 32734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() {return (SkPdfRadioButtonFieldDictionary*)this;} 32834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() const {return (const SkPdfRadioButtonFieldDictionary*)this;} 32934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 33034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfReferenceDictionary* asReferenceDictionary() {return (SkPdfReferenceDictionary*)this;} 33134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfReferenceDictionary* asReferenceDictionary() const {return (const SkPdfReferenceDictionary*)this;} 33234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 33334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() {return (SkPdfRemoteGoToActionDictionary*)this;} 33434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() const {return (const SkPdfRemoteGoToActionDictionary*)this;} 33534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 33634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfResetFormActionDictionary* asResetFormActionDictionary() {return (SkPdfResetFormActionDictionary*)this;} 33734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfResetFormActionDictionary* asResetFormActionDictionary() const {return (const SkPdfResetFormActionDictionary*)this;} 33834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 33934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfResourceDictionary* asResourceDictionary() {return (SkPdfResourceDictionary*)this;} 34034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfResourceDictionary* asResourceDictionary() const {return (const SkPdfResourceDictionary*)this;} 34134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 34234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() {return (SkPdfRubberStampAnnotationDictionary*)this;} 34334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() const {return (const SkPdfRubberStampAnnotationDictionary*)this;} 34434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 34534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfSeparationDictionary* asSeparationDictionary() {return (SkPdfSeparationDictionary*)this;} 34634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfSeparationDictionary* asSeparationDictionary() const {return (const SkPdfSeparationDictionary*)this;} 34734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 34834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfShadingDictionary* asShadingDictionary() {return (SkPdfShadingDictionary*)this;} 34934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfShadingDictionary* asShadingDictionary() const {return (const SkPdfShadingDictionary*)this;} 35034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 35134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return (SkPdfType1ShadingDictionary*)this;} 35234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {return (const SkPdfType1ShadingDictionary*)this;} 35334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 35434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return (SkPdfType2ShadingDictionary*)this;} 35534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return (const SkPdfType2ShadingDictionary*)this;} 35634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 35734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return (SkPdfType3ShadingDictionary*)this;} 35834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {return (const SkPdfType3ShadingDictionary*)this;} 35934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 36034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return (SkPdfType4ShadingDictionary*)this;} 36134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {return (const SkPdfType4ShadingDictionary*)this;} 36234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 36334680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return (SkPdfType5ShadingDictionary*)this;} 36434680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return (const SkPdfType5ShadingDictionary*)this;} 36534680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 36634680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return (SkPdfType6ShadingDictionary*)this;} 36734680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {return (const SkPdfType6ShadingDictionary*)this;} 36834680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 36934680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfSignatureDictionary* asSignatureDictionary() {return (SkPdfSignatureDictionary*)this;} 37034680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) const SkPdfSignatureDictionary* asSignatureDictionary() const {return (const SkPdfSignatureDictionary*)this;} 37134680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) 37234680572440d7894ef8dafce81d8039ed80726a2Torne (Richard Coles) SkPdfSoftMaskDictionary* asSoftMaskDictionary() {return (SkPdfSoftMaskDictionary*)this;} 373 const SkPdfSoftMaskDictionary* asSoftMaskDictionary() const {return (const SkPdfSoftMaskDictionary*)this;} 374 375 SkPdfSoundActionDictionary* asSoundActionDictionary() {return (SkPdfSoundActionDictionary*)this;} 376 const SkPdfSoundActionDictionary* asSoundActionDictionary() const {return (const SkPdfSoundActionDictionary*)this;} 377 378 SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() {return (SkPdfSoundAnnotationDictionary*)this;} 379 const SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() const {return (const SkPdfSoundAnnotationDictionary*)this;} 380 381 SkPdfSoundObjectDictionary* asSoundObjectDictionary() {return (SkPdfSoundObjectDictionary*)this;} 382 const SkPdfSoundObjectDictionary* asSoundObjectDictionary() const {return (const SkPdfSoundObjectDictionary*)this;} 383 384 SkPdfSourceInformationDictionary* asSourceInformationDictionary() {return (SkPdfSourceInformationDictionary*)this;} 385 const SkPdfSourceInformationDictionary* asSourceInformationDictionary() const {return (const SkPdfSourceInformationDictionary*)this;} 386 387 SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() {return (SkPdfSquareOrCircleAnnotation*)this;} 388 const SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() const {return (const SkPdfSquareOrCircleAnnotation*)this;} 389 390 SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() {return (SkPdfStandardSecurityHandlerDictionary*)this;} 391 const SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() const {return (const SkPdfStandardSecurityHandlerDictionary*)this;} 392 393 SkPdfStandardStructureDictionary* asStandardStructureDictionary() {return (SkPdfStandardStructureDictionary*)this;} 394 const SkPdfStandardStructureDictionary* asStandardStructureDictionary() const {return (const SkPdfStandardStructureDictionary*)this;} 395 396 SkPdfStreamCommonDictionary* asStreamCommonDictionary() {return (SkPdfStreamCommonDictionary*)this;} 397 const SkPdfStreamCommonDictionary* asStreamCommonDictionary() const {return (const SkPdfStreamCommonDictionary*)this;} 398 399 SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() {return (SkPdfStructureElementAccessDictionary*)this;} 400 const SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() const {return (const SkPdfStructureElementAccessDictionary*)this;} 401 402 SkPdfStructureElementDictionary* asStructureElementDictionary() {return (SkPdfStructureElementDictionary*)this;} 403 const SkPdfStructureElementDictionary* asStructureElementDictionary() const {return (const SkPdfStructureElementDictionary*)this;} 404 405 SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() {return (SkPdfStructureTreeRootDictionary*)this;} 406 const SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() const {return (const SkPdfStructureTreeRootDictionary*)this;} 407 408 SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() {return (SkPdfSubmitFormActionDictionary*)this;} 409 const SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() const {return (const SkPdfSubmitFormActionDictionary*)this;} 410 411 SkPdfTableAttributesDictionary* asTableAttributesDictionary() {return (SkPdfTableAttributesDictionary*)this;} 412 const SkPdfTableAttributesDictionary* asTableAttributesDictionary() const {return (const SkPdfTableAttributesDictionary*)this;} 413 414 SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() {return (SkPdfTextAnnotationDictionary*)this;} 415 const SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() const {return (const SkPdfTextAnnotationDictionary*)this;} 416 417 SkPdfTextFieldDictionary* asTextFieldDictionary() {return (SkPdfTextFieldDictionary*)this;} 418 const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return (const SkPdfTextFieldDictionary*)this;} 419 420 SkPdfThreadActionDictionary* asThreadActionDictionary() {return (SkPdfThreadActionDictionary*)this;} 421 const SkPdfThreadActionDictionary* asThreadActionDictionary() const {return (const SkPdfThreadActionDictionary*)this;} 422 423 SkPdfThreadDictionary* asThreadDictionary() {return (SkPdfThreadDictionary*)this;} 424 const SkPdfThreadDictionary* asThreadDictionary() const {return (const SkPdfThreadDictionary*)this;} 425 426 SkPdfTransitionDictionary* asTransitionDictionary() {return (SkPdfTransitionDictionary*)this;} 427 const SkPdfTransitionDictionary* asTransitionDictionary() const {return (const SkPdfTransitionDictionary*)this;} 428 429 SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() {return (SkPdfTransparencyGroupDictionary*)this;} 430 const SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() const {return (const SkPdfTransparencyGroupDictionary*)this;} 431 432 SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() {return (SkPdfTrapNetworkAnnotationDictionary*)this;} 433 const SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() const {return (const SkPdfTrapNetworkAnnotationDictionary*)this;} 434 435 SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() {return (SkPdfTrapNetworkAppearanceStreamDictionary*)this;} 436 const SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() const {return (const SkPdfTrapNetworkAppearanceStreamDictionary*)this;} 437 438 SkPdfType0FunctionDictionary* asType0FunctionDictionary() {return (SkPdfType0FunctionDictionary*)this;} 439 const SkPdfType0FunctionDictionary* asType0FunctionDictionary() const {return (const SkPdfType0FunctionDictionary*)this;} 440 441 SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() {return (SkPdfType10HalftoneDictionary*)this;} 442 const SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() const {return (const SkPdfType10HalftoneDictionary*)this;} 443 444 SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() {return (SkPdfType16HalftoneDictionary*)this;} 445 const SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() const {return (const SkPdfType16HalftoneDictionary*)this;} 446 447 SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() {return (SkPdfType1HalftoneDictionary*)this;} 448 const SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() const {return (const SkPdfType1HalftoneDictionary*)this;} 449 450 SkPdfType1PatternDictionary* asType1PatternDictionary() {return (SkPdfType1PatternDictionary*)this;} 451 const SkPdfType1PatternDictionary* asType1PatternDictionary() const {return (const SkPdfType1PatternDictionary*)this;} 452 453 SkPdfType2FunctionDictionary* asType2FunctionDictionary() {return (SkPdfType2FunctionDictionary*)this;} 454 const SkPdfType2FunctionDictionary* asType2FunctionDictionary() const {return (const SkPdfType2FunctionDictionary*)this;} 455 456 SkPdfType2PatternDictionary* asType2PatternDictionary() {return (SkPdfType2PatternDictionary*)this;} 457 const SkPdfType2PatternDictionary* asType2PatternDictionary() const {return (const SkPdfType2PatternDictionary*)this;} 458 459 SkPdfType3FunctionDictionary* asType3FunctionDictionary() {return (SkPdfType3FunctionDictionary*)this;} 460 const SkPdfType3FunctionDictionary* asType3FunctionDictionary() const {return (const SkPdfType3FunctionDictionary*)this;} 461 462 SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() {return (SkPdfType5HalftoneDictionary*)this;} 463 const SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() const {return (const SkPdfType5HalftoneDictionary*)this;} 464 465 SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() {return (SkPdfType6HalftoneDictionary*)this;} 466 const SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() const {return (const SkPdfType6HalftoneDictionary*)this;} 467 468 SkPdfURIActionDictionary* asURIActionDictionary() {return (SkPdfURIActionDictionary*)this;} 469 const SkPdfURIActionDictionary* asURIActionDictionary() const {return (const SkPdfURIActionDictionary*)this;} 470 471 SkPdfURIDictionary* asURIDictionary() {return (SkPdfURIDictionary*)this;} 472 const SkPdfURIDictionary* asURIDictionary() const {return (const SkPdfURIDictionary*)this;} 473 474 SkPdfURLAliasDictionary* asURLAliasDictionary() {return (SkPdfURLAliasDictionary*)this;} 475 const SkPdfURLAliasDictionary* asURLAliasDictionary() const {return (const SkPdfURLAliasDictionary*)this;} 476 477 SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() {return (SkPdfVariableTextFieldDictionary*)this;} 478 const SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() const {return (const SkPdfVariableTextFieldDictionary*)this;} 479 480 SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {return (SkPdfViewerPreferencesDictionary*)this;} 481 const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() const {return (const SkPdfViewerPreferencesDictionary*)this;} 482 483 SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() {return (SkPdfWebCaptureCommandDictionary*)this;} 484 const SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() const {return (const SkPdfWebCaptureCommandDictionary*)this;} 485 486 SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() {return (SkPdfWebCaptureCommandSettingsDictionary*)this;} 487 const SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() const {return (const SkPdfWebCaptureCommandSettingsDictionary*)this;} 488 489 SkPdfWebCaptureDictionary* asWebCaptureDictionary() {return (SkPdfWebCaptureDictionary*)this;} 490 const SkPdfWebCaptureDictionary* asWebCaptureDictionary() const {return (const SkPdfWebCaptureDictionary*)this;} 491 492 SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() {return (SkPdfWebCaptureImageSetDictionary*)this;} 493 const SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() const {return (const SkPdfWebCaptureImageSetDictionary*)this;} 494 495 SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() {return (SkPdfWebCaptureInformationDictionary*)this;} 496 const SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() const {return (const SkPdfWebCaptureInformationDictionary*)this;} 497 498 SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() {return (SkPdfWebCapturePageSetDictionary*)this;} 499 const SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() const {return (const SkPdfWebCapturePageSetDictionary*)this;} 500 501 SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() {return (SkPdfWidgetAnnotationDictionary*)this;} 502 const SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() const {return (const SkPdfWidgetAnnotationDictionary*)this;} 503 504 SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() {return (SkPdfWindowsLaunchActionDictionary*)this;} 505 const SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() const {return (const SkPdfWindowsLaunchActionDictionary*)this;} 506 507 SkPdfXObjectDictionary* asXObjectDictionary() {return (SkPdfXObjectDictionary*)this;} 508 const SkPdfXObjectDictionary* asXObjectDictionary() const {return (const SkPdfXObjectDictionary*)this;} 509 510 SkPdfImageDictionary* asImageDictionary() {return (SkPdfImageDictionary*)this;} 511 const SkPdfImageDictionary* asImageDictionary() const {return (const SkPdfImageDictionary*)this;} 512 513 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return (SkPdfSoftMaskImageDictionary*)this;} 514 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return (const SkPdfSoftMaskImageDictionary*)this;} 515 516 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDictionary*)this;} 517 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const SkPdfType1FormDictionary*)this;} 518 519public: 520 bool valid() const {return true;} 521 SkString Subtype(SkPdfNativeDoc* doc); 522 bool has_Subtype() const; 523 SkString Contents(SkPdfNativeDoc* doc); 524 bool has_Contents() const; 525 SkString DA(SkPdfNativeDoc* doc); 526 bool has_DA() const; 527 int64_t Q(SkPdfNativeDoc* doc); 528 bool has_Q() const; 529}; 530 531#endif // SkPdfFreeTextAnnotationDictionary_DEFINED 532