OLD | NEW |
1 #include "SkPdfEmbeddedFontStreamDictionary_autogen.h" | 1 #include "SkPdfEmbeddedFontStreamDictionary_autogen.h" |
2 | 2 |
3 long SkPdfEmbeddedFontStreamDictionary::Length1() const { | 3 long SkPdfEmbeddedFontStreamDictionary::Length1() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length1", "",
&ret)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length1", "",
&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 0; | 7 return 0; |
8 } | 8 } |
9 | 9 |
10 long SkPdfEmbeddedFontStreamDictionary::Length2() const { | 10 long SkPdfEmbeddedFontStreamDictionary::Length2() 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 ""; | 28 return ""; |
29 } | 29 } |
30 | 30 |
31 SkPdfStream* SkPdfEmbeddedFontStreamDictionary::Metadata() const { | 31 SkPdfStream* SkPdfEmbeddedFontStreamDictionary::Metadata() const { |
32 SkPdfStream* ret; | 32 SkPdfStream* ret; |
33 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata",
"", &ret)) return ret; | 33 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata",
"", &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 NULL; | 35 return NULL; |
36 } | 36 } |
OLD | NEW |