OLD | NEW |
1 #include "SkPdfPageObjectDictionary_autogen.h" | 1 #include "SkPdfPageObjectDictionary_autogen.h" |
2 | 2 |
3 std::string SkPdfPageObjectDictionary::Type() const { | 3 std::string SkPdfPageObjectDictionary::Type() const { |
4 std::string ret; | 4 std::string ret; |
5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
et)) return ret; | 5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &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 ""; | 7 return ""; |
8 } | 8 } |
9 | 9 |
10 SkPdfDictionary* SkPdfPageObjectDictionary::Parent() const { | 10 SkPdfDictionary* SkPdfPageObjectDictionary::Parent() const { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 174 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
175 return 0; | 175 return 0; |
176 } | 176 } |
177 | 177 |
178 SkPdfDictionary* SkPdfPageObjectDictionary::SeparationInfo() const { | 178 SkPdfDictionary* SkPdfPageObjectDictionary::SeparationInfo() const { |
179 SkPdfDictionary* ret; | 179 SkPdfDictionary* ret; |
180 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Separat
ionInfo", "", &ret)) return ret; | 180 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Separat
ionInfo", "", &ret)) return ret; |
181 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 181 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
182 return NULL; | 182 return NULL; |
183 } | 183 } |
OLD | NEW |