OLD | NEW |
1 #include "SkPdfApplicationDataDictionary_autogen.h" | 1 #include "SkPdfApplicationDataDictionary_autogen.h" |
2 | 2 |
3 SkPdfDate SkPdfApplicationDataDictionary::LastModified() const { | 3 SkPdfDate SkPdfApplicationDataDictionary::LastModified() const { |
4 SkPdfDate ret; | 4 SkPdfDate ret; |
5 if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LastModified"
, "", &ret)) return ret; | 5 if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LastModified"
, "", &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 SkPdfDate(); | 7 return SkPdfDate(); |
8 } | 8 } |
9 | 9 |
10 SkPdfObject* SkPdfApplicationDataDictionary::Private() const { | 10 SkPdfObject* SkPdfApplicationDataDictionary::Private() const { |
11 SkPdfObject* ret; | 11 SkPdfObject* ret; |
12 if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Private", "
", &ret)) return ret; | 12 if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Private", "
", &ret)) return ret; |
13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
14 return NULL; | 14 return NULL; |
15 } | 15 } |
| 16 |
OLD | NEW |