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

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfResourceDictionary_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 "SkPdfResourceDictionary_autogen.h"
2
3 SkPdfDictionary* SkPdfResourceDictionary::ExtGState() const {
4 SkPdfDictionary* ret;
5 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGSta te", "", &ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return NULL;
8 }
9
10 SkPdfDictionary* SkPdfResourceDictionary::ColorSpace() const {
11 SkPdfDictionary* ret;
12 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ColorSp ace", "", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return NULL;
15 }
16
17 SkPdfDictionary* SkPdfResourceDictionary::Pattern() const {
18 SkPdfDictionary* ret;
19 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pattern ", "", &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return NULL;
22 }
23
24 SkPdfDictionary* SkPdfResourceDictionary::Shading() const {
25 SkPdfDictionary* ret;
26 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Shading ", "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return NULL;
29 }
30
31 SkPdfDictionary* SkPdfResourceDictionary::XObject() const {
32 SkPdfDictionary* ret;
33 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "XObject ", "", &ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return NULL;
36 }
37
38 SkPdfDictionary* SkPdfResourceDictionary::Font() const {
39 SkPdfDictionary* ret;
40 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Font", "", &ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return NULL;
43 }
44
45 SkPdfArray* SkPdfResourceDictionary::ProcSet() const {
46 SkPdfArray* ret;
47 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ProcSet", "" , &ret)) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return NULL;
50 }
51
52 SkPdfDictionary* SkPdfResourceDictionary::Properties() const {
53 SkPdfDictionary* ret;
54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Propert ies", "", &ret)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return NULL;
57 }
58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698