| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 * @param[in] wsData the data being uploaded. | 252 * @param[in] wsData the data being uploaded. |
| 253 * @param[in] wsEncode the encode of data including UTF-8, UTF-16, | 253 * @param[in] wsEncode the encode of data including UTF-8, UTF-16, |
| 254 * ISO8859-1, any recognized [IANA]character encoding | 254 * ISO8859-1, any recognized [IANA]character encoding |
| 255 * @return TRUE Server permitted the post request, FALSE otherwise. | 255 * @return TRUE Server permitted the post request, FALSE otherwise. |
| 256 */ | 256 */ |
| 257 virtual FX_BOOL PutRequestURL(const CFX_WideStringC& wsURL, | 257 virtual FX_BOOL PutRequestURL(const CFX_WideStringC& wsURL, |
| 258 const CFX_WideStringC& wsData, | 258 const CFX_WideStringC& wsData, |
| 259 const CFX_WideStringC& wsEncode) = 0; | 259 const CFX_WideStringC& wsEncode) = 0; |
| 260 | 260 |
| 261 virtual void LoadString(int32_t iStringID, CFX_WideString& wsString) = 0; | 261 virtual void LoadString(int32_t iStringID, CFX_WideString& wsString) = 0; |
| 262 virtual FX_BOOL ShowFileDialog(const CFX_WideStringC& wsTitle, | |
| 263 const CFX_WideStringC& wsFilter, | |
| 264 CFX_WideStringArray& wsPathArr, | |
| 265 FX_BOOL bOpen = TRUE) = 0; | |
| 266 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; | 262 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; |
| 267 }; | 263 }; |
| 268 | 264 |
| 269 #define XFA_INVALIDATE_AllPages 0x00000000 | 265 #define XFA_INVALIDATE_AllPages 0x00000000 |
| 270 #define XFA_INVALIDATE_CurrentPage 0x00000001 | 266 #define XFA_INVALIDATE_CurrentPage 0x00000001 |
| 271 #define XFA_PRINTOPT_ShowDialog 0x00000001 | 267 #define XFA_PRINTOPT_ShowDialog 0x00000001 |
| 272 #define XFA_PRINTOPT_CanCancel 0x00000002 | 268 #define XFA_PRINTOPT_CanCancel 0x00000002 |
| 273 #define XFA_PRINTOPT_ShrinkPage 0x00000004 | 269 #define XFA_PRINTOPT_ShrinkPage 0x00000004 |
| 274 #define XFA_PRINTOPT_AsImage 0x00000008 | 270 #define XFA_PRINTOPT_AsImage 0x00000008 |
| 275 #define XFA_PRINTOPT_ReverseOrder 0x00000010 | 271 #define XFA_PRINTOPT_ReverseOrder 0x00000010 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 virtual CXFA_FFWidget* MoveToNext() = 0; | 537 virtual CXFA_FFWidget* MoveToNext() = 0; |
| 542 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 538 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
| 543 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 539 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
| 544 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 540 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
| 545 | 541 |
| 546 protected: | 542 protected: |
| 547 ~IXFA_WidgetIterator() {} | 543 ~IXFA_WidgetIterator() {} |
| 548 }; | 544 }; |
| 549 | 545 |
| 550 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 546 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
| OLD | NEW |