diff options
author | Jane Liu <janeliulwq@google.com> | 2017-07-05 15:04:33 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-06 13:09:26 +0000 |
commit | b137e75343cada31ddcf905fc581a3a86a63b5d5 (patch) | |
tree | 69c8a46658e61739da60852b522b5dbfcc3b9cac /fpdfsdk/fpdfview_c_api_test.c | |
parent | ddf2418ba8e5d925909d7955ac22b33f37ccce44 (diff) | |
download | pdfium-b137e75343cada31ddcf905fc581a3a86a63b5d5.tar.xz |
Added APIs for setting annotation flag values
1. Added APIs for getting/setting/unsetting annotation flag values in
annotation dictionaries.
* Added an embedder test testing all the new functions.
Bug=pdfium:737
Change-Id: Ib6bbcf05d6e93c43ec4dcd7120db71bc244afdbf
Reviewed-on: https://pdfium-review.googlesource.com/7154
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 94f4051bcd..01c318912f 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -55,6 +55,8 @@ int CheckPDFiumCApi() { CHK(FPDFAnnot_GetRect); CHK(FPDFAnnot_SetText); CHK(FPDFAnnot_GetText); + CHK(FPDFAnnot_GetFlags); + CHK(FPDFAnnot_SetFlags); // fpdf_dataavail.h CHK(FPDFAvail_Create); |