From 262cf4665df3811ec6e68de48566dfa746609c66 Mon Sep 17 00:00:00 2001 From: Jane Liu Date: Fri, 9 Jun 2017 11:36:37 -0400 Subject: Minor changes/addons for annotation APIs As per Lei's comments while looking back at annotation API CLs to attempt to fix Bug 747. Bug=pdfium:737 Change-Id: I96369bf8dcc7afdf49e9a137e7bcba4ff1aeef67 Reviewed-on: https://pdfium-review.googlesource.com/6431 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- fpdfsdk/fpdfview_c_api_test.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fpdfsdk/fpdfview_c_api_test.c') diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 5a65fc4111..ae69d4525b 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -35,12 +35,19 @@ fnptr g_c_api_test_fnptr = NULL; // Extern, so can't know it doesn't change. // Function to call from gtest harness to ensure linker resolution. int CheckPDFiumCApi() { //fpdf_annot.h + CHK(FPDFAnnot_IsSupportedSubtype); + CHK(FPDFPage_CreateAnnot); CHK(FPDFPage_GetAnnotCount); CHK(FPDFPage_GetAnnot); CHK(FPDFAnnot_GetSubtype); + CHK(FPDFAnnot_SetColor); CHK(FPDFAnnot_GetColor); + CHK(FPDFAnnot_HasAttachmentPoints); + CHK(FPDFAnnot_SetAttachmentPoints); CHK(FPDFAnnot_GetAttachmentPoints); + CHK(FPDFAnnot_SetRect); CHK(FPDFAnnot_GetRect); + CHK(FPDFAnnot_SetText); CHK(FPDFAnnot_GetText); // fpdf_dataavail.h -- cgit v1.2.3