blob: c291fa7ac6860b94249d4eccb87d17a60db08cef [file] [log] [blame]
#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;
}