diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-19 18:50:15 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-19 18:50:15 +0000 |
commit | 9ccf08746e57a03fd9afc187cb3e23404cdc88bb (patch) | |
tree | cbaf0c99d396623cda57c1b4a8e4c19f887880ab /fpdfsdk | |
parent | 8ab9f80a944c16000f6a6f15366dd3704d315401 (diff) | |
download | pdfium-9ccf08746e57a03fd9afc187cb3e23404cdc88bb.tar.xz |
Add missing fpdfview_c_api_test.c entries.
Add a presubmit check to prevent future missing entries. Also fix an
erroneous header entry.
Change-Id: I8aeafd820de984f5af90b3e4ea428f582e82f254
Reviewed-on: https://pdfium-review.googlesource.com/21571
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 1526ffa8ae..de4fa1c564 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -59,6 +59,7 @@ int CheckPDFiumCApi() { CHK(FPDFAnnot_SetRect); CHK(FPDFAnnot_GetRect); CHK(FPDFAnnot_HasKey); + CHK(FPDFAnnot_GetValueType); CHK(FPDFAnnot_SetStringValue); CHK(FPDFAnnot_GetStringValue); CHK(FPDFAnnot_GetLinkedAnnot); @@ -71,6 +72,7 @@ int CheckPDFiumCApi() { CHK(FPDFDoc_GetAttachmentCount); CHK(FPDFDoc_AddAttachment); CHK(FPDFDoc_GetAttachment); + CHK(FPDFDoc_DeleteAttachment); CHK(FPDFAttachment_GetName); CHK(FPDFAttachment_HasKey); CHK(FPDFAttachment_GetValueType); @@ -210,6 +212,9 @@ int CheckPDFiumCApi() { CHK(FPDF_SetFormFieldHighlightAlpha); CHK(FPDF_RemoveFormFieldHighlight); CHK(FPDF_FFLDraw); +#ifdef _SKIA_SUPPORT_ + CHK(FPDF_FFLRecord); +#endif CHK(FPDF_GetFormType); #ifdef PDF_ENABLE_XFA CHK(FPDF_LoadXFA); @@ -251,6 +256,7 @@ int CheckPDFiumCApi() { CHK(FPDF_StructTree_GetChildAtIndex); CHK(FPDF_StructElement_GetAltText); CHK(FPDF_StructElement_GetType); + CHK(FPDF_StructElement_GetTitle); CHK(FPDF_StructElement_CountChildren); CHK(FPDF_StructElement_GetChildAtIndex); @@ -303,6 +309,14 @@ int CheckPDFiumCApi() { CHK(FPDF_InitLibraryWithConfig); CHK(FPDF_DestroyLibrary); CHK(FPDF_SetSandBoxPolicy); +#if defined(_WIN32) +#if defined(PDFIUM_PRINT_TEXT_WITH_GDI) + CHK(FPDF_SetTypefaceAccessibleFunc); + CHK(FPDF_SetPrintTextWithGDI); +#endif + CHK(FPDF_SetPrintPostscriptLevel); + CHK(FPDF_SetPrintMode); +#endif CHK(FPDF_LoadDocument); CHK(FPDF_LoadMemDocument); CHK(FPDF_LoadCustomDocument); @@ -315,8 +329,14 @@ int CheckPDFiumCApi() { CHK(FPDF_GetPageWidth); CHK(FPDF_GetPageHeight); CHK(FPDF_GetPageSizeByIndex); +#ifdef _WIN32 + CHK(FPDF_RenderPage); +#endif CHK(FPDF_RenderPageBitmap); CHK(FPDF_RenderPageBitmapWithMatrix); +#ifdef _SKIA_SUPPORT_ + CHK(FPDF_RenderPageSkp); +#endif CHK(FPDF_ClosePage); CHK(FPDF_CloseDocument); CHK(FPDF_DeviceToPage); |