Lines Matching refs:annot
355 FPDF_ANNOTATION annot = FPDFPage_GetAnnot(page, i); in WriteAnnot() local
356 if (!annot) { in WriteAnnot()
360 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot); in WriteAnnot()
365 AnnotFlagsToString(FPDFAnnot_GetFlags(annot)).c_str()); in WriteAnnot()
368 const int obj_count = FPDFAnnot_GetObjectCount(annot); in WriteAnnot()
374 FPDFPageObj_GetType(FPDFAnnot_GetObject(annot, j))); in WriteAnnot()
385 if (!FPDFAnnot_GetColor(annot, FPDFANNOT_COLORTYPE_Color, &R, &G, &B, &A)) { in WriteAnnot()
390 if (!FPDFAnnot_GetColor(annot, FPDFANNOT_COLORTYPE_InteriorColor, &R, &G, in WriteAnnot()
401 FPDFAnnot_GetStringValue(annot, kContentsKey, nullptr, 0); in WriteAnnot()
403 FPDFAnnot_GetStringValue(annot, kContentsKey, buf.data(), len); in WriteAnnot()
407 len = FPDFAnnot_GetStringValue(annot, kAuthorKey, nullptr, 0); in WriteAnnot()
410 FPDFAnnot_GetStringValue(annot, kAuthorKey, buf.data(), len); in WriteAnnot()
416 if (FPDFAnnot_HasAttachmentPoints(annot)) { in WriteAnnot()
418 if (FPDFAnnot_GetAttachmentPoints(annot, &quadpoints)) { in WriteAnnot()
431 if (FPDFAnnot_GetRect(annot, &rect)) { in WriteAnnot()
438 FPDFPage_CloseAnnot(annot); in WriteAnnot()