Lines Matching refs:annot
284 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(page, i)); in WriteAnnot() local
285 if (!annot) { in WriteAnnot()
290 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot.get()); in WriteAnnot()
295 AnnotFlagsToString(FPDFAnnot_GetFlags(annot.get())).c_str()); in WriteAnnot()
298 const int obj_count = FPDFAnnot_GetObjectCount(annot.get()); in WriteAnnot()
304 FPDFPageObj_GetType(FPDFAnnot_GetObject(annot.get(), j))); in WriteAnnot()
315 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, &R, &G, &B, in WriteAnnot()
321 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_InteriorColor, &R, in WriteAnnot()
332 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, nullptr, 0); in WriteAnnot()
334 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, buf.data(), in WriteAnnot()
338 FPDFAnnot_GetStringValue(annot.get(), kAuthorKey, nullptr, 0); in WriteAnnot()
340 FPDFAnnot_GetStringValue(annot.get(), kAuthorKey, buf.data(), length_bytes); in WriteAnnot()
344 if (FPDFAnnot_HasAttachmentPoints(annot.get())) { in WriteAnnot()
345 size_t qp_count = FPDFAnnot_CountAttachmentPoints(annot.get()); in WriteAnnot()
351 if (FPDFAnnot_GetAttachmentPoints(annot.get(), j, &quadpoints)) { in WriteAnnot()
366 if (FPDFAnnot_GetRect(annot.get(), &rect)) { in WriteAnnot()