Lines Matching refs:annot
216 CPDF_Dictionary* GetAnnotDictFromFPDFAnnotation(FPDF_ANNOTATION annot) { in GetAnnotDictFromFPDFAnnotation() argument
217 CPDF_AnnotContext* context = CPDFAnnotContextFromFPDFAnnotation(annot); in GetAnnotDictFromFPDFAnnotation()
259 CPDF_FormField* GetFormField(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot) { in GetFormField() argument
260 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in GetFormField()
337 FPDF_ANNOTATION annot) { in FPDFPage_GetAnnotIndex() argument
342 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFPage_GetAnnotIndex()
362 FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot) { in FPDFPage_CloseAnnot() argument
363 delete CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFPage_CloseAnnot()
381 FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot) { in FPDFAnnot_GetSubtype() argument
382 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetSubtype()
397 FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj) { in FPDFAnnot_UpdateObject() argument
398 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_UpdateObject()
404 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_UpdateObject()
430 FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj) { in FPDFAnnot_AppendObject() argument
431 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_AppendObject()
437 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_AppendObject()
478 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot) { in FPDFAnnot_GetObjectCount() argument
479 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetObjectCount()
495 FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index) { in FPDFAnnot_GetObject() argument
496 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetObject()
514 FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index) { in FPDFAnnot_RemoveObject() argument
515 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_RemoveObject()
520 if (!FPDFAnnot_IsObjectSupportedSubtype(FPDFAnnot_GetSubtype(annot))) in FPDFAnnot_RemoveObject()
537 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetColor(FPDF_ANNOTATION annot, in FPDFAnnot_SetColor() argument
543 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_SetColor()
571 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetColor(FPDF_ANNOTATION annot, in FPDFAnnot_GetColor() argument
577 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetColor()
634 FPDFAnnot_HasAttachmentPoints(FPDF_ANNOTATION annot) { in FPDFAnnot_HasAttachmentPoints() argument
635 if (!annot) in FPDFAnnot_HasAttachmentPoints()
638 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot); in FPDFAnnot_HasAttachmentPoints()
645 FPDFAnnot_SetAttachmentPoints(FPDF_ANNOTATION annot, in FPDFAnnot_SetAttachmentPoints() argument
648 if (!FPDFAnnot_HasAttachmentPoints(annot) || !quad_points) in FPDFAnnot_SetAttachmentPoints()
652 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_SetAttachmentPoints()
663 FPDFAnnot_AppendAttachmentPoints(FPDF_ANNOTATION annot, in FPDFAnnot_AppendAttachmentPoints() argument
665 if (!FPDFAnnot_HasAttachmentPoints(annot) || !quad_points) in FPDFAnnot_AppendAttachmentPoints()
669 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_AppendAttachmentPoints()
679 FPDFAnnot_CountAttachmentPoints(FPDF_ANNOTATION annot) { in FPDFAnnot_CountAttachmentPoints() argument
680 if (!FPDFAnnot_HasAttachmentPoints(annot)) in FPDFAnnot_CountAttachmentPoints()
684 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_CountAttachmentPoints()
690 FPDFAnnot_GetAttachmentPoints(FPDF_ANNOTATION annot, in FPDFAnnot_GetAttachmentPoints() argument
693 if (!FPDFAnnot_HasAttachmentPoints(annot) || !quad_points) in FPDFAnnot_GetAttachmentPoints()
697 CPDFAnnotContextFromFPDFAnnotation(annot)->GetAnnotDict(); in FPDFAnnot_GetAttachmentPoints()
705 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect(FPDF_ANNOTATION annot, in FPDFAnnot_SetRect() argument
707 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_SetRect()
721 if (FPDFAnnot_HasAttachmentPoints(annot)) in FPDFAnnot_SetRect()
731 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect(FPDF_ANNOTATION annot, in FPDFAnnot_GetRect() argument
733 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetRect()
742 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasKey(FPDF_ANNOTATION annot, in FPDFAnnot_HasKey() argument
744 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_HasKey()
749 FPDFAnnot_GetValueType(FPDF_ANNOTATION annot, FPDF_BYTESTRING key) { in FPDFAnnot_GetValueType() argument
750 if (!FPDFAnnot_HasKey(annot, key)) in FPDFAnnot_GetValueType()
753 auto* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetValueType()
759 FPDFAnnot_SetStringValue(FPDF_ANNOTATION annot, in FPDFAnnot_SetStringValue() argument
762 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_SetStringValue()
771 FPDFAnnot_GetStringValue(FPDF_ANNOTATION annot, in FPDFAnnot_GetStringValue() argument
775 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetStringValue()
784 FPDFAnnot_GetNumberValue(FPDF_ANNOTATION annot, in FPDFAnnot_GetNumberValue() argument
790 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetNumberValue()
803 FPDFAnnot_SetAP(FPDF_ANNOTATION annot, in FPDFAnnot_SetAP() argument
806 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_SetAP()
833 CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_SetAP()
878 FPDFAnnot_GetAP(FPDF_ANNOTATION annot, in FPDFAnnot_GetAP() argument
882 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetAP()
898 FPDFAnnot_GetLinkedAnnot(FPDF_ANNOTATION annot, FPDF_BYTESTRING key) { in FPDFAnnot_GetLinkedAnnot() argument
899 CPDF_AnnotContext* pAnnot = CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFAnnot_GetLinkedAnnot()
914 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags(FPDF_ANNOTATION annot) { in FPDFAnnot_GetFlags() argument
915 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetFlags()
920 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags(FPDF_ANNOTATION annot, in FPDFAnnot_SetFlags() argument
922 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_SetFlags()
931 FPDFAnnot_GetFormFieldFlags(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot) { in FPDFAnnot_GetFormFieldFlags() argument
932 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldFlags()
962 FPDF_ANNOTATION annot, in FPDFAnnot_GetFormFieldName() argument
965 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldName()
973 FPDFAnnot_GetFormFieldType(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot) { in FPDFAnnot_GetFormFieldType() argument
974 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldType()
980 FPDF_ANNOTATION annot, in FPDFAnnot_GetFormFieldValue() argument
983 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldValue()
991 FPDF_ANNOTATION annot) { in FPDFAnnot_GetOptionCount() argument
992 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetOptionCount()
998 FPDF_ANNOTATION annot, in FPDFAnnot_GetOptionLabel() argument
1005 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetOptionLabel()
1015 FPDF_ANNOTATION annot, in FPDFAnnot_GetFontSize() argument
1024 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetFontSize()
1042 FPDF_ANNOTATION annot) { in FPDFAnnot_IsChecked() argument
1047 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_IsChecked()