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

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfFDFFieldDictionary_autogen.cpp

Issue 17856004: refactoring for pdf viewer lib (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 "SkPdfFDFFieldDictionary_autogen.h"
2
3 SkPdfArray* SkPdfFDFFieldDictionary::Kids() const {
4 SkPdfArray* ret;
5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Kids", "", & ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return NULL;
8 }
9
10 std::string SkPdfFDFFieldDictionary::T() const {
11 std::string ret;
12 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &re t)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return "";
15 }
16
17 SkPdfObject* SkPdfFDFFieldDictionary::V() const {
18 SkPdfObject* ret;
19 if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", &re t)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return NULL;
22 }
23
24 long SkPdfFDFFieldDictionary::Ff() const {
25 long ret;
26 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Ff", "", &ret )) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return 0;
29 }
30
31 long SkPdfFDFFieldDictionary::SetFf() const {
32 long ret;
33 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SetFf", "", & ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return 0;
36 }
37
38 long SkPdfFDFFieldDictionary::ClrFf() const {
39 long ret;
40 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ClrFf", "", & ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return 0;
43 }
44
45 long SkPdfFDFFieldDictionary::F() const {
46 long ret;
47 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret) ) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return 0;
50 }
51
52 long SkPdfFDFFieldDictionary::SetF() const {
53 long ret;
54 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SetF", "", &r et)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return 0;
57 }
58
59 long SkPdfFDFFieldDictionary::ClrF() const {
60 long ret;
61 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ClrF", "", &r et)) return ret;
62 // TODO(edisonn): warn about missing required field, assert for known good pdf s
63 return 0;
64 }
65
66 SkPdfDictionary* SkPdfFDFFieldDictionary::AP() const {
67 SkPdfDictionary* ret;
68 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AP", "" , &ret)) return ret;
69 // TODO(edisonn): warn about missing required field, assert for known good pdf s
70 return NULL;
71 }
72
73 SkPdfDictionary* SkPdfFDFFieldDictionary::APRef() const {
74 SkPdfDictionary* ret;
75 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "APRef", "", &ret)) return ret;
76 // TODO(edisonn): warn about missing required field, assert for known good pdf s
77 return NULL;
78 }
79
80 SkPdfDictionary* SkPdfFDFFieldDictionary::IF() const {
81 SkPdfDictionary* ret;
82 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IF", "" , &ret)) return ret;
83 // TODO(edisonn): warn about missing required field, assert for known good pdf s
84 return NULL;
85 }
86
87 SkPdfArray* SkPdfFDFFieldDictionary::Opt() const {
88 SkPdfArray* ret;
89 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Opt", "", &r et)) return ret;
90 // TODO(edisonn): warn about missing required field, assert for known good pdf s
91 return NULL;
92 }
93
94 SkPdfDictionary* SkPdfFDFFieldDictionary::A() const {
95 SkPdfDictionary* ret;
96 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "A", "", &ret)) return ret;
97 // TODO(edisonn): warn about missing required field, assert for known good pdf s
98 return NULL;
99 }
100
101 SkPdfDictionary* SkPdfFDFFieldDictionary::AA() const {
102 SkPdfDictionary* ret;
103 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AA", "" , &ret)) return ret;
104 // TODO(edisonn): warn about missing required field, assert for known good pdf s
105 return NULL;
106 }
107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698