OLD | NEW |
1 #include "SkPdfFDFPageDictionary_autogen.h" | 1 #include "SkPdfFDFPageDictionary_autogen.h" |
2 | 2 |
3 SkPdfArray* SkPdfFDFPageDictionary::Templates() const { | 3 SkPdfArray* SkPdfFDFPageDictionary::Templates() const { |
4 SkPdfArray* ret; | 4 SkPdfArray* ret; |
5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Templates",
"", &ret)) return ret; | 5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Templates",
"", &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 NULL; | 7 return NULL; |
8 } | 8 } |
9 | 9 |
10 SkPdfDictionary* SkPdfFDFPageDictionary::Info() const { | 10 SkPdfDictionary* SkPdfFDFPageDictionary::Info() const { |
11 SkPdfDictionary* ret; | 11 SkPdfDictionary* ret; |
12 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Info",
"", &ret)) return ret; | 12 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Info",
"", &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 } |
OLD | NEW |