OLD | NEW |
| (Empty) |
1 #include "SkPdfFileSpecificationDictionary_autogen.h" | |
2 | |
3 std::string SkPdfFileSpecificationDictionary::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 SkPdfFileSpecificationDictionary::FS() const { | |
11 std::string ret; | |
12 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FS", "", &ret
)) return ret; | |
13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
14 return ""; | |
15 } | |
16 | |
17 std::string SkPdfFileSpecificationDictionary::F() const { | |
18 std::string ret; | |
19 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &re
t)) return ret; | |
20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
21 return ""; | |
22 } | |
23 | |
24 std::string SkPdfFileSpecificationDictionary::DOS() const { | |
25 std::string ret; | |
26 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DOS", "", &
ret)) return ret; | |
27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
28 return ""; | |
29 } | |
30 | |
31 std::string SkPdfFileSpecificationDictionary::Mac() const { | |
32 std::string ret; | |
33 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Mac", "", &
ret)) return ret; | |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
35 return ""; | |
36 } | |
37 | |
38 std::string SkPdfFileSpecificationDictionary::Unix() const { | |
39 std::string ret; | |
40 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Unix", "",
&ret)) return ret; | |
41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
42 return ""; | |
43 } | |
44 | |
45 SkPdfArray* SkPdfFileSpecificationDictionary::ID() const { | |
46 SkPdfArray* ret; | |
47 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ID", "", &re
t)) return ret; | |
48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
49 return NULL; | |
50 } | |
51 | |
52 bool SkPdfFileSpecificationDictionary::V() const { | |
53 bool ret; | |
54 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", &ret)
) return ret; | |
55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
56 return false; | |
57 } | |
58 | |
59 SkPdfDictionary* SkPdfFileSpecificationDictionary::EF() const { | |
60 SkPdfDictionary* ret; | |
61 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EF", ""
, &ret)) return ret; | |
62 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
63 return NULL; | |
64 } | |
65 | |
66 SkPdfDictionary* SkPdfFileSpecificationDictionary::RF() const { | |
67 SkPdfDictionary* ret; | |
68 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RF", ""
, &ret)) return ret; | |
69 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
70 return NULL; | |
71 } | |
OLD | NEW |