blob: 43c0fa52f4fe9842b1daefbd8ced9fc44cc88c55 [file] [log] [blame]
#include "SkPdfJbig2DecodeFilterDictionary_autogen.h"
#include "SkPdfNativeDoc.h"
SkPdfStream* SkPdfJbig2DecodeFilterDictionary::JBIG2Globals(SkPdfNativeDoc* doc) {
SkPdfNativeObject* ret = get("JBIG2Globals", "");
if (doc) {ret = doc->resolveReference(ret);}
if ((ret != NULL && ret->hasStream()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->getStream();
// TODO(edisonn): warn about missing default value for optional fields
return NULL;
}
bool SkPdfJbig2DecodeFilterDictionary::has_JBIG2Globals() const {
return get("JBIG2Globals", "") != NULL;
}