Chromium Code Reviews| 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 #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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 760 #define FPDFDOC_AACTION_WC \ | 760 #define FPDFDOC_AACTION_WC \ |
| 761 0x10 // WC, before closing document, JavaScript action. | 761 0x10 // WC, before closing document, JavaScript action. |
| 762 #define FPDFDOC_AACTION_WS \ | 762 #define FPDFDOC_AACTION_WS \ |
| 763 0x11 // WS, before saving document, JavaScript action. | 763 0x11 // WS, before saving document, JavaScript action. |
| 764 #define FPDFDOC_AACTION_DS 0x12 // DS, after saving document, JavaScript | 764 #define FPDFDOC_AACTION_DS 0x12 // DS, after saving document, JavaScript |
| 765 // action. | 765 // action. |
| 766 #define FPDFDOC_AACTION_WP \ | 766 #define FPDFDOC_AACTION_WP \ |
| 767 0x13 // WP, before printing document, JavaScript action. | 767 0x13 // WP, before printing document, JavaScript action. |
| 768 #define FPDFDOC_AACTION_DP \ | 768 #define FPDFDOC_AACTION_DP \ |
| 769 0x14 // DP, after printing document, JavaScript action. | 769 0x14 // DP, after printing document, JavaScript action. |
| 770 /** | 770 /** |
|
Lei Zhang
2015/08/06 21:12:04
Why is this indented?
Nico
2015/08/06 21:16:09
I'm guessing it aligns to the comment in previous
| |
| 771 * Function: FORM_DoDocumentAAction | 771 * Function: FORM_DoDocumentAAction |
| 772 * This method is required for performing the document's | 772 * This method is required for performing the document's |
| 773 *additional-action. | 773 *additional-action. |
| 774 * Parameters: | 774 * Parameters: |
| 775 * hHandle - Handle to the form fill module. Returned by | 775 * hHandle - Handle to the form fill module. Returned by |
| 776 *FPDFDOC_InitFormFillEnvironment. | 776 *FPDFDOC_InitFormFillEnvironment. |
| 777 * aaType - The type of the additional-actions which defined | 777 * aaType - The type of the additional-actions which def ined |
| 778 *above. | 778 *above. |
| 779 * Return Value: | 779 * Return Value: |
| 780 * NONE | 780 * NONE |
| 781 * Comments: | 781 * Comments: |
| 782 * This method will do nothing if there is no document | 782 * This method will do nothing if there is no document |
| 783 *additional-action corresponding to the specified aaType. | 783 *additional-action corresponding to the specified aaType. |
| 784 **/ | 784 **/ |
| 785 | 785 |
| 786 DLLEXPORT void STDCALL FORM_DoDocumentAAction(FPDF_FORMHANDLE hHandle, | 786 DLLEXPORT void STDCALL FORM_DoDocumentAAction(FPDF_FORMHANDLE hHandle, |
| 787 int aaType); | 787 int aaType); |
| 788 | 788 |
| 789 // Additional-action types of page object | 789 // Additional-action types of page object |
| 790 #define FPDFPAGE_AACTION_OPEN \ | 790 #define FPDFPAGE_AACTION_OPEN \ |
| 791 0 // /O -- An action to be performed when the page is opened | 791 0 // /O -- An action to be performed when the page is opened |
| 792 #define FPDFPAGE_AACTION_CLOSE \ | 792 #define FPDFPAGE_AACTION_CLOSE \ |
| 793 1 // /C -- An action to be performed when the page is closed | 793 1 // /C -- An action to be performed when the page is closed |
| 794 | 794 |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1078 int size_x, | 1078 int size_x, |
| 1079 int size_y, | 1079 int size_y, |
| 1080 int rotate, | 1080 int rotate, |
| 1081 int flags); | 1081 int flags); |
| 1082 | 1082 |
| 1083 #ifdef __cplusplus | 1083 #ifdef __cplusplus |
| 1084 } | 1084 } |
| 1085 #endif | 1085 #endif |
| 1086 | 1086 |
| 1087 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1087 #endif // PUBLIC_FPDF_FORMFILL_H_ |
| OLD | NEW |