SkPdfArray* SkPdfIconFitDictionary::A(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("A", ""); if (doc) {ret = doc->resolveReference(ret);} if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; // TODO(edisonn): warn about missing required field, assert for known good pdfs return NULL; }
SkPdfArray* SkPdfFileTrailerDictionary::ID(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("ID", ""); if (doc) {ret = doc->resolveReference(ret);} if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; // TODO(edisonn): warn about missing default value for optional fields return NULL; }
SkPdfArray* SkPdfLabColorSpaceDictionary::BlackPoint(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("BlackPoint", ""); if (doc) {ret = doc->resolveReference(ret);} if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; // TODO(edisonn): warn about missing default value for optional fields return NULL; }
bool SkPdfCMapDictionary::isCIDSystemInfoAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("CIDSystemInfo", ""); if (doc) { ret = doc->resolveReference(ret); } return ret != NULL && ret->isArray(); }
SkPdfArray* SkPdfAppearanceCharacteristicsDictionary::BG(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("BG", ""); if (doc) {ret = doc->resolveReference(ret);} if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; // TODO(edisonn): warn about missing default value for optional fields return NULL; }
SkPdfArray* SkPdfTrapNetworkAppearanceStreamDictionary::TrapRegions(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("TrapRegions", ""); if (doc) {ret = doc->resolveReference(ret);} if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; // TODO(edisonn): warn about missing default value for optional fields return NULL; }
bool SkPdfStructureElementDictionary::isCAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("C", ""); if (doc) { ret = doc->resolveReference(ret); } return ret != NULL && ret->isArray(); }
bool SkPdfOutlineItemDictionary::isDestAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("Dest", ""); if (doc) {ret = doc->resolveReference(ret);} return ret != NULL && ret->isArray(); }
bool SkPdfWebCaptureImageSetDictionary::isRAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("R", ""); if (doc) {ret = doc->resolveReference(ret);} return ret != NULL && ret->isArray(); }
bool SkPdfActionDictionary::isNextAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("Next", ""); if (doc) {ret = doc->resolveReference(ret);} return ret != NULL && ret->isArray(); }
bool SkPdfImageDictionary::isColorSpaceAArray(SkPdfNativeDoc* doc) { SkPdfNativeObject* ret = get("ColorSpace", ""); if (doc) {ret = doc->resolveReference(ret);} return ret != NULL && ret->isArray(); }