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 |
107 CHK(FORM_OnRButtonDown); | 108 CHK(FORM_OnRButtonDown); |
108 CHK(FORM_OnRButtonUp); | 109 CHK(FORM_OnRButtonUp); |
| 110 #endif |
109 CHK(FORM_OnKeyDown); | 111 CHK(FORM_OnKeyDown); |
110 CHK(FORM_OnKeyUp); | 112 CHK(FORM_OnKeyUp); |
111 CHK(FORM_OnChar); | 113 CHK(FORM_OnChar); |
112 CHK(FORM_ForceToKillFocus); | 114 CHK(FORM_ForceToKillFocus); |
113 CHK(FPDFPage_HasFormFieldAtPoint); | 115 CHK(FPDFPage_HasFormFieldAtPoint); |
114 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future. | 116 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future. |
115 CHK(FPDFPage_FormFieldZOrderAtPoint); | 117 CHK(FPDFPage_FormFieldZOrderAtPoint); |
116 CHK(FPDF_SetFormFieldHighlightColor); | 118 CHK(FPDF_SetFormFieldHighlightColor); |
117 CHK(FPDF_SetFormFieldHighlightAlpha); | 119 CHK(FPDF_SetFormFieldHighlightAlpha); |
118 CHK(FPDF_RemoveFormFieldHighlight); | 120 CHK(FPDF_RemoveFormFieldHighlight); |
119 CHK(FPDF_FFLDraw); | 121 CHK(FPDF_FFLDraw); |
| 122 #ifdef PDF_ENABLE_XFA |
120 CHK(FPDF_HasXFAField); | 123 CHK(FPDF_HasXFAField); |
121 CHK(FPDF_LoadXFA); | 124 CHK(FPDF_LoadXFA); |
122 CHK(FPDF_Widget_Undo); | 125 CHK(FPDF_Widget_Undo); |
123 CHK(FPDF_Widget_Redo); | 126 CHK(FPDF_Widget_Redo); |
124 CHK(FPDF_Widget_SelectAll); | 127 CHK(FPDF_Widget_SelectAll); |
125 CHK(FPDF_Widget_Copy); | 128 CHK(FPDF_Widget_Copy); |
126 CHK(FPDF_Widget_Cut); | 129 CHK(FPDF_Widget_Cut); |
127 CHK(FPDF_Widget_Paste); | 130 CHK(FPDF_Widget_Paste); |
128 CHK(FPDF_Widget_ReplaceSpellCheckWord); | 131 CHK(FPDF_Widget_ReplaceSpellCheckWord); |
129 CHK(FPDF_Widget_GetSpellCheckWords); | 132 CHK(FPDF_Widget_GetSpellCheckWords); |
130 CHK(FPDF_StringHandleCounts); | 133 CHK(FPDF_StringHandleCounts); |
131 CHK(FPDF_StringHandleGetStringByIndex); | 134 CHK(FPDF_StringHandleGetStringByIndex); |
132 CHK(FPDF_StringHandleRelease); | 135 CHK(FPDF_StringHandleRelease); |
133 CHK(FPDF_StringHandleAddString); | 136 CHK(FPDF_StringHandleAddString); |
| 137 #endif |
134 | 138 |
135 // fpdf_ppo.h | 139 // fpdf_ppo.h |
136 CHK(FPDF_ImportPages); | 140 CHK(FPDF_ImportPages); |
137 CHK(FPDF_CopyViewerPreferences); | 141 CHK(FPDF_CopyViewerPreferences); |
138 | 142 |
139 // fpdf_progressive.h | 143 // fpdf_progressive.h |
140 CHK(FPDF_RenderPageBitmap_Start); | 144 CHK(FPDF_RenderPageBitmap_Start); |
141 CHK(FPDF_RenderPage_Continue); | 145 CHK(FPDF_RenderPage_Continue); |
142 CHK(FPDF_RenderPage_Close); | 146 CHK(FPDF_RenderPage_Close); |
143 | 147 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 CHK(FPDFBitmap_GetHeight); | 224 CHK(FPDFBitmap_GetHeight); |
221 CHK(FPDFBitmap_GetStride); | 225 CHK(FPDFBitmap_GetStride); |
222 CHK(FPDFBitmap_Destroy); | 226 CHK(FPDFBitmap_Destroy); |
223 CHK(FPDF_VIEWERREF_GetPrintScaling); | 227 CHK(FPDF_VIEWERREF_GetPrintScaling); |
224 CHK(FPDF_VIEWERREF_GetNumCopies); | 228 CHK(FPDF_VIEWERREF_GetNumCopies); |
225 CHK(FPDF_VIEWERREF_GetPrintPageRange); | 229 CHK(FPDF_VIEWERREF_GetPrintPageRange); |
226 CHK(FPDF_VIEWERREF_GetDuplex); | 230 CHK(FPDF_VIEWERREF_GetDuplex); |
227 CHK(FPDF_CountNamedDests); | 231 CHK(FPDF_CountNamedDests); |
228 CHK(FPDF_GetNamedDestByName); | 232 CHK(FPDF_GetNamedDestByName); |
229 CHK(FPDF_GetNamedDest); | 233 CHK(FPDF_GetNamedDest); |
| 234 #ifdef PDF_ENABLE_XFA |
230 CHK(FPDF_BStr_Init); | 235 CHK(FPDF_BStr_Init); |
231 CHK(FPDF_BStr_Set); | 236 CHK(FPDF_BStr_Set); |
232 CHK(FPDF_BStr_Clear); | 237 CHK(FPDF_BStr_Clear); |
| 238 #endif |
233 | 239 |
234 return 1; | 240 return 1; |
235 } | 241 } |
236 | 242 |
237 #undef CHK | 243 #undef CHK |
OLD | NEW |