OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_ANNOT_H_ | 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ |
8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ | 8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ |
9 | 9 |
10 #include "core/fpdfdoc/include/cpdf_aaction.h" | 10 #include "core/fpdfdoc/include/cpdf_aaction.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 UnderlyingPageType* GetUnderlyingPage(); | 47 UnderlyingPageType* GetUnderlyingPage(); |
48 CPDF_Page* GetPDFPage(); | 48 CPDF_Page* GetPDFPage(); |
49 #ifdef PDF_ENABLE_XFA | 49 #ifdef PDF_ENABLE_XFA |
50 CPDFXFA_Page* GetPDFXFAPage(); | 50 CPDFXFA_Page* GetPDFXFAPage(); |
51 #endif // PDF_ENABLE_XFA | 51 #endif // PDF_ENABLE_XFA |
52 | 52 |
53 void SetPage(CPDFSDK_PageView* pPageView); | 53 void SetPage(CPDFSDK_PageView* pPageView); |
54 CPDFSDK_PageView* GetPageView() const { return m_pPageView; } | 54 CPDFSDK_PageView* GetPageView() const { return m_pPageView; } |
55 | 55 |
56 int GetTabOrder(); | |
57 void SetTabOrder(int iTabOrder); | |
58 | |
59 FX_BOOL IsSelected(); | 56 FX_BOOL IsSelected(); |
60 void SetSelected(FX_BOOL bSelected); | 57 void SetSelected(FX_BOOL bSelected); |
61 | 58 |
62 protected: | 59 protected: |
63 CPDFSDK_PageView* m_pPageView; | 60 CPDFSDK_PageView* m_pPageView; |
64 FX_BOOL m_bSelected; | 61 FX_BOOL m_bSelected; |
65 int m_nTabOrder; | |
66 }; | 62 }; |
67 | 63 |
68 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ | 64 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ |
OLD | NEW |