Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Side by Side Diff: public/fpdf_formfill.h

Issue 1137233002: Merge to XFA: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Test new XFA APIs. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/fpdf_ext.h ('k') | public/fpdf_fwlevent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « public/fpdf_ext.h ('k') | public/fpdf_fwlevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698