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

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfCIDFontDictionary_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 "SkPdfCIDFontDictionary_autogen.h"
2
3 std::string SkPdfCIDFontDictionary::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 SkPdfCIDFontDictionary::Subtype() const {
11 std::string ret;
12 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return "";
15 }
16
17 std::string SkPdfCIDFontDictionary::BaseFont() const {
18 std::string ret;
19 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BaseFont", "" , &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return "";
22 }
23
24 SkPdfDictionary* SkPdfCIDFontDictionary::CIDSystemInfo() const {
25 SkPdfDictionary* ret;
26 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSyst emInfo", "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return NULL;
29 }
30
31 SkPdfFontDescriptorDictionary* SkPdfCIDFontDictionary::FontDescriptor() const {
32 SkPdfFontDescriptorDictionary* ret;
33 if (FontDescriptorDictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictiona ry(), "FontDescriptor", "", &ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return NULL;
36 }
37
38 long SkPdfCIDFontDictionary::DW() const {
39 long ret;
40 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DW", "", &ret )) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return 0;
43 }
44
45 SkPdfArray* SkPdfCIDFontDictionary::W() const {
46 SkPdfArray* ret;
47 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", &ret )) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return NULL;
50 }
51
52 SkPdfArray* SkPdfCIDFontDictionary::DW2() const {
53 SkPdfArray* ret;
54 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DW2", "", &r et)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return NULL;
57 }
58
59 SkPdfArray* SkPdfCIDFontDictionary::W2() const {
60 SkPdfArray* ret;
61 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W2", "", &re t)) return ret;
62 // TODO(edisonn): warn about missing required field, assert for known good pdf s
63 return NULL;
64 }
65
66 SkPdfStream* SkPdfCIDFontDictionary::getCIDToGIDMapAsStream() const {
67 SkPdfStream* ret = NULL;
68 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap ", "", &ret)) return ret;
69 // TODO(edisonn): warn about missing required field, assert for known good pdf s
70 return NULL;
71 }
72
73 std::string SkPdfCIDFontDictionary::getCIDToGIDMapAsName() const {
74 std::string ret = "";
75 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap", "", &ret)) return ret;
76 // TODO(edisonn): warn about missing required field, assert for known good pdf s
77 return "";
78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698