OLD | NEW |
| (Empty) |
1 #ifndef __DEFINED__SkPdfPageObjectDictionary | |
2 #define __DEFINED__SkPdfPageObjectDictionary | |
3 | |
4 #include "SkPdfUtils.h" | |
5 #include "SkPdfEnums_autogen.h" | |
6 #include "SkPdfArray_autogen.h" | |
7 #include "SkPdfDictionary_autogen.h" | |
8 | |
9 // Entries in a page object | |
10 class SkPdfPageObjectDictionary : public SkPdfDictionary { | |
11 public: | |
12 virtual SkPdfObjectType getType() const { return kPageObjectDictionary_SkPdfOb
jectType;} | |
13 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kPageObj
ectDictionary_SkPdfObjectType + 1);} | |
14 public: | |
15 virtual SkPdfPageObjectDictionary* asPageObjectDictionary() {return this;} | |
16 virtual const SkPdfPageObjectDictionary* asPageObjectDictionary() const {retur
n this;} | |
17 | |
18 private: | |
19 virtual SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return
NULL;} | |
20 virtual const SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() co
nst {return NULL;} | |
21 | |
22 virtual SkPdfActionDictionary* asActionDictionary() {return NULL;} | |
23 virtual const SkPdfActionDictionary* asActionDictionary() const {return NULL;} | |
24 | |
25 virtual SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return NU
LL;} | |
26 virtual const SkPdfAlternateImageDictionary* asAlternateImageDictionary() cons
t {return NULL;} | |
27 | |
28 virtual SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() {ret
urn NULL;} | |
29 virtual const SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary(
) const {return NULL;} | |
30 | |
31 virtual SkPdfAnnotationDictionary* asAnnotationDictionary() {return NULL;} | |
32 virtual const SkPdfAnnotationDictionary* asAnnotationDictionary() const {retur
n NULL;} | |
33 | |
34 virtual SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsD
ictionary() {return NULL;} | |
35 virtual const SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteri
sticsDictionary() const {return NULL;} | |
36 | |
37 virtual SkPdfAppearanceDictionary* asAppearanceDictionary() {return NULL;} | |
38 virtual const SkPdfAppearanceDictionary* asAppearanceDictionary() const {retur
n NULL;} | |
39 | |
40 virtual SkPdfApplicationDataDictionary* asApplicationDataDictionary() {return
NULL;} | |
41 virtual const SkPdfApplicationDataDictionary* asApplicationDataDictionary() co
nst {return NULL;} | |
42 | |
43 virtual SkPdfArtifactsDictionary* asArtifactsDictionary() {return NULL;} | |
44 virtual const SkPdfArtifactsDictionary* asArtifactsDictionary() const {return
NULL;} | |
45 | |
46 virtual SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return
NULL;} | |
47 virtual const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() co
nst {return NULL;} | |
48 | |
49 virtual SkPdfBeadDictionary* asBeadDictionary() {return NULL;} | |
50 virtual const SkPdfBeadDictionary* asBeadDictionary() const {return NULL;} | |
51 | |
52 virtual SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureEleme
ntsDictionary() {return NULL;} | |
53 virtual const SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructur
eElementsDictionary() const {return NULL;} | |
54 | |
55 virtual SkPdfBorderStyleDictionary* asBorderStyleDictionary() {return NULL;} | |
56 virtual const SkPdfBorderStyleDictionary* asBorderStyleDictionary() const {ret
urn NULL;} | |
57 | |
58 virtual SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary()
{return NULL;} | |
59 virtual const SkPdfBoxColorInformationDictionary* asBoxColorInformationDiction
ary() const {return NULL;} | |
60 | |
61 virtual SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return NULL;} | |
62 virtual const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return NU
LL;} | |
63 | |
64 virtual SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {ret
urn NULL;} | |
65 virtual const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary(
) const {return NULL;} | |
66 | |
67 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} | |
68 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL
;} | |
69 | |
70 virtual SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return NULL
;} | |
71 virtual const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const
{return NULL;} | |
72 | |
73 virtual SkPdfCMapDictionary* asCMapDictionary() {return NULL;} | |
74 virtual const SkPdfCMapDictionary* asCMapDictionary() const {return NULL;} | |
75 | |
76 virtual SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {ret
urn NULL;} | |
77 virtual const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary(
) const {return NULL;} | |
78 | |
79 virtual SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {retur
n NULL;} | |
80 virtual const SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary()
const {return NULL;} | |
81 | |
82 virtual SkPdfCatalogDictionary* asCatalogDictionary() {return NULL;} | |
83 virtual const SkPdfCatalogDictionary* asCatalogDictionary() const {return NULL
;} | |
84 | |
85 virtual SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary(
) {return NULL;} | |
86 virtual const SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDicti
onary() const {return NULL;} | |
87 | |
88 virtual SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() {return NULL
;} | |
89 virtual const SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() const
{return NULL;} | |
90 | |
91 virtual SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() {return NULL;} | |
92 virtual const SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() const {ret
urn NULL;} | |
93 | |
94 virtual SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDiction
ary() {return NULL;} | |
95 virtual const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataD
ictionary() const {return NULL;} | |
96 | |
97 virtual SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() {return
NULL;} | |
98 virtual const SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() co
nst {return NULL;} | |
99 | |
100 virtual SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() {ret
urn NULL;} | |
101 virtual const SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary(
) const {return NULL;} | |
102 | |
103 virtual SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDiction
ary() {return NULL;} | |
104 virtual const SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsD
ictionary() const {return NULL;} | |
105 | |
106 virtual SkPdfDocumentInformationDictionary* asDocumentInformationDictionary()
{return NULL;} | |
107 virtual const SkPdfDocumentInformationDictionary* asDocumentInformationDiction
ary() const {return NULL;} | |
108 | |
109 virtual SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionar
y() {return NULL;} | |
110 virtual const SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDic
tionary() const {return NULL;} | |
111 | |
112 virtual SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() {r
eturn NULL;} | |
113 virtual const SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionar
y() const {return NULL;} | |
114 | |
115 virtual SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() {r
eturn NULL;} | |
116 virtual const SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionar
y() const {return NULL;} | |
117 | |
118 virtual SkPdfEncodingDictionary* asEncodingDictionary() {return NULL;} | |
119 virtual const SkPdfEncodingDictionary* asEncodingDictionary() const {return NU
LL;} | |
120 | |
121 virtual SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStr
eamDictionary() {return NULL;} | |
122 virtual const SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedF
ileStreamDictionary() const {return NULL;} | |
123 | |
124 virtual SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {retur
n NULL;} | |
125 virtual const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary()
const {return NULL;} | |
126 | |
127 virtual SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() {return NULL;} | |
128 virtual const SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() const {retur
n NULL;} | |
129 | |
130 virtual SkPdfFDFDictionary* asFDFDictionary() {return NULL;} | |
131 virtual const SkPdfFDFDictionary* asFDFDictionary() const {return NULL;} | |
132 | |
133 virtual SkPdfFDFFieldDictionary* asFDFFieldDictionary() {return NULL;} | |
134 virtual const SkPdfFDFFieldDictionary* asFDFFieldDictionary() const {return NU
LL;} | |
135 | |
136 virtual SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() {ret
urn NULL;} | |
137 virtual const SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary(
) const {return NULL;} | |
138 | |
139 virtual SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionar
y() {return NULL;} | |
140 virtual const SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDic
tionary() const {return NULL;} | |
141 | |
142 virtual SkPdfFDFPageDictionary* asFDFPageDictionary() {return NULL;} | |
143 virtual const SkPdfFDFPageDictionary* asFDFPageDictionary() const {return NULL
;} | |
144 | |
145 virtual SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() {return NULL;} | |
146 virtual const SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() const {ret
urn NULL;} | |
147 | |
148 virtual SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() {return NULL;} | |
149 virtual const SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() const {retur
n NULL;} | |
150 | |
151 virtual SkPdfFieldDictionary* asFieldDictionary() {return NULL;} | |
152 virtual const SkPdfFieldDictionary* asFieldDictionary() const {return NULL;} | |
153 | |
154 virtual SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDic
tionary() {return NULL;} | |
155 virtual const SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotat
ionDictionary() const {return NULL;} | |
156 | |
157 virtual SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() {ret
urn NULL;} | |
158 virtual const SkPdfFileSpecificationDictionary* asFileSpecificationDictionary(
) const {return NULL;} | |
159 | |
160 virtual SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return NULL;} | |
161 virtual const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {ret
urn NULL;} | |
162 | |
163 virtual SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return NU
LL;} | |
164 virtual const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() cons
t {return NULL;} | |
165 | |
166 virtual SkPdfFontDictionary* asFontDictionary() {return NULL;} | |
167 virtual const SkPdfFontDictionary* asFontDictionary() const {return NULL;} | |
168 | |
169 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} | |
170 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return
NULL;} | |
171 | |
172 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} | |
173 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return
NULL;} | |
174 | |
175 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
NULL;} | |
176 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return NULL;} | |
177 | |
178 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} | |
179 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r
eturn NULL;} | |
180 | |
181 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;} | |
182 virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return
NULL;} | |
183 | |
184 virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {retur
n NULL;} | |
185 virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary()
const {return NULL;} | |
186 | |
187 virtual SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {r
eturn NULL;} | |
188 virtual const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionar
y() const {return NULL;} | |
189 | |
190 virtual SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return NU
LL;} | |
191 virtual const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() cons
t {return NULL;} | |
192 | |
193 virtual SkPdfGoToActionDictionary* asGoToActionDictionary() {return NULL;} | |
194 virtual const SkPdfGoToActionDictionary* asGoToActionDictionary() const {retur
n NULL;} | |
195 | |
196 virtual SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() {return NULL
;} | |
197 virtual const SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() const
{return NULL;} | |
198 | |
199 virtual SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() {return
NULL;} | |
200 virtual const SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() co
nst {return NULL;} | |
201 | |
202 virtual SkPdfHideActionDictionary* asHideActionDictionary() {return NULL;} | |
203 virtual const SkPdfHideActionDictionary* asHideActionDictionary() const {retur
n NULL;} | |
204 | |
205 virtual SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() {retur
n NULL;} | |
206 virtual const SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary()
const {return NULL;} | |
207 | |
208 virtual SkPdfIconFitDictionary* asIconFitDictionary() {return NULL;} | |
209 virtual const SkPdfIconFitDictionary* asIconFitDictionary() const {return NULL
;} | |
210 | |
211 virtual SkPdfImportDataActionDictionary* asImportDataActionDictionary() {retur
n NULL;} | |
212 virtual const SkPdfImportDataActionDictionary* asImportDataActionDictionary()
const {return NULL;} | |
213 | |
214 virtual SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() {return NULL
;} | |
215 virtual const SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() const
{return NULL;} | |
216 | |
217 virtual SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureEle
mentsDictionary() {return NULL;} | |
218 virtual const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStruct
ureElementsDictionary() const {return NULL;} | |
219 | |
220 virtual SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() {return
NULL;} | |
221 virtual const SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() co
nst {return NULL;} | |
222 | |
223 virtual SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {retur
n NULL;} | |
224 virtual const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary()
const {return NULL;} | |
225 | |
226 virtual SkPdfJavascriptDictionary* asJavascriptDictionary() {return NULL;} | |
227 virtual const SkPdfJavascriptDictionary* asJavascriptDictionary() const {retur
n NULL;} | |
228 | |
229 virtual SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() {ret
urn NULL;} | |
230 virtual const SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary(
) const {return NULL;} | |
231 | |
232 virtual SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() {return NULL
;} | |
233 virtual const SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() const
{return NULL;} | |
234 | |
235 virtual SkPdfLaunchActionDictionary* asLaunchActionDictionary() {return NULL;} | |
236 virtual const SkPdfLaunchActionDictionary* asLaunchActionDictionary() const {r
eturn NULL;} | |
237 | |
238 virtual SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() {return NU
LL;} | |
239 virtual const SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() cons
t {return NULL;} | |
240 | |
241 virtual SkPdfListAttributeDictionary* asListAttributeDictionary() {return NULL
;} | |
242 virtual const SkPdfListAttributeDictionary* asListAttributeDictionary() const
{return NULL;} | |
243 | |
244 virtual SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedeco
deFiltersDictionary() {return NULL;} | |
245 virtual const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFla
tedecodeFiltersDictionary() const {return NULL;} | |
246 | |
247 virtual SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary(
) {return NULL;} | |
248 virtual const SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDicti
onary() const {return NULL;} | |
249 | |
250 virtual SkPdfMarkInformationDictionary* asMarkInformationDictionary() {return
NULL;} | |
251 virtual const SkPdfMarkInformationDictionary* asMarkInformationDictionary() co
nst {return NULL;} | |
252 | |
253 virtual SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDiction
ary() {return NULL;} | |
254 virtual const SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceD
ictionary() const {return NULL;} | |
255 | |
256 virtual SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() {ret
urn NULL;} | |
257 virtual const SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary(
) const {return NULL;} | |
258 | |
259 virtual SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() {return NU
LL;} | |
260 virtual const SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() cons
t {return NULL;} | |
261 | |
262 virtual SkPdfMovieActionDictionary* asMovieActionDictionary() {return NULL;} | |
263 virtual const SkPdfMovieActionDictionary* asMovieActionDictionary() const {ret
urn NULL;} | |
264 | |
265 virtual SkPdfMovieActivationDictionary* asMovieActivationDictionary() {return
NULL;} | |
266 virtual const SkPdfMovieActivationDictionary* asMovieActivationDictionary() co
nst {return NULL;} | |
267 | |
268 virtual SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() {return
NULL;} | |
269 virtual const SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() co
nst {return NULL;} | |
270 | |
271 virtual SkPdfMovieDictionary* asMovieDictionary() {return NULL;} | |
272 virtual const SkPdfMovieDictionary* asMovieDictionary() const {return NULL;} | |
273 | |
274 virtual SkPdfNameDictionary* asNameDictionary() {return NULL;} | |
275 virtual const SkPdfNameDictionary* asNameDictionary() const {return NULL;} | |
276 | |
277 virtual SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() {return NULL;} | |
278 virtual const SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() const {r
eturn NULL;} | |
279 | |
280 virtual SkPdfNamedActionsDictionary* asNamedActionsDictionary() {return NULL;} | |
281 virtual const SkPdfNamedActionsDictionary* asNamedActionsDictionary() const {r
eturn NULL;} | |
282 | |
283 virtual SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() {return NU
LL;} | |
284 virtual const SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() cons
t {return NULL;} | |
285 | |
286 virtual SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() {return
NULL;} | |
287 virtual const SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() co
nst {return NULL;} | |
288 | |
289 virtual SkPdfOpiVersionDictionary* asOpiVersionDictionary() {return NULL;} | |
290 virtual const SkPdfOpiVersionDictionary* asOpiVersionDictionary() const {retur
n NULL;} | |
291 | |
292 virtual SkPdfOutlineDictionary* asOutlineDictionary() {return NULL;} | |
293 virtual const SkPdfOutlineDictionary* asOutlineDictionary() const {return NULL
;} | |
294 | |
295 virtual SkPdfOutlineItemDictionary* asOutlineItemDictionary() {return NULL;} | |
296 virtual const SkPdfOutlineItemDictionary* asOutlineItemDictionary() const {ret
urn NULL;} | |
297 | |
298 virtual SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() {ret
urn NULL;} | |
299 virtual const SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary(
) const {return NULL;} | |
300 | |
301 virtual SkPdfPSXobjectDictionary* asPSXobjectDictionary() {return NULL;} | |
302 virtual const SkPdfPSXobjectDictionary* asPSXobjectDictionary() const {return
NULL;} | |
303 | |
304 virtual SkPdfPageLabelDictionary* asPageLabelDictionary() {return NULL;} | |
305 virtual const SkPdfPageLabelDictionary* asPageLabelDictionary() const {return
NULL;} | |
306 | |
307 virtual SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() {ret
urn NULL;} | |
308 virtual const SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary(
) const {return NULL;} | |
309 | |
310 virtual SkPdfPagePieceDictionary* asPagePieceDictionary() {return NULL;} | |
311 virtual const SkPdfPagePieceDictionary* asPagePieceDictionary() const {return
NULL;} | |
312 | |
313 virtual SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() {return NULL;} | |
314 virtual const SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() const {r
eturn NULL;} | |
315 | |
316 virtual SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() {return
NULL;} | |
317 virtual const SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() co
nst {return NULL;} | |
318 | |
319 virtual SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionar
y() {return NULL;} | |
320 virtual const SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDic
tionary() const {return NULL;} | |
321 | |
322 virtual SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() {return
NULL;} | |
323 virtual const SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() co
nst {return NULL;} | |
324 | |
325 virtual SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() {retur
n NULL;} | |
326 virtual const SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary()
const {return NULL;} | |
327 | |
328 virtual SkPdfReferenceDictionary* asReferenceDictionary() {return NULL;} | |
329 virtual const SkPdfReferenceDictionary* asReferenceDictionary() const {return
NULL;} | |
330 | |
331 virtual SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() {retur
n NULL;} | |
332 virtual const SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary()
const {return NULL;} | |
333 | |
334 virtual SkPdfResetFormActionDictionary* asResetFormActionDictionary() {return
NULL;} | |
335 virtual const SkPdfResetFormActionDictionary* asResetFormActionDictionary() co
nst {return NULL;} | |
336 | |
337 virtual SkPdfResourceDictionary* asResourceDictionary() {return NULL;} | |
338 virtual const SkPdfResourceDictionary* asResourceDictionary() const {return NU
LL;} | |
339 | |
340 virtual SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionar
y() {return NULL;} | |
341 virtual const SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDic
tionary() const {return NULL;} | |
342 | |
343 virtual SkPdfSeparationDictionary* asSeparationDictionary() {return NULL;} | |
344 virtual const SkPdfSeparationDictionary* asSeparationDictionary() const {retur
n NULL;} | |
345 | |
346 virtual SkPdfShadingDictionary* asShadingDictionary() {return NULL;} | |
347 virtual const SkPdfShadingDictionary* asShadingDictionary() const {return NULL
;} | |
348 | |
349 virtual SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return NULL;} | |
350 virtual const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {r
eturn NULL;} | |
351 | |
352 virtual SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return NULL;} | |
353 virtual const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {r
eturn NULL;} | |
354 | |
355 virtual SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return NULL;} | |
356 virtual const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {r
eturn NULL;} | |
357 | |
358 virtual SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return NULL;} | |
359 virtual const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {r
eturn NULL;} | |
360 | |
361 virtual SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return NULL;} | |
362 virtual const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {r
eturn NULL;} | |
363 | |
364 virtual SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return NULL;} | |
365 virtual const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {r
eturn NULL;} | |
366 | |
367 virtual SkPdfSignatureDictionary* asSignatureDictionary() {return NULL;} | |
368 virtual const SkPdfSignatureDictionary* asSignatureDictionary() const {return
NULL;} | |
369 | |
370 virtual SkPdfSoftMaskDictionary* asSoftMaskDictionary() {return NULL;} | |
371 virtual const SkPdfSoftMaskDictionary* asSoftMaskDictionary() const {return NU
LL;} | |
372 | |
373 virtual SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return NULL
;} | |
374 virtual const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const
{return NULL;} | |
375 | |
376 virtual SkPdfSoundActionDictionary* asSoundActionDictionary() {return NULL;} | |
377 virtual const SkPdfSoundActionDictionary* asSoundActionDictionary() const {ret
urn NULL;} | |
378 | |
379 virtual SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() {return
NULL;} | |
380 virtual const SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() co
nst {return NULL;} | |
381 | |
382 virtual SkPdfSoundObjectDictionary* asSoundObjectDictionary() {return NULL;} | |
383 virtual const SkPdfSoundObjectDictionary* asSoundObjectDictionary() const {ret
urn NULL;} | |
384 | |
385 virtual SkPdfSourceInformationDictionary* asSourceInformationDictionary() {ret
urn NULL;} | |
386 virtual const SkPdfSourceInformationDictionary* asSourceInformationDictionary(
) const {return NULL;} | |
387 | |
388 virtual SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() {return NU
LL;} | |
389 virtual const SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() cons
t {return NULL;} | |
390 | |
391 virtual SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDicti
onary() {return NULL;} | |
392 virtual const SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandle
rDictionary() const {return NULL;} | |
393 | |
394 virtual SkPdfStandardStructureDictionary* asStandardStructureDictionary() {ret
urn NULL;} | |
395 virtual const SkPdfStandardStructureDictionary* asStandardStructureDictionary(
) const {return NULL;} | |
396 | |
397 virtual SkPdfStreamCommonDictionary* asStreamCommonDictionary() {return NULL;} | |
398 virtual const SkPdfStreamCommonDictionary* asStreamCommonDictionary() const {r
eturn NULL;} | |
399 | |
400 virtual SkPdfStructureElementAccessDictionary* asStructureElementAccessDiction
ary() {return NULL;} | |
401 virtual const SkPdfStructureElementAccessDictionary* asStructureElementAccessD
ictionary() const {return NULL;} | |
402 | |
403 virtual SkPdfStructureElementDictionary* asStructureElementDictionary() {retur
n NULL;} | |
404 virtual const SkPdfStructureElementDictionary* asStructureElementDictionary()
const {return NULL;} | |
405 | |
406 virtual SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() {ret
urn NULL;} | |
407 virtual const SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary(
) const {return NULL;} | |
408 | |
409 virtual SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() {retur
n NULL;} | |
410 virtual const SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary()
const {return NULL;} | |
411 | |
412 virtual SkPdfTableAttributesDictionary* asTableAttributesDictionary() {return
NULL;} | |
413 virtual const SkPdfTableAttributesDictionary* asTableAttributesDictionary() co
nst {return NULL;} | |
414 | |
415 virtual SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() {return NU
LL;} | |
416 virtual const SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() cons
t {return NULL;} | |
417 | |
418 virtual SkPdfTextFieldDictionary* asTextFieldDictionary() {return NULL;} | |
419 virtual const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return
NULL;} | |
420 | |
421 virtual SkPdfThreadActionDictionary* asThreadActionDictionary() {return NULL;} | |
422 virtual const SkPdfThreadActionDictionary* asThreadActionDictionary() const {r
eturn NULL;} | |
423 | |
424 virtual SkPdfThreadDictionary* asThreadDictionary() {return NULL;} | |
425 virtual const SkPdfThreadDictionary* asThreadDictionary() const {return NULL;} | |
426 | |
427 virtual SkPdfTransitionDictionary* asTransitionDictionary() {return NULL;} | |
428 virtual const SkPdfTransitionDictionary* asTransitionDictionary() const {retur
n NULL;} | |
429 | |
430 virtual SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() {ret
urn NULL;} | |
431 virtual const SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary(
) const {return NULL;} | |
432 | |
433 virtual SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionar
y() {return NULL;} | |
434 virtual const SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDic
tionary() const {return NULL;} | |
435 | |
436 virtual SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStr
eamDictionary() {return NULL;} | |
437 virtual const SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppeara
nceStreamDictionary() const {return NULL;} | |
438 | |
439 virtual SkPdfType0FunctionDictionary* asType0FunctionDictionary() {return NULL
;} | |
440 virtual const SkPdfType0FunctionDictionary* asType0FunctionDictionary() const
{return NULL;} | |
441 | |
442 virtual SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() {return NU
LL;} | |
443 virtual const SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() cons
t {return NULL;} | |
444 | |
445 virtual SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() {return NU
LL;} | |
446 virtual const SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() cons
t {return NULL;} | |
447 | |
448 virtual SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() {return NULL
;} | |
449 virtual const SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() const
{return NULL;} | |
450 | |
451 virtual SkPdfType1PatternDictionary* asType1PatternDictionary() {return NULL;} | |
452 virtual const SkPdfType1PatternDictionary* asType1PatternDictionary() const {r
eturn NULL;} | |
453 | |
454 virtual SkPdfType2FunctionDictionary* asType2FunctionDictionary() {return NULL
;} | |
455 virtual const SkPdfType2FunctionDictionary* asType2FunctionDictionary() const
{return NULL;} | |
456 | |
457 virtual SkPdfType2PatternDictionary* asType2PatternDictionary() {return NULL;} | |
458 virtual const SkPdfType2PatternDictionary* asType2PatternDictionary() const {r
eturn NULL;} | |
459 | |
460 virtual SkPdfType3FunctionDictionary* asType3FunctionDictionary() {return NULL
;} | |
461 virtual const SkPdfType3FunctionDictionary* asType3FunctionDictionary() const
{return NULL;} | |
462 | |
463 virtual SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() {return NULL
;} | |
464 virtual const SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() const
{return NULL;} | |
465 | |
466 virtual SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() {return NULL
;} | |
467 virtual const SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() const
{return NULL;} | |
468 | |
469 virtual SkPdfURIActionDictionary* asURIActionDictionary() {return NULL;} | |
470 virtual const SkPdfURIActionDictionary* asURIActionDictionary() const {return
NULL;} | |
471 | |
472 virtual SkPdfURIDictionary* asURIDictionary() {return NULL;} | |
473 virtual const SkPdfURIDictionary* asURIDictionary() const {return NULL;} | |
474 | |
475 virtual SkPdfURLAliasDictionary* asURLAliasDictionary() {return NULL;} | |
476 virtual const SkPdfURLAliasDictionary* asURLAliasDictionary() const {return NU
LL;} | |
477 | |
478 virtual SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() {ret
urn NULL;} | |
479 virtual const SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary(
) const {return NULL;} | |
480 | |
481 virtual SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {ret
urn NULL;} | |
482 virtual const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary(
) const {return NULL;} | |
483 | |
484 virtual SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() {ret
urn NULL;} | |
485 virtual const SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary(
) const {return NULL;} | |
486 | |
487 virtual SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsD
ictionary() {return NULL;} | |
488 virtual const SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSet
tingsDictionary() const {return NULL;} | |
489 | |
490 virtual SkPdfWebCaptureDictionary* asWebCaptureDictionary() {return NULL;} | |
491 virtual const SkPdfWebCaptureDictionary* asWebCaptureDictionary() const {retur
n NULL;} | |
492 | |
493 virtual SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() {r
eturn NULL;} | |
494 virtual const SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionar
y() const {return NULL;} | |
495 | |
496 virtual SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionar
y() {return NULL;} | |
497 virtual const SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDic
tionary() const {return NULL;} | |
498 | |
499 virtual SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() {ret
urn NULL;} | |
500 virtual const SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary(
) const {return NULL;} | |
501 | |
502 virtual SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() {retur
n NULL;} | |
503 virtual const SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary()
const {return NULL;} | |
504 | |
505 virtual SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary()
{return NULL;} | |
506 virtual const SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDiction
ary() const {return NULL;} | |
507 | |
508 virtual SkPdfXObjectDictionary* asXObjectDictionary() {return NULL;} | |
509 virtual const SkPdfXObjectDictionary* asXObjectDictionary() const {return NULL
;} | |
510 | |
511 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} | |
512 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} | |
513 | |
514 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return NULL;} | |
515 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
NULL;} | |
516 | |
517 public: | |
518 private: | |
519 public: | |
520 SkPdfPageObjectDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObj
ect* podofoObj = NULL) : SkPdfDictionary(podofoDoc, podofoObj) {} | |
521 | |
522 SkPdfPageObjectDictionary(const SkPdfPageObjectDictionary& from) : SkPdfDictio
nary(from.fPodofoDoc, from.fPodofoObj) {} | |
523 | |
524 virtual bool valid() const {return true;} | |
525 | |
526 SkPdfPageObjectDictionary& operator=(const SkPdfPageObjectDictionary& from) {t
his->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *t
his;} | |
527 | |
528 /** (Required) The type of PDF object that this dictionary describes; must be | |
529 * Page for a page object. | |
530 **/ | |
531 bool has_Type() const { | |
532 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type"
, "", NULL)); | |
533 } | |
534 | |
535 std::string Type() const; | |
536 /** (Required; must be an indirect reference) The page tree node that is the im- | |
537 * mediate parent of this page object. | |
538 **/ | |
539 bool has_Parent() const { | |
540 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Paren
t", "", NULL)); | |
541 } | |
542 | |
543 SkPdfDictionary* Parent() const; | |
544 /** (Required if PieceInfo is present; optional otherwise; PDF 1.3) The date and | |
545 * time (see Section 3.8.2, "Dates") when the page's contents were most re- | |
546 * cently modified. If a page-piece dictionary (PieceInfo) is present, the | |
547 * modification date is used to ascertain which of the application data dic- | |
548 * tionaries that it contains correspond to the current content of the page | |
549 * (see Section 9.4, "Page-Piece Dictionaries"). | |
550 **/ | |
551 bool has_LastModified() const { | |
552 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LastM
odified", "", NULL)); | |
553 } | |
554 | |
555 SkPdfDate LastModified() const; | |
556 /** (Required; inheritable) A dictionary containing any resources required by | |
557 * the page (see Section 3.7.2, "Resource Dictionaries"). If the page requires | |
558 * no resources, the value of this entry should be an empty dictionary; omit- | |
559 * ting the entry entirely indicates that the resources are to be inherited fro
m | |
560 * an ancestor node in the page tree. | |
561 **/ | |
562 bool has_Resources() const { | |
563 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Resou
rces", "", NULL)); | |
564 } | |
565 | |
566 SkPdfDictionary* Resources() const; | |
567 /** (Required; inheritable) A rectangle (see Section 3.8.3, "Rectangles"), ex- | |
568 * pressed in default user space units, defining the boundaries of the physical | |
569 * medium on which the page is intended to be displayed or printed (see | |
570 * Section 9.10.1, "Page Boundaries"). | |
571 **/ | |
572 bool has_MediaBox() const { | |
573 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Media
Box", "", NULL)); | |
574 } | |
575 | |
576 SkRect* MediaBox() const; | |
577 /** (Optional; inheritable) A rectangle, expressed in default user space units, | |
578 * defining the visible region of default user space. When the page is dis- | |
579 * played or printed, its contents are to be clipped (cropped) to this rectangl
e | |
580 * and then imposed on the output medium in some implementation- | |
581 * defined manner (see Section 9.10.1, "Page Boundaries"). Default value: | |
582 * the value of MediaBox. | |
583 **/ | |
584 bool has_CropBox() const { | |
585 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CropB
ox", "", NULL)); | |
586 } | |
587 | |
588 SkRect* CropBox() const; | |
589 /** (Optional; PDF 1.3) A rectangle, expressed in default user space units, de- | |
590 * fining the region to which the contents of the page should be clipped | |
591 * when output in a production environment (see Section 9.10.1, "Page | |
592 * Boundaries"). Default value: the value of CropBox. | |
593 **/ | |
594 bool has_BleedBox() const { | |
595 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Bleed
Box", "", NULL)); | |
596 } | |
597 | |
598 SkRect* BleedBox() const; | |
599 /** (Optional; PDF 1.3) A rectangle, expressed in default user space units, de- | |
600 * fining the intended dimensions of the finished page after trimming (see | |
601 * Section 9.10.1, "Page Boundaries"). Default value: the value of CropBox. | |
602 **/ | |
603 bool has_TrimBox() const { | |
604 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TrimB
ox", "", NULL)); | |
605 } | |
606 | |
607 SkRect* TrimBox() const; | |
608 /** (Optional; PDF 1.3) A rectangle, expressed in default user space units, de- | |
609 * fining the extent of the page's meaningful content (including potential | |
610 * white space) as intended by the page's creator (see Section 9.10.1, "Page | |
611 * Boundaries"). Default value: the value of CropBox. | |
612 **/ | |
613 bool has_ArtBox() const { | |
614 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ArtBo
x", "", NULL)); | |
615 } | |
616 | |
617 SkRect* ArtBox() const; | |
618 /** (Optional) A box color information dictionary specifying the colors and | |
619 * other visual characteristics to be used in displaying guidelines on the | |
620 * screen for the various page boundaries (see "Display of Page Boundaries" | |
621 * on page 679). If this entry is absent, the viewer application should use its | |
622 * own current default settings. | |
623 **/ | |
624 bool has_BoxColorInfo() const { | |
625 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BoxCo
lorInfo", "", NULL)); | |
626 } | |
627 | |
628 SkPdfDictionary* BoxColorInfo() const; | |
629 /** (Optional) A content stream (see Section 3.7.1, "Content Streams") de- | |
630 * scribing the contents of this page. If this entry is absent, the page is emp
ty. | |
631 * The value may be either a single stream or an array of streams. If it is an | |
632 * array, the effect is as if all of the streams in the array were concatenated
, in | |
633 * order, to form a single stream. This allows a program generating a PDF | |
634 * file to create image objects and other resources as they occur, even though | |
635 * they interrupt the content stream. The division between streams may | |
636 * occur only at the boundaries between lexical tokens (see Section 3.1, "Lex- | |
637 * ical Conventions"), but is unrelated to the page's logical content or orga- | |
638 * nization. Applications that consume or produce PDF files are not required | |
639 * to preserve the existing structure of the Contents array. (See implementa- | |
640 * tion note 22 in Appendix H.) | |
641 **/ | |
642 bool has_Contents() const { | |
643 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Conte
nts", "", NULL)); | |
644 } | |
645 | |
646 bool isContentsAStream() const { | |
647 SkPdfObject* ret = NULL; | |
648 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Contents
", "", &ret)) return false; | |
649 return ret->podofo()->HasStream(); | |
650 } | |
651 | |
652 SkPdfStream* getContentsAsStream() const; | |
653 bool isContentsAArray() const { | |
654 SkPdfObject* ret = NULL; | |
655 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Contents
", "", &ret)) return false; | |
656 return ret->podofo()->GetDataType() == ePdfDataType_Array; | |
657 } | |
658 | |
659 SkPdfArray* getContentsAsArray() const; | |
660 /** (Optional; inheritable) The number of degrees by which the page should | |
661 * be rotated clockwise when displayed or printed. The value must be a mul- | |
662 * tiple of 90. Default value: 0. | |
663 **/ | |
664 bool has_Rotate() const { | |
665 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rotat
e", "", NULL)); | |
666 } | |
667 | |
668 long Rotate() const; | |
669 /** (Optional; PDF 1.4) A group attributes dictionary specifying the attributes | |
670 * of the page's page group for use in the transparent imaging model (see | |
671 * Sections 7.3.6, "Page Group," and 7.5.5, "Transparency Group XObjects"). | |
672 **/ | |
673 bool has_Group() const { | |
674 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Group
", "", NULL)); | |
675 } | |
676 | |
677 SkPdfDictionary* Group() const; | |
678 /** (Optional) A stream object defining the page's thumbnail image (see Sec- | |
679 * tion 8.2.3, "Thumbnail Images"). | |
680 **/ | |
681 bool has_Thumb() const { | |
682 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Thumb
", "", NULL)); | |
683 } | |
684 | |
685 SkPdfStream* Thumb() const; | |
686 /** (Optional; PDF 1.1; recommended if the page contains article beads) An ar- | |
687 * ray of indirect references to article beads appearing on the page (see Sec- | |
688 * tion 8.3.2, "Articles"; see also implementation note 23 in Appendix H). | |
689 * The beads are listed in the array in natural reading order. | |
690 **/ | |
691 bool has_B() const { | |
692 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "
", NULL)); | |
693 } | |
694 | |
695 SkPdfArray* B() const; | |
696 /** (Optional; PDF 1.1) The page's display duration (also called its advance | |
697 * timing): the maximum length of time, in seconds, that the page will be | |
698 * displayed during presentations before the viewer application automati- | |
699 * cally advances to the next page (see Section 8.3.3, "Presentations"). By | |
700 * default, the viewer does not advance automatically. | |
701 **/ | |
702 bool has_Dur() const { | |
703 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Dur",
"", NULL)); | |
704 } | |
705 | |
706 double Dur() const; | |
707 /** (Optional; PDF 1.1) A transition dictionary describing the transition effect | |
708 * to be used when displaying the page during presentations (see Section | |
709 * 8.3.3, "Presentations"). | |
710 **/ | |
711 bool has_Trans() const { | |
712 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Trans
", "", NULL)); | |
713 } | |
714 | |
715 SkPdfDictionary* Trans() const; | |
716 /** (Optional) An array of annotation dictionaries representing annotations | |
717 * associated with the page (see Section 8.4, "Annotations"). | |
718 **/ | |
719 bool has_Annots() const { | |
720 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Annot
s", "", NULL)); | |
721 } | |
722 | |
723 SkPdfArray* Annots() const; | |
724 /** (Optional; PDF 1.2) An additional-actions dictionary defining actions to | |
725 * be performed when the page is opened or closed (see Section 8.5.2, "Trig- | |
726 * ger Events"; see also implementation note 24 in Appendix H). | |
727 **/ | |
728 bool has_AA() const { | |
729 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AA",
"", NULL)); | |
730 } | |
731 | |
732 SkPdfDictionary* AA() const; | |
733 /** (Optional; PDF 1.4) A metadata stream containing metadata for the page | |
734 * (see Section 9.2.2, "Metadata Streams"). | |
735 **/ | |
736 bool has_Metadata() const { | |
737 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metad
ata", "", NULL)); | |
738 } | |
739 | |
740 SkPdfStream* Metadata() const; | |
741 /** (Optional; PDF 1.3) A page-piece dictionary associated with the page (see | |
742 * Section 9.4, "Page-Piece Dictionaries"). | |
743 **/ | |
744 bool has_PieceInfo() const { | |
745 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Piece
Info", "", NULL)); | |
746 } | |
747 | |
748 SkPdfDictionary* PieceInfo() const; | |
749 /** (Required if the page contains structural content items; PDF 1.3) The inte- | |
750 * ger key of the page's entry in the structural parent tree (see "Finding Stru
c- | |
751 * ture Elements from Content Items" on page 600). | |
752 **/ | |
753 bool has_StructParents() const { | |
754 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Struc
tParents", "", NULL)); | |
755 } | |
756 | |
757 long StructParents() const; | |
758 /** (Optional; PDF 1.3; indirect reference preferred) The digital identifier of
the | |
759 * page's parent Web Capture content set (see Section 9.9.5, "Object At- | |
760 * tributes Related to Web Capture"). | |
761 **/ | |
762 bool has_ID() const { | |
763 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ID",
"", NULL)); | |
764 } | |
765 | |
766 std::string ID() const; | |
767 /** (Optional; PDF 1.3) The page's preferred zoom (magnification) factor: the | |
768 * factor by which it should be scaled to achieve the "natural" display magni- | |
769 * fication (see Section 9.9.5, "Object Attributes Related to Web Capture"). | |
770 **/ | |
771 bool has_PZ() const { | |
772 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PZ",
"", NULL)); | |
773 } | |
774 | |
775 double PZ() const; | |
776 /** (Optional; PDF 1.3) A separation dictionary containing information need- | |
777 * ed to generate color separations for the page (see Section 9.10.3, "Separa- | |
778 * tion Dictionaries"). | |
779 **/ | |
780 bool has_SeparationInfo() const { | |
781 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Separ
ationInfo", "", NULL)); | |
782 } | |
783 | |
784 SkPdfDictionary* SeparationInfo() const; | |
785 }; | |
786 | |
787 #endif // __DEFINED__SkPdfPageObjectDictionary | |
OLD | NEW |