OLD | NEW |
1 #include "SkPdfThreadActionDictionary_autogen.h" | 1 #include "SkPdfThreadActionDictionary_autogen.h" |
2 | 2 |
3 std::string SkPdfThreadActionDictionary::S() const { | 3 std::string SkPdfThreadActionDictionary::S() const { |
4 std::string ret; | 4 std::string ret; |
5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)
) return ret; | 5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)
) return ret; |
6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
7 return ""; | 7 return ""; |
8 } | 8 } |
9 | 9 |
10 SkPdfFileSpec SkPdfThreadActionDictionary::F() const { | 10 SkPdfFileSpec SkPdfThreadActionDictionary::F() const { |
(...skipping 30 matching lines...) Expand all Loading... |
41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
42 return NULL; | 42 return NULL; |
43 } | 43 } |
44 | 44 |
45 long SkPdfThreadActionDictionary::getBAsInteger() const { | 45 long SkPdfThreadActionDictionary::getBAsInteger() const { |
46 long ret = 0; | 46 long ret = 0; |
47 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "", &ret)
) return ret; | 47 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "", &ret)
) return ret; |
48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
49 return 0; | 49 return 0; |
50 } | 50 } |
| 51 |
OLD | NEW |