OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 | 7 |
8 #ifndef _FPDFORMFILL_H | 8 #ifndef _FPDFORMFILL_H |
9 #define _FPDFORMFILL_H | 9 #define _FPDFORMFILL_H |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 int size_x, int size_y, int rota
te, int flags); | 1100 int size_x, int size_y, int rota
te, int flags); |
1101 /** | 1101 /** |
1102 * Function: FPDF_HasXFAField | 1102 * Function: FPDF_HasXFAField |
1103 * This method is designed to check whether a pdf document
has XFA fields. | 1103 * This method is designed to check whether a pdf document
has XFA fields. |
1104 * Parameters: | 1104 * Parameters: |
1105 * document - Handle to document. Retu
rned by FPDF_LoadDocument function. | 1105 * document - Handle to document. Retu
rned by FPDF_LoadDocument function. |
1106 * docType - Document type defined as
DOCTYPE_xxx. | 1106 * docType - Document type defined as
DOCTYPE_xxx. |
1107 * Return Value: | 1107 * Return Value: |
1108 * TRUE indicates that the input document has XFA fields, o
therwise FALSE. | 1108 * TRUE indicates that the input document has XFA fields, o
therwise FALSE. |
1109 **/ | 1109 **/ |
1110 DLLEXPORT FPDF_BOOL STDCALL FPDF_HasXFAField(FPDF_DOCUMENT document, int& docTyp
e); | 1110 DLLEXPORT FPDF_BOOL STDCALL FPDF_HasXFAField(FPDF_DOCUMENT document, int* docTyp
e); |
1111 | 1111 |
1112 /** | 1112 /** |
1113 * Function: FPDF_LoadXFA | 1113 * Function: FPDF_LoadXFA |
1114 * If the document consists of XFA fields, there should cal
l this method to load XFA fields. | 1114 * If the document consists of XFA fields, there should cal
l this method to load XFA fields. |
1115 * Parameters: | 1115 * Parameters: |
1116 * document - Handle to document. Retu
rned by FPDF_LoadDocument function. | 1116 * document - Handle to document. Retu
rned by FPDF_LoadDocument function. |
1117 * Return Value: | 1117 * Return Value: |
1118 * TRUE indicates success,otherwise FALSE. | 1118 * TRUE indicates success,otherwise FALSE. |
1119 **/ | 1119 **/ |
1120 DLLEXPORT FPDF_BOOL STDCALL FPDF_LoadXFA(FPDF_DOCUMENT document); | 1120 DLLEXPORT FPDF_BOOL STDCALL FPDF_LoadXFA(FPDF_DOCUMENT document); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 * TRUE indicates success, otherwise FALSE. | 1252 * TRUE indicates success, otherwise FALSE. |
1253 **/ | 1253 **/ |
1254 DLLEXPORT FPDF_BOOL STDCALL FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringH
andle, FPDF_BYTESTRING bsText, FPDF_DWORD size); | 1254 DLLEXPORT FPDF_BOOL STDCALL FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringH
andle, FPDF_BYTESTRING bsText, FPDF_DWORD size); |
1255 | 1255 |
1256 #ifdef __cplusplus | 1256 #ifdef __cplusplus |
1257 }; | 1257 }; |
1258 #endif | 1258 #endif |
1259 | 1259 |
1260 #endif //_FPDFORMFILL_H | 1260 #endif //_FPDFORMFILL_H |
1261 | 1261 |
OLD | NEW |