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 // NOLINTNEXTLINE(build/include) | 10 // NOLINTNEXTLINE(build/include) |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 * filePath - The string buffer to receive the file path. Can be | 142 * filePath - The string buffer to receive the file path. Can be |
143 * NULL. | 143 * NULL. |
144 * length - The length of the buffer, number of bytes. Can be | 144 * length - The length of the buffer, number of bytes. Can be |
145 * 0. | 145 * 0. |
146 * Return Value: | 146 * Return Value: |
147 * Number of bytes the filePath consumes, including trailing zeros. | 147 * Number of bytes the filePath consumes, including trailing zeros. |
148 * Comments: | 148 * Comments: |
149 * The filePath should be always input in local encoding. | 149 * The filePath should be always input in local encoding. |
150 * | 150 * |
151 * The return value always indicated number of bytes required for the | 151 * The return value always indicated number of bytes required for the |
152 * buffer, even when there is | 152 * buffer , even when there is no buffer specified, or the buffer size is |
153 * no buffer specified, or the buffer size is less then required. In this | 153 * less than required. In this case, the buffer will not be modified. |
154 * case, the buffer will not | |
155 * be modified. | |
156 */ | 154 */ |
157 int (*Doc_getFilePath)(struct _IPDF_JsPlatform* pThis, | 155 int (*Doc_getFilePath)(struct _IPDF_JsPlatform* pThis, |
158 void* filePath, | 156 void* filePath, |
159 int length); | 157 int length); |
160 | 158 |
161 /* | 159 /* |
162 * Method: Doc_mail | 160 * Method: Doc_mail |
163 * Mails the data buffer as an attachment to all recipients, with or | 161 * Mails the data buffer as an attachment to all recipients, with or |
164 * without user interaction. | 162 * without user interaction. |
165 * Interface Version: | 163 * Interface Version: |
(...skipping 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1757 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, | 1755 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, |
1758 FPDF_BYTESTRING bsText, | 1756 FPDF_BYTESTRING bsText, |
1759 FPDF_DWORD size); | 1757 FPDF_DWORD size); |
1760 #endif // PDF_ENABLE_XFA | 1758 #endif // PDF_ENABLE_XFA |
1761 | 1759 |
1762 #ifdef __cplusplus | 1760 #ifdef __cplusplus |
1763 } | 1761 } |
1764 #endif | 1762 #endif |
1765 | 1763 |
1766 #endif // PUBLIC_FPDF_FORMFILL_H_ | 1764 #endif // PUBLIC_FPDF_FORMFILL_H_ |
OLD | NEW |