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 XFA_FXFA_INCLUDE_FXFA_H_ | 7 #ifndef XFA_FXFA_INCLUDE_FXFA_H_ |
8 #define XFA_FXFA_INCLUDE_FXFA_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 * @param[in] wsTitle - Title string for box. | 236 * @param[in] wsTitle - Title string for box. |
237 * @param[in] wsDefaultAnswer - Initial contents for answer. | 237 * @param[in] wsDefaultAnswer - Initial contents for answer. |
238 * @param[in] bMask - Mask the user input with asterisks when true, | 238 * @param[in] bMask - Mask the user input with asterisks when true, |
239 * @return A string containing the user's response. | 239 * @return A string containing the user's response. |
240 */ | 240 */ |
241 virtual CFX_WideString Response(const CFX_WideString& wsQuestion, | 241 virtual CFX_WideString Response(const CFX_WideString& wsQuestion, |
242 const CFX_WideString& wsTitle = L"", | 242 const CFX_WideString& wsTitle = L"", |
243 const CFX_WideString& wsDefaultAnswer = L"", | 243 const CFX_WideString& wsDefaultAnswer = L"", |
244 FX_BOOL bMask = TRUE) = 0; | 244 FX_BOOL bMask = TRUE) = 0; |
245 | 245 |
246 virtual int32_t GetDocumentCountInBatch() = 0; | |
247 virtual int32_t GetCurDocumentInBatch() = 0; | |
248 | |
249 /** | 246 /** |
250 * Download something from somewhere. | 247 * Download something from somewhere. |
251 * @param[in] wsURL - http, ftp, such as | 248 * @param[in] wsURL - http, ftp, such as |
252 * "http://www.w3.org/TR/REC-xml-names/". | 249 * "http://www.w3.org/TR/REC-xml-names/". |
253 */ | 250 */ |
254 virtual IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) = 0; | 251 virtual IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) = 0; |
255 | 252 |
256 /** | 253 /** |
257 * POST data to the given url. | 254 * POST data to the given url. |
258 * @param[in] wsURL the URL being uploaded. | 255 * @param[in] wsURL the URL being uploaded. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 virtual void Reset() = 0; | 351 virtual void Reset() = 0; |
355 virtual CXFA_FFWidget* MoveToFirst() = 0; | 352 virtual CXFA_FFWidget* MoveToFirst() = 0; |
356 virtual CXFA_FFWidget* MoveToLast() = 0; | 353 virtual CXFA_FFWidget* MoveToLast() = 0; |
357 virtual CXFA_FFWidget* MoveToNext() = 0; | 354 virtual CXFA_FFWidget* MoveToNext() = 0; |
358 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 355 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
359 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 356 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
360 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 357 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
361 }; | 358 }; |
362 | 359 |
363 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 360 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
OLD | NEW |