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

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStreamCommonDictionary_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 "SkPdfStreamCommonDictionary_autogen.h"
2
3 long SkPdfStreamCommonDictionary::Length() const {
4 long ret;
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length", "", &ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return 0;
8 }
9
10 std::string SkPdfStreamCommonDictionary::getFilterAsName() const {
11 std::string ret = "";
12 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Filter", "", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return "";
15 }
16
17 SkPdfArray* SkPdfStreamCommonDictionary::getFilterAsArray() const {
18 SkPdfArray* ret = NULL;
19 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Filter", "", &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return NULL;
22 }
23
24 SkPdfDictionary* SkPdfStreamCommonDictionary::getDecodeParmsAsDictionary() const {
25 SkPdfDictionary* ret = NULL;
26 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DecodeP arms", "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return NULL;
29 }
30
31 SkPdfArray* SkPdfStreamCommonDictionary::getDecodeParmsAsArray() const {
32 SkPdfArray* ret = NULL;
33 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DecodeParms" , "", &ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return NULL;
36 }
37
38 SkPdfFileSpec SkPdfStreamCommonDictionary::F() const {
39 SkPdfFileSpec ret;
40 if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", & ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return SkPdfFileSpec();
43 }
44
45 std::string SkPdfStreamCommonDictionary::getFFilterAsName() const {
46 std::string ret = "";
47 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FFilter", "", &ret)) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return "";
50 }
51
52 SkPdfArray* SkPdfStreamCommonDictionary::getFFilterAsArray() const {
53 SkPdfArray* ret = NULL;
54 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FFilter", "" , &ret)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return NULL;
57 }
58
59 SkPdfDictionary* SkPdfStreamCommonDictionary::getFDecodeParmsAsDictionary() cons t {
60 SkPdfDictionary* ret = NULL;
61 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FDecode Parms", "", &ret)) return ret;
62 // TODO(edisonn): warn about missing required field, assert for known good pdf s
63 return NULL;
64 }
65
66 SkPdfArray* SkPdfStreamCommonDictionary::getFDecodeParmsAsArray() const {
67 SkPdfArray* ret = NULL;
68 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FDecodeParms ", "", &ret)) return ret;
69 // TODO(edisonn): warn about missing required field, assert for known good pdf s
70 return NULL;
71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698