OLD | NEW |
1 #include "SkPdfEmbeddedFileParameterDictionary_autogen.h" | 1 #include "SkPdfEmbeddedFileParameterDictionary_autogen.h" |
2 | 2 |
3 long SkPdfEmbeddedFileParameterDictionary::Size() const { | 3 long SkPdfEmbeddedFileParameterDictionary::Size() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Size", "", &r
et)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Size", "", &r
et)) 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 0; | 7 return 0; |
8 } | 8 } |
9 | 9 |
10 SkPdfDate SkPdfEmbeddedFileParameterDictionary::CreationDate() const { | 10 SkPdfDate SkPdfEmbeddedFileParameterDictionary::CreationDate() const { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
28 return NULL; | 28 return NULL; |
29 } | 29 } |
30 | 30 |
31 std::string SkPdfEmbeddedFileParameterDictionary::CheckSum() const { | 31 std::string SkPdfEmbeddedFileParameterDictionary::CheckSum() const { |
32 std::string ret; | 32 std::string ret; |
33 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CheckSum",
"", &ret)) return ret; | 33 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CheckSum",
"", &ret)) return ret; |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
35 return ""; | 35 return ""; |
36 } | 36 } |
| 37 |
OLD | NEW |