• Home
  • Raw
  • Download

Lines Matching refs:annot

179 CPDF_AnnotContext* CPDFAnnotContextFromFPDFAnnotation(FPDF_ANNOTATION annot) {  in CPDFAnnotContextFromFPDFAnnotation()  argument
180 return static_cast<CPDF_AnnotContext*>(annot); in CPDFAnnotContextFromFPDFAnnotation()
257 FPDF_ANNOTATION annot) { in FPDFPage_GetAnnotIndex() argument
259 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFPage_GetAnnotIndex()
280 FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot) { in FPDFPage_CloseAnnot() argument
281 delete CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFPage_CloseAnnot()
299 FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot) { in FPDFAnnot_GetSubtype() argument
300 if (!annot) in FPDFAnnot_GetSubtype()
304 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetSubtype()
319 FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj) { in FPDFAnnot_UpdateObject() argument
320 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_UpdateObject()
326 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_UpdateObject()
353 FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj) { in FPDFAnnot_AppendObject() argument
354 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_AppendObject()
365 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_AppendObject()
407 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot) { in FPDFAnnot_GetObjectCount() argument
408 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetObjectCount()
424 FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index) { in FPDFAnnot_GetObject() argument
425 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetObject()
442 FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index) { in FPDFAnnot_RemoveObject() argument
443 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_RemoveObject()
448 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_RemoveObject()
467 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetColor(FPDF_ANNOTATION annot, in FPDFAnnot_SetColor() argument
473 if (!annot || R > 255 || G > 255 || B > 255 || A > 255) in FPDFAnnot_SetColor()
477 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetColor()
505 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetColor(FPDF_ANNOTATION annot, in FPDFAnnot_GetColor() argument
511 if (!annot || !R || !G || !B || !A) in FPDFAnnot_GetColor()
515 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetColor()
572 FPDFAnnot_HasAttachmentPoints(FPDF_ANNOTATION annot) { in FPDFAnnot_HasAttachmentPoints() argument
573 if (!annot) in FPDFAnnot_HasAttachmentPoints()
576 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot); in FPDFAnnot_HasAttachmentPoints()
583 FPDFAnnot_SetAttachmentPoints(FPDF_ANNOTATION annot, in FPDFAnnot_SetAttachmentPoints() argument
585 if (!annot || !quadPoints || !FPDFAnnot_HasAttachmentPoints(annot)) in FPDFAnnot_SetAttachmentPoints()
589 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetAttachmentPoints()
624 FPDFAnnot_GetAttachmentPoints(FPDF_ANNOTATION annot, in FPDFAnnot_GetAttachmentPoints() argument
626 if (!annot || !FPDFAnnot_HasAttachmentPoints(annot) || !quadPoints) in FPDFAnnot_GetAttachmentPoints()
630 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetAttachmentPoints()
649 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect(FPDF_ANNOTATION annot, in FPDFAnnot_SetRect() argument
651 if (!annot || !rect) in FPDFAnnot_SetRect()
655 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetRect()
669 if (FPDFAnnot_HasAttachmentPoints(annot)) in FPDFAnnot_SetRect()
679 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect(FPDF_ANNOTATION annot, in FPDFAnnot_GetRect() argument
681 if (!annot || !rect) in FPDFAnnot_GetRect()
685 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetRect()
693 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasKey(FPDF_ANNOTATION annot, in FPDFAnnot_HasKey() argument
695 if (!annot) in FPDFAnnot_HasKey()
699 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_HasKey()
707 FPDFAnnot_GetValueType(FPDF_ANNOTATION annot, FPDF_BYTESTRING key) { in FPDFAnnot_GetValueType() argument
708 if (!FPDFAnnot_HasKey(annot, key)) in FPDFAnnot_GetValueType()
711 auto* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetValueType()
717 FPDFAnnot_SetStringValue(FPDF_ANNOTATION annot, in FPDFAnnot_SetStringValue() argument
720 if (!annot) in FPDFAnnot_SetStringValue()
724 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetStringValue()
734 FPDFAnnot_GetStringValue(FPDF_ANNOTATION annot, in FPDFAnnot_GetStringValue() argument
738 if (!annot) in FPDFAnnot_GetStringValue()
742 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetStringValue()
751 FPDFAnnot_SetAP(FPDF_ANNOTATION annot, in FPDFAnnot_SetAP() argument
757 if (!annot) in FPDFAnnot_SetAP()
761 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetAP()
796 FPDFAnnot_GetAP(FPDF_ANNOTATION annot, in FPDFAnnot_GetAP() argument
803 if (!annot) in FPDFAnnot_GetAP()
807 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetAP()
820 FPDFAnnot_GetLinkedAnnot(FPDF_ANNOTATION annot, FPDF_BYTESTRING key) { in FPDFAnnot_GetLinkedAnnot() argument
821 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetLinkedAnnot()
834 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags(FPDF_ANNOTATION annot) { in FPDFAnnot_GetFlags() argument
835 if (!annot) in FPDFAnnot_GetFlags()
839 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetFlags()
843 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags(FPDF_ANNOTATION annot, in FPDFAnnot_SetFlags() argument
845 if (!annot) in FPDFAnnot_SetFlags()
849 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetFlags()
858 FPDFAnnot_GetFormFieldFlags(FPDF_PAGE page, FPDF_ANNOTATION annot) { in FPDFAnnot_GetFormFieldFlags() argument
860 if (!pPage || !annot) in FPDFAnnot_GetFormFieldFlags()
864 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetFormFieldFlags()