int pdf_xobject_knockout(fz_context *ctx, pdf_obj *xobj) { pdf_obj *group = pdf_dict_get(ctx, xobj, PDF_NAME(Group)); if (group) return pdf_dict_get_bool(ctx, group, PDF_NAME(K)); return 0; }
int pdf_xobject_isolated(fz_context *ctx, pdf_obj *xobj) { pdf_obj *group = pdf_dict_get(ctx, xobj, PDF_NAME(Group)); if (group) return pdf_dict_get_bool(ctx, group, PDF_NAME(I)); return 0; }
int pdf_annot_is_open(fz_context *ctx, pdf_annot *annot) { check_allowed_subtypes(ctx, annot, PDF_NAME(Open), open_subtypes); return pdf_dict_get_bool(ctx, annot->obj, PDF_NAME(Open)); }