OLD | NEW |
1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This "C" (not "C++") file ensures that the public headers compile | 5 // This "C" (not "C++") file ensures that the public headers compile |
6 // and link for "C" (and not just "C++"). | 6 // and link for "C" (and not just "C++"). |
7 | 7 |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 | 9 |
10 #include "fpdfview_c_api_test.h" | 10 #include "fpdfview_c_api_test.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 CHK(FPDFDOC_ExitFormFillEnvironment); | 97 CHK(FPDFDOC_ExitFormFillEnvironment); |
98 CHK(FORM_OnAfterLoadPage); | 98 CHK(FORM_OnAfterLoadPage); |
99 CHK(FORM_OnBeforeClosePage); | 99 CHK(FORM_OnBeforeClosePage); |
100 CHK(FORM_DoDocumentJSAction); | 100 CHK(FORM_DoDocumentJSAction); |
101 CHK(FORM_DoDocumentOpenAction); | 101 CHK(FORM_DoDocumentOpenAction); |
102 CHK(FORM_DoDocumentAAction); | 102 CHK(FORM_DoDocumentAAction); |
103 CHK(FORM_DoPageAAction); | 103 CHK(FORM_DoPageAAction); |
104 CHK(FORM_OnMouseMove); | 104 CHK(FORM_OnMouseMove); |
105 CHK(FORM_OnLButtonDown); | 105 CHK(FORM_OnLButtonDown); |
106 CHK(FORM_OnLButtonUp); | 106 CHK(FORM_OnLButtonUp); |
| 107 #ifdef PDF_ENABLE_XFA |
| 108 CHK(FORM_OnRButtonDown); |
| 109 CHK(FORM_OnRButtonUp); |
| 110 #endif |
107 CHK(FORM_OnKeyDown); | 111 CHK(FORM_OnKeyDown); |
108 CHK(FORM_OnKeyUp); | 112 CHK(FORM_OnKeyUp); |
109 CHK(FORM_OnChar); | 113 CHK(FORM_OnChar); |
110 CHK(FORM_ForceToKillFocus); | 114 CHK(FORM_ForceToKillFocus); |
111 CHK(FPDFPage_HasFormFieldAtPoint); | 115 CHK(FPDFPage_HasFormFieldAtPoint); |
112 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future. | 116 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future. |
113 CHK(FPDFPage_FormFieldZOrderAtPoint); | 117 CHK(FPDFPage_FormFieldZOrderAtPoint); |
114 CHK(FPDF_SetFormFieldHighlightColor); | 118 CHK(FPDF_SetFormFieldHighlightColor); |
115 CHK(FPDF_SetFormFieldHighlightAlpha); | 119 CHK(FPDF_SetFormFieldHighlightAlpha); |
116 CHK(FPDF_RemoveFormFieldHighlight); | 120 CHK(FPDF_RemoveFormFieldHighlight); |
117 CHK(FPDF_FFLDraw); | 121 CHK(FPDF_FFLDraw); |
| 122 #ifdef PDF_ENABLE_XFA |
| 123 CHK(FPDF_HasXFAField); |
| 124 CHK(FPDF_LoadXFA); |
| 125 CHK(FPDF_Widget_Undo); |
| 126 CHK(FPDF_Widget_Redo); |
| 127 CHK(FPDF_Widget_SelectAll); |
| 128 CHK(FPDF_Widget_Copy); |
| 129 CHK(FPDF_Widget_Cut); |
| 130 CHK(FPDF_Widget_Paste); |
| 131 CHK(FPDF_Widget_ReplaceSpellCheckWord); |
| 132 CHK(FPDF_Widget_GetSpellCheckWords); |
| 133 CHK(FPDF_StringHandleCounts); |
| 134 CHK(FPDF_StringHandleGetStringByIndex); |
| 135 CHK(FPDF_StringHandleRelease); |
| 136 CHK(FPDF_StringHandleAddString); |
| 137 #endif |
118 | 138 |
119 // fpdf_ppo.h | 139 // fpdf_ppo.h |
120 CHK(FPDF_ImportPages); | 140 CHK(FPDF_ImportPages); |
121 CHK(FPDF_CopyViewerPreferences); | 141 CHK(FPDF_CopyViewerPreferences); |
122 | 142 |
123 // fpdf_progressive.h | 143 // fpdf_progressive.h |
124 CHK(FPDF_RenderPageBitmap_Start); | 144 CHK(FPDF_RenderPageBitmap_Start); |
125 CHK(FPDF_RenderPage_Continue); | 145 CHK(FPDF_RenderPage_Continue); |
126 CHK(FPDF_RenderPage_Close); | 146 CHK(FPDF_RenderPage_Close); |
127 | 147 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 CHK(FPDFBitmap_GetHeight); | 224 CHK(FPDFBitmap_GetHeight); |
205 CHK(FPDFBitmap_GetStride); | 225 CHK(FPDFBitmap_GetStride); |
206 CHK(FPDFBitmap_Destroy); | 226 CHK(FPDFBitmap_Destroy); |
207 CHK(FPDF_VIEWERREF_GetPrintScaling); | 227 CHK(FPDF_VIEWERREF_GetPrintScaling); |
208 CHK(FPDF_VIEWERREF_GetNumCopies); | 228 CHK(FPDF_VIEWERREF_GetNumCopies); |
209 CHK(FPDF_VIEWERREF_GetPrintPageRange); | 229 CHK(FPDF_VIEWERREF_GetPrintPageRange); |
210 CHK(FPDF_VIEWERREF_GetDuplex); | 230 CHK(FPDF_VIEWERREF_GetDuplex); |
211 CHK(FPDF_CountNamedDests); | 231 CHK(FPDF_CountNamedDests); |
212 CHK(FPDF_GetNamedDestByName); | 232 CHK(FPDF_GetNamedDestByName); |
213 CHK(FPDF_GetNamedDest); | 233 CHK(FPDF_GetNamedDest); |
| 234 #ifdef PDF_ENABLE_XFA |
| 235 CHK(FPDF_BStr_Init); |
| 236 CHK(FPDF_BStr_Set); |
| 237 CHK(FPDF_BStr_Clear); |
| 238 #endif |
214 | 239 |
215 return 1; | 240 return 1; |
216 } | 241 } |
217 | 242 |
218 #undef CHK | 243 #undef CHK |
OLD | NEW |