| 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary* pDict); | 580 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary* pDict); |
| 581 CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict); | 581 CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict); |
| 582 CPDFSDK_Annot* AddAnnot(CPDF_Annot* pPDFAnnot); | 582 CPDFSDK_Annot* AddAnnot(CPDF_Annot* pPDFAnnot); |
| 583 | 583 |
| 584 FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); | 584 FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); |
| 585 size_t CountAnnots() const; | 585 size_t CountAnnots() const; |
| 586 CPDFSDK_Annot* GetAnnot(size_t nIndex); | 586 CPDFSDK_Annot* GetAnnot(size_t nIndex); |
| 587 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictionary* pDict); | 587 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictionary* pDict); |
| 588 | 588 |
| 589 #ifdef PDF_ENABLE_XFA | 589 #ifdef PDF_ENABLE_XFA |
| 590 CPDFSDK_Annot* AddAnnot(IXFA_Widget* pPDFAnnot); | 590 CPDFSDK_Annot* AddAnnot(CXFA_FFWidget* pPDFAnnot); |
| 591 CPDFSDK_Annot* GetAnnotByXFAWidget(IXFA_Widget* hWidget); | 591 CPDFSDK_Annot* GetAnnotByXFAWidget(CXFA_FFWidget* hWidget); |
| 592 CPDFXFA_Page* GetPDFXFAPage() { return m_page; } | 592 CPDFXFA_Page* GetPDFXFAPage() { return m_page; } |
| 593 CPDF_Page* GetPDFPage(); | 593 CPDF_Page* GetPDFPage(); |
| 594 #else | 594 #else |
| 595 CPDF_Page* GetPDFPage() { return m_page; } | 595 CPDF_Page* GetPDFPage() { return m_page; } |
| 596 #endif // PDF_ENABLE_XFA | 596 #endif // PDF_ENABLE_XFA |
| 597 | 597 |
| 598 CPDF_Document* GetPDFDocument(); | 598 CPDF_Document* GetPDFDocument(); |
| 599 CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; } | 599 CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; } |
| 600 FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag); | 600 FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag); |
| 601 FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag); | 601 FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 FX_BOOL m_bTakeOverPage; | 647 FX_BOOL m_bTakeOverPage; |
| 648 #endif // PDF_ENABLE_XFA | 648 #endif // PDF_ENABLE_XFA |
| 649 FX_BOOL m_bEnterWidget; | 649 FX_BOOL m_bEnterWidget; |
| 650 FX_BOOL m_bExitWidget; | 650 FX_BOOL m_bExitWidget; |
| 651 FX_BOOL m_bOnWidget; | 651 FX_BOOL m_bOnWidget; |
| 652 FX_BOOL m_bValid; | 652 FX_BOOL m_bValid; |
| 653 FX_BOOL m_bLocked; | 653 FX_BOOL m_bLocked; |
| 654 }; | 654 }; |
| 655 | 655 |
| 656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ | 656 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ |
| OLD | NEW |