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

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfCatalogDictionary_autogen.cpp

Issue 18404006: remove now all the files fro depot for PDF API since we generate them at build time (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 "SkPdfCatalogDictionary_autogen.h"
2
3 std::string SkPdfCatalogDictionary::Type() const {
4 std::string ret;
5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r et)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return "";
8 }
9
10 std::string SkPdfCatalogDictionary::Version() const {
11 std::string ret;
12 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Version", "", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return "";
15 }
16
17 SkPdfDictionary* SkPdfCatalogDictionary::Pages() const {
18 SkPdfDictionary* ret;
19 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pages", "", &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return NULL;
22 }
23
24 double SkPdfCatalogDictionary::getPageLabelsAsNumber() const {
25 double ret = 0;
26 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PageLabels" , "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return 0;
29 }
30
31 SkPdfTree* SkPdfCatalogDictionary::getPageLabelsAsTree() const {
32 SkPdfTree* ret = NULL;
33 if (TreeFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PageLabels", "", &ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return NULL;
36 }
37
38 SkPdfDictionary* SkPdfCatalogDictionary::Names() const {
39 SkPdfDictionary* ret;
40 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Names", "", &ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return NULL;
43 }
44
45 SkPdfDictionary* SkPdfCatalogDictionary::Dests() const {
46 SkPdfDictionary* ret;
47 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Dests", "", &ret)) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return NULL;
50 }
51
52 SkPdfDictionary* SkPdfCatalogDictionary::ViewerPreferences() const {
53 SkPdfDictionary* ret;
54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ViewerP references", "", &ret)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return NULL;
57 }
58
59 std::string SkPdfCatalogDictionary::PageLayout() const {
60 std::string ret;
61 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PageLayout", "", &ret)) return ret;
62 // TODO(edisonn): warn about missing required field, assert for known good pdf s
63 return "";
64 }
65
66 std::string SkPdfCatalogDictionary::PageMode() const {
67 std::string ret;
68 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PageMode", "" , &ret)) return ret;
69 // TODO(edisonn): warn about missing required field, assert for known good pdf s
70 return "";
71 }
72
73 SkPdfDictionary* SkPdfCatalogDictionary::Outlines() const {
74 SkPdfDictionary* ret;
75 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Outline s", "", &ret)) return ret;
76 // TODO(edisonn): warn about missing required field, assert for known good pdf s
77 return NULL;
78 }
79
80 SkPdfArray* SkPdfCatalogDictionary::Threads() const {
81 SkPdfArray* ret;
82 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Threads", "" , &ret)) return ret;
83 // TODO(edisonn): warn about missing required field, assert for known good pdf s
84 return NULL;
85 }
86
87 SkPdfArray* SkPdfCatalogDictionary::getOpenActionAsArray() const {
88 SkPdfArray* ret = NULL;
89 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OpenAction", "", &ret)) return ret;
90 // TODO(edisonn): warn about missing required field, assert for known good pdf s
91 return NULL;
92 }
93
94 SkPdfDictionary* SkPdfCatalogDictionary::getOpenActionAsDictionary() const {
95 SkPdfDictionary* ret = NULL;
96 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OpenAct ion", "", &ret)) return ret;
97 // TODO(edisonn): warn about missing required field, assert for known good pdf s
98 return NULL;
99 }
100
101 SkPdfDictionary* SkPdfCatalogDictionary::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
108 SkPdfDictionary* SkPdfCatalogDictionary::URI() const {
109 SkPdfDictionary* ret;
110 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URI", " ", &ret)) return ret;
111 // TODO(edisonn): warn about missing required field, assert for known good pdf s
112 return NULL;
113 }
114
115 SkPdfDictionary* SkPdfCatalogDictionary::AcroForm() const {
116 SkPdfDictionary* ret;
117 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AcroFor m", "", &ret)) return ret;
118 // TODO(edisonn): warn about missing required field, assert for known good pdf s
119 return NULL;
120 }
121
122 SkPdfStream* SkPdfCatalogDictionary::Metadata() const {
123 SkPdfStream* ret;
124 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
125 // TODO(edisonn): warn about missing required field, assert for known good pdf s
126 return NULL;
127 }
128
129 SkPdfDictionary* SkPdfCatalogDictionary::StructTreeRoot() const {
130 SkPdfDictionary* ret;
131 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructT reeRoot", "", &ret)) return ret;
132 // TODO(edisonn): warn about missing required field, assert for known good pdf s
133 return NULL;
134 }
135
136 SkPdfDictionary* SkPdfCatalogDictionary::MarkInfo() const {
137 SkPdfDictionary* ret;
138 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "MarkInf o", "", &ret)) return ret;
139 // TODO(edisonn): warn about missing required field, assert for known good pdf s
140 return NULL;
141 }
142
143 std::string SkPdfCatalogDictionary::Lang() const {
144 std::string ret;
145 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Lang", "", &ret)) return ret;
146 // TODO(edisonn): warn about missing required field, assert for known good pdf s
147 return "";
148 }
149
150 SkPdfDictionary* SkPdfCatalogDictionary::SpiderInfo() const {
151 SkPdfDictionary* ret;
152 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SpiderI nfo", "", &ret)) return ret;
153 // TODO(edisonn): warn about missing required field, assert for known good pdf s
154 return NULL;
155 }
156
157 SkPdfArray* SkPdfCatalogDictionary::OutputIntents() const {
158 SkPdfArray* ret;
159 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OutputIntent s", "", &ret)) return ret;
160 // TODO(edisonn): warn about missing required field, assert for known good pdf s
161 return NULL;
162 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698