| #include "SkPdfBoxStyleDictionary_autogen.h" |
| |
| SkPdfArray* SkPdfBoxStyleDictionary::C() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| double SkPdfBoxStyleDictionary::W() const { |
| double ret; |
| if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return 0; |
| } |
| |
| std::string SkPdfBoxStyleDictionary::S() const { |
| std::string ret; |
| if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| SkPdfArray* SkPdfBoxStyleDictionary::D() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |