summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-03-27 16:26:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-27 16:26:44 +0000
commitc90adc58b97200d20b0532bde95b79dcba00637f (patch)
tree002895239afa554f84a0fb76e6cb85265fef19b3 /fpdfsdk/fpdfview_c_api_test.c
parentc526e38a47a7fc7d83cc87aaf521d14bb7b7304d (diff)
downloadpdfium-c90adc58b97200d20b0532bde95b79dcba00637f.tar.xz
Open FPDF_PAGEOBJECTMARK API.
Initially it contains: - FPDFPageObj_CountMarks - FPDFPageObj_GetMark - FPDFPageObjMark_GetName This allows reading the content marks from a page object. Bug: pdfium:1037 Change-Id: I3d7554b71f938778890fdb44088e0d45dd2718d9 Reviewed-on: https://pdfium-review.googlesource.com/28710 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index 201fd90669..a0bcc13ff3 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -144,6 +144,9 @@ int CheckPDFiumCApi() {
CHK(FPDFPageObj_Transform);
CHK(FPDFPage_TransformAnnots);
CHK(FPDFPageObj_NewImageObj);
+ CHK(FPDFPageObj_CountMarks);
+ CHK(FPDFPageObj_GetMark);
+ CHK(FPDFPageObjMark_GetName);
CHK(FPDFImageObj_LoadJpegFile);
CHK(FPDFImageObj_LoadJpegFileInline);
CHK(FPDFImageObj_SetMatrix);