OLD | NEW |
1 #include "SkPdfIccProfileStreamDictionary_autogen.h" | 1 #include "SkPdfIccProfileStreamDictionary_autogen.h" |
2 | 2 |
3 long SkPdfIccProfileStreamDictionary::N() const { | 3 long SkPdfIccProfileStreamDictionary::N() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)
) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &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 SkPdfArray* SkPdfIccProfileStreamDictionary::getAlternateAsArray() const { | 10 SkPdfArray* SkPdfIccProfileStreamDictionary::getAlternateAsArray() 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 SkPdfStream* SkPdfIccProfileStreamDictionary::Metadata() const { | 31 SkPdfStream* SkPdfIccProfileStreamDictionary::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 } |
| 37 |
OLD | NEW |