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_CPDFSDK_BAANNOT_H_ | 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ |
8 #define FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ | 8 #define FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ |
9 | 9 |
10 #include "core/fpdfdoc/include/cpdf_aaction.h" | 10 #include "core/fpdfdoc/include/cpdf_aaction.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 class CPDF_Dictionary; | 21 class CPDF_Dictionary; |
22 class CPDF_RenderOptions; | 22 class CPDF_RenderOptions; |
23 class CPDFSDK_PageView; | 23 class CPDFSDK_PageView; |
24 | 24 |
25 class CPDFSDK_BAAnnot : public CPDFSDK_Annot { | 25 class CPDFSDK_BAAnnot : public CPDFSDK_Annot { |
26 public: | 26 public: |
27 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); | 27 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); |
28 ~CPDFSDK_BAAnnot() override; | 28 ~CPDFSDK_BAAnnot() override; |
29 | 29 |
30 // CPDFSDK_Annot | 30 // CPDFSDK_Annot |
31 CFX_ByteString GetAnnotSubtype() const override; | 31 CPDF_Annot::Subtype GetAnnotSubtype() const override; |
32 void SetRect(const CFX_FloatRect& rect) override; | 32 void SetRect(const CFX_FloatRect& rect) override; |
33 CFX_FloatRect GetRect() const override; | 33 CFX_FloatRect GetRect() const override; |
34 CPDF_Annot* GetPDFAnnot() const override; | 34 CPDF_Annot* GetPDFAnnot() const override; |
35 void Annot_OnDraw(CFX_RenderDevice* pDevice, | 35 void Annot_OnDraw(CFX_RenderDevice* pDevice, |
36 CFX_Matrix* pUser2Device, | 36 CFX_Matrix* pUser2Device, |
37 CPDF_RenderOptions* pOptions) override; | 37 CPDF_RenderOptions* pOptions) override; |
38 | 38 |
39 CPDF_Dictionary* GetAnnotDict() const; | 39 CPDF_Dictionary* GetAnnotDict() const; |
40 CPDF_Annot* GetPDFPopupAnnot() const; | 40 CPDF_Annot* GetPDFPopupAnnot() const; |
41 | 41 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const CFX_ByteString& sContents, | 97 const CFX_ByteString& sContents, |
98 const CFX_ByteString& sAPState = ""); | 98 const CFX_ByteString& sAPState = ""); |
99 | 99 |
100 void SetOpenState(bool bState); | 100 void SetOpenState(bool bState); |
101 | 101 |
102 protected: | 102 protected: |
103 CPDF_Annot* m_pAnnot; | 103 CPDF_Annot* m_pAnnot; |
104 }; | 104 }; |
105 | 105 |
106 #endif // FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ | 106 #endif // FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ |
OLD | NEW |