| #include "SkPdfSeparationDictionary_autogen.h" |
| |
| SkPdfArray* SkPdfSeparationDictionary::Pages() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pages", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| std::string SkPdfSeparationDictionary::getDeviceColorantAsName() const { |
| std::string ret = ""; |
| if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DeviceColorant", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| std::string SkPdfSeparationDictionary::getDeviceColorantAsString() const { |
| std::string ret = ""; |
| if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DeviceColorant", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| SkPdfArray* SkPdfSeparationDictionary::ColorSpace() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ColorSpace", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |