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

Side by Side Diff: public/fpdf_formfill.h

Issue 2322003002: Cleanup CPDFXFA_Document. (Closed)
Patch Set: Rebase to master Created 4 years, 3 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 | « fpdfsdk/include/cpdfdoc_environment.h ('k') | xfa/fxfa/app/xfa_ffchoicelist.cpp » ('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 #ifndef PUBLIC_FPDF_FORMFILL_H_ 7 #ifndef PUBLIC_FPDF_FORMFILL_H_
8 #define PUBLIC_FPDF_FORMFILL_H_ 8 #define PUBLIC_FPDF_FORMFILL_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 #define FXFA_PAGEVIEWEVENT_POSTADDED 1 349 #define FXFA_PAGEVIEWEVENT_POSTADDED 1
350 /** @brief After a pageview is removed. */ 350 /** @brief After a pageview is removed. */
351 #define FXFA_PAGEVIEWEVENT_POSTREMOVED 3 351 #define FXFA_PAGEVIEWEVENT_POSTREMOVED 3
352 /*@}*/ 352 /*@}*/
353 353
354 // menu 354 // menu
355 /** 355 /**
356 * @name Macro Definitions for Right Context Menu Features Of XFA Fields 356 * @name Macro Definitions for Right Context Menu Features Of XFA Fields
357 */ 357 */
358 /*@{*/ 358 /*@{*/
359 #define FXFA_MEMU_COPY 1 359 #define FXFA_MENU_COPY 1
360 #define FXFA_MEMU_CUT 2 360 #define FXFA_MENU_CUT 2
361 #define FXFA_MEMU_SELECTALL 4 361 #define FXFA_MENU_SELECTALL 4
362 #define FXFA_MEMU_UNDO 8 362 #define FXFA_MENU_UNDO 8
363 #define FXFA_MEMU_REDO 16 363 #define FXFA_MENU_REDO 16
364 #define FXFA_MEMU_PASTE 32 364 #define FXFA_MENU_PASTE 32
365 /*@}*/ 365 /*@}*/
366 366
367 // file type 367 // file type
368 /** 368 /**
369 * @name Macro Definitions for File Type. 369 * @name Macro Definitions for File Type.
370 */ 370 */
371 /*@{*/ 371 /*@{*/
372 #define FXFA_SAVEAS_XML 1 372 #define FXFA_SAVEAS_XML 1
373 #define FXFA_SAVEAS_XDP 2 373 #define FXFA_SAVEAS_XDP 2
374 /*@}*/ 374 /*@}*/
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 * Interface Version: 863 * Interface Version:
864 * 2 864 * 2
865 * Implementation Required: 865 * Implementation Required:
866 * yes 866 * yes
867 * Parameters: 867 * Parameters:
868 * pThis - Pointer to the interface structure itself. 868 * pThis - Pointer to the interface structure itself.
869 * page - Handle to page. Returned by FPDF_LoadPage 869 * page - Handle to page. Returned by FPDF_LoadPage
870 *function. 870 *function.
871 * hWidget - Handle to XFA fields. 871 * hWidget - Handle to XFA fields.
872 * menuFlag - The menu flags. Please refer to macro definition 872 * menuFlag - The menu flags. Please refer to macro definition
873 *of FXFA_MEMU_XXX and this can be one or a combination of these macros. 873 *of FXFA_MENU_XXX and this can be one or a combination of these macros.
874 * x - X position of the client area in PDF page 874 * x - X position of the client area in PDF page
875 *coordinate. 875 *coordinate.
876 * y - Y position of the client area in PDF page 876 * y - Y position of the client area in PDF page
877 *coordinate. 877 *coordinate.
878 * Return value: 878 * Return value:
879 * TRUE indicates success; otherwise false. 879 * TRUE indicates success; otherwise false.
880 **/ 880 **/
881 FPDF_BOOL (*FFI_PopupMenu)(struct _FPDF_FORMFILLINFO* pThis, 881 FPDF_BOOL (*FFI_PopupMenu)(struct _FPDF_FORMFILLINFO* pThis,
882 FPDF_PAGE page, 882 FPDF_PAGE page,
883 FPDF_WIDGET hWidget, 883 FPDF_WIDGET hWidget,
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, 1754 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle,
1755 FPDF_BYTESTRING bsText, 1755 FPDF_BYTESTRING bsText,
1756 FPDF_DWORD size); 1756 FPDF_DWORD size);
1757 #endif // PDF_ENABLE_XFA 1757 #endif // PDF_ENABLE_XFA
1758 1758
1759 #ifdef __cplusplus 1759 #ifdef __cplusplus
1760 } 1760 }
1761 #endif 1761 #endif
1762 1762
1763 #endif // PUBLIC_FPDF_FORMFILL_H_ 1763 #endif // PUBLIC_FPDF_FORMFILL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfdoc_environment.h ('k') | xfa/fxfa/app/xfa_ffchoicelist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698