Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp

Issue 22900010: pdfviewer: check in pdfapi classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #include "SkPdfCcittfaxdecodeFilterDictionary_autogen.h"
2
3
4 #include "SkPdfNativeDoc.h"
5 int64_t SkPdfCcittfaxdecodeFilterDictionary::K(SkPdfNativeDoc* doc) {
6 SkPdfNativeObject* ret = get("K", "");
7 if (doc) {ret = doc->resolveReference(ret);}
8 if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->intValue();
9 // TODO(edisonn): warn about missing default value for optional fields
10 return 0;
11 }
12
13 bool SkPdfCcittfaxdecodeFilterDictionary::has_K() const {
14 return get("K", "") != NULL;
15 }
16
17 bool SkPdfCcittfaxdecodeFilterDictionary::EndOfLine(SkPdfNativeDoc* doc) {
18 SkPdfNativeObject* ret = get("EndOfLine", "");
19 if (doc) {ret = doc->resolveReference(ret);}
20 if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->boolValue();
21 // TODO(edisonn): warn about missing default value for optional fields
22 return false;
23 }
24
25 bool SkPdfCcittfaxdecodeFilterDictionary::has_EndOfLine() const {
26 return get("EndOfLine", "") != NULL;
27 }
28
29 bool SkPdfCcittfaxdecodeFilterDictionary::EncodedByteAlign(SkPdfNativeDoc* doc) {
30 SkPdfNativeObject* ret = get("EncodedByteAlign", "");
31 if (doc) {ret = doc->resolveReference(ret);}
32 if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->boolValue();
33 // TODO(edisonn): warn about missing default value for optional fields
34 return false;
35 }
36
37 bool SkPdfCcittfaxdecodeFilterDictionary::has_EncodedByteAlign() const {
38 return get("EncodedByteAlign", "") != NULL;
39 }
40
41 int64_t SkPdfCcittfaxdecodeFilterDictionary::Columns(SkPdfNativeDoc* doc) {
42 SkPdfNativeObject* ret = get("Columns", "");
43 if (doc) {ret = doc->resolveReference(ret);}
44 if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->intValue();
45 // TODO(edisonn): warn about missing default value for optional fields
46 return 0;
47 }
48
49 bool SkPdfCcittfaxdecodeFilterDictionary::has_Columns() const {
50 return get("Columns", "") != NULL;
51 }
52
53 int64_t SkPdfCcittfaxdecodeFilterDictionary::Rows(SkPdfNativeDoc* doc) {
54 SkPdfNativeObject* ret = get("Rows", "");
55 if (doc) {ret = doc->resolveReference(ret);}
56 if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->intValue();
57 // TODO(edisonn): warn about missing default value for optional fields
58 return 0;
59 }
60
61 bool SkPdfCcittfaxdecodeFilterDictionary::has_Rows() const {
62 return get("Rows", "") != NULL;
63 }
64
65 bool SkPdfCcittfaxdecodeFilterDictionary::EndOfBlock(SkPdfNativeDoc* doc) {
66 SkPdfNativeObject* ret = get("EndOfBlock", "");
67 if (doc) {ret = doc->resolveReference(ret);}
68 if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->boolValue();
69 // TODO(edisonn): warn about missing default value for optional fields
70 return false;
71 }
72
73 bool SkPdfCcittfaxdecodeFilterDictionary::has_EndOfBlock() const {
74 return get("EndOfBlock", "") != NULL;
75 }
76
77 bool SkPdfCcittfaxdecodeFilterDictionary::BlackIs1(SkPdfNativeDoc* doc) {
78 SkPdfNativeObject* ret = get("BlackIs1", "");
79 if (doc) {ret = doc->resolveReference(ret);}
80 if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->boolValue();
81 // TODO(edisonn): warn about missing default value for optional fields
82 return false;
83 }
84
85 bool SkPdfCcittfaxdecodeFilterDictionary::has_BlackIs1() const {
86 return get("BlackIs1", "") != NULL;
87 }
88
89 int64_t SkPdfCcittfaxdecodeFilterDictionary::DamagedRowsBeforeError(SkPdfNativeD oc* doc) {
90 SkPdfNativeObject* ret = get("DamagedRowsBeforeError", "");
91 if (doc) {ret = doc->resolveReference(ret);}
92 if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->i sReference())) return ret->intValue();
93 // TODO(edisonn): warn about missing default value for optional fields
94 return 0;
95 }
96
97 bool SkPdfCcittfaxdecodeFilterDictionary::has_DamagedRowsBeforeError() const {
98 return get("DamagedRowsBeforeError", "") != NULL;
99 }
100
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698