| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 const CPDF_Annot* GetPDFWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); | 548 const CPDF_Annot* GetPDFWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); |
| 549 CPDFSDK_Annot* GetFXWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); | 549 CPDFSDK_Annot* GetFXWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); |
| 550 CPDFSDK_Annot* GetFocusAnnot(); | 550 CPDFSDK_Annot* GetFocusAnnot(); |
| 551 void SetFocusAnnot(CPDFSDK_Annot* pSDKAnnot, FX_UINT nFlag = 0) { | 551 void SetFocusAnnot(CPDFSDK_Annot* pSDKAnnot, FX_UINT nFlag = 0) { |
| 552 m_pSDKDoc->SetFocusAnnot(pSDKAnnot, nFlag); | 552 m_pSDKDoc->SetFocusAnnot(pSDKAnnot, nFlag); |
| 553 } | 553 } |
| 554 FX_BOOL KillFocusAnnot(FX_UINT nFlag = 0) { | 554 FX_BOOL KillFocusAnnot(FX_UINT nFlag = 0) { |
| 555 return m_pSDKDoc->KillFocusAnnot(nFlag); | 555 return m_pSDKDoc->KillFocusAnnot(nFlag); |
| 556 } | 556 } |
| 557 void KillFocusAnnotIfNeeded(); | 557 void KillFocusAnnotIfNeeded(); |
| 558 FX_BOOL Annot_HasAppearance(CPDF_Annot* pAnnot); | |
| 559 | 558 |
| 560 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary* pDict); | 559 CPDFSDK_Annot* AddAnnot(CPDF_Dictionary* pDict); |
| 561 CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict); | 560 CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict); |
| 562 CPDFSDK_Annot* AddAnnot(CPDF_Annot* pPDFAnnot); | 561 CPDFSDK_Annot* AddAnnot(CPDF_Annot* pPDFAnnot); |
| 563 | 562 |
| 564 FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); | 563 FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); |
| 565 size_t CountAnnots() const; | 564 size_t CountAnnots() const; |
| 566 CPDFSDK_Annot* GetAnnot(size_t nIndex); | 565 CPDFSDK_Annot* GetAnnot(size_t nIndex); |
| 567 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictionary* pDict); | 566 CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictionary* pDict); |
| 568 | 567 |
| (...skipping 57 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 |