| 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 FPDFSDK_INCLUDE_FSDK_MGR_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_ |
| 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 #endif // PDF_ENABLE_XFA | 472 #endif // PDF_ENABLE_XFA |
| 473 } | 473 } |
| 474 | 474 |
| 475 #ifdef PDF_ENABLE_XFA | 475 #ifdef PDF_ENABLE_XFA |
| 476 // Gets the XFA document directly (XFA-only). | 476 // Gets the XFA document directly (XFA-only). |
| 477 CPDFXFA_Document* GetXFADocument() const { return m_pDoc; } | 477 CPDFXFA_Document* GetXFADocument() const { return m_pDoc; } |
| 478 | 478 |
| 479 int GetPageViewCount() const { return m_pageMap.size(); } | 479 int GetPageViewCount() const { return m_pageMap.size(); } |
| 480 #endif // PDF_ENABLE_XFA | 480 #endif // PDF_ENABLE_XFA |
| 481 | 481 |
| 482 CPDFSDK_PageView* GetPageView(UnderlyingPageType* pPage, | 482 CPDFSDK_PageView* GetPageView(UnderlyingPageType* pPage, bool ReNew); |
| 483 FX_BOOL ReNew = TRUE); | |
| 484 CPDFSDK_PageView* GetPageView(int nIndex); | 483 CPDFSDK_PageView* GetPageView(int nIndex); |
| 485 CPDFSDK_PageView* GetCurrentView(); | 484 CPDFSDK_PageView* GetCurrentView(); |
| 486 void RemovePageView(UnderlyingPageType* pPage); | 485 void RemovePageView(UnderlyingPageType* pPage); |
| 487 void UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot); | 486 void UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot); |
| 488 | 487 |
| 489 CPDFSDK_Annot* GetFocusAnnot(); | 488 CPDFSDK_Annot* GetFocusAnnot(); |
| 490 | 489 |
| 491 IJS_Runtime* GetJsRuntime(); | 490 IJS_Runtime* GetJsRuntime(); |
| 492 | 491 |
| 493 FX_BOOL SetFocusAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag = 0); | 492 FX_BOOL SetFocusAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag = 0); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 FX_BOOL m_bTakeOverPage; | 625 FX_BOOL m_bTakeOverPage; |
| 627 #endif // PDF_ENABLE_XFA | 626 #endif // PDF_ENABLE_XFA |
| 628 FX_BOOL m_bEnterWidget; | 627 FX_BOOL m_bEnterWidget; |
| 629 FX_BOOL m_bExitWidget; | 628 FX_BOOL m_bExitWidget; |
| 630 FX_BOOL m_bOnWidget; | 629 FX_BOOL m_bOnWidget; |
| 631 FX_BOOL m_bValid; | 630 FX_BOOL m_bValid; |
| 632 FX_BOOL m_bLocked; | 631 FX_BOOL m_bLocked; |
| 633 }; | 632 }; |
| 634 | 633 |
| 635 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ | 634 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ |
| OLD | NEW |