| #include "SkPdfMacOsFileInformationDictionary_autogen.h" |
| |
| std::string SkPdfMacOsFileInformationDictionary::Subtype() const { |
| std::string ret; |
| if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| std::string SkPdfMacOsFileInformationDictionary::Creator() const { |
| std::string ret; |
| if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Creator", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| SkPdfStream* SkPdfMacOsFileInformationDictionary::ResFork() const { |
| SkPdfStream* ret; |
| if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |