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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 CFX_Matrix* pMatrix, | 407 CFX_Matrix* pMatrix, |
408 const CFX_RectF& rtUI) { | 408 const CFX_RectF& rtUI) { |
409 return FALSE; | 409 return FALSE; |
410 } | 410 } |
411 virtual int32_t CountPages(CXFA_FFDoc* hDoc) = 0; | 411 virtual int32_t CountPages(CXFA_FFDoc* hDoc) = 0; |
412 virtual int32_t GetCurrentPage(CXFA_FFDoc* hDoc) = 0; | 412 virtual int32_t GetCurrentPage(CXFA_FFDoc* hDoc) = 0; |
413 virtual void SetCurrentPage(CXFA_FFDoc* hDoc, int32_t iCurPage) = 0; | 413 virtual void SetCurrentPage(CXFA_FFDoc* hDoc, int32_t iCurPage) = 0; |
414 virtual FX_BOOL IsCalculationsEnabled(CXFA_FFDoc* hDoc) = 0; | 414 virtual FX_BOOL IsCalculationsEnabled(CXFA_FFDoc* hDoc) = 0; |
415 virtual void SetCalculationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled) = 0; | 415 virtual void SetCalculationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled) = 0; |
416 virtual void GetTitle(CXFA_FFDoc* hDoc, CFX_WideString& wsTitle) = 0; | 416 virtual void GetTitle(CXFA_FFDoc* hDoc, CFX_WideString& wsTitle) = 0; |
417 virtual void SetTitle(CXFA_FFDoc* hDoc, const CFX_WideStringC& wsTitle) = 0; | 417 virtual void SetTitle(CXFA_FFDoc* hDoc, const CFX_WideString& wsTitle) = 0; |
418 virtual void ExportData(CXFA_FFDoc* hDoc, | 418 virtual void ExportData(CXFA_FFDoc* hDoc, |
419 const CFX_WideStringC& wsFilePath, | 419 const CFX_WideStringC& wsFilePath, |
420 FX_BOOL bXDP = TRUE) = 0; | 420 FX_BOOL bXDP = TRUE) = 0; |
421 virtual void ImportData(CXFA_FFDoc* hDoc, | 421 virtual void ImportData(CXFA_FFDoc* hDoc, |
422 const CFX_WideStringC& wsFilePath) = 0; | 422 const CFX_WideStringC& wsFilePath) = 0; |
423 virtual void GotoURL(CXFA_FFDoc* hDoc, | 423 virtual void GotoURL(CXFA_FFDoc* hDoc, |
424 const CFX_WideStringC& bsURL, | 424 const CFX_WideStringC& bsURL, |
425 FX_BOOL bAppend = TRUE) = 0; | 425 FX_BOOL bAppend = TRUE) = 0; |
426 virtual FX_BOOL IsValidationsEnabled(CXFA_FFDoc* hDoc) = 0; | 426 virtual FX_BOOL IsValidationsEnabled(CXFA_FFDoc* hDoc) = 0; |
427 virtual void SetValidationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled) = 0; | 427 virtual void SetValidationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled) = 0; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 virtual void Release() = 0; | 539 virtual void Release() = 0; |
540 virtual void Reset() = 0; | 540 virtual void Reset() = 0; |
541 virtual CXFA_FFWidget* MoveToFirst() = 0; | 541 virtual CXFA_FFWidget* MoveToFirst() = 0; |
542 virtual CXFA_FFWidget* MoveToLast() = 0; | 542 virtual CXFA_FFWidget* MoveToLast() = 0; |
543 virtual CXFA_FFWidget* MoveToNext() = 0; | 543 virtual CXFA_FFWidget* MoveToNext() = 0; |
544 virtual CXFA_FFWidget* MoveToPrevious() = 0; | 544 virtual CXFA_FFWidget* MoveToPrevious() = 0; |
545 virtual CXFA_FFWidget* GetCurrentWidget() = 0; | 545 virtual CXFA_FFWidget* GetCurrentWidget() = 0; |
546 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; | 546 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; |
547 | 547 |
548 protected: | 548 protected: |
549 ~IXFA_WidgetIterator() {} | 549 virtual ~IXFA_WidgetIterator() {} |
550 }; | 550 }; |
551 | 551 |
552 #endif // XFA_FXFA_INCLUDE_FXFA_H_ | 552 #endif // XFA_FXFA_INCLUDE_FXFA_H_ |
OLD | NEW |