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 XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ | 7 #ifndef XFA_FXFA_XFA_FFDOCVIEW_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ | 8 #define XFA_FXFA_XFA_FFDOCVIEW_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "xfa/fxfa/include/cxfa_eventparam.h" | 13 #include "xfa/fxfa/cxfa_eventparam.h" |
14 #include "xfa/fxfa/include/xfa_ffdoc.h" | 14 #include "xfa/fxfa/xfa_ffdoc.h" |
15 | 15 |
16 class CXFA_FFWidgetHandler; | 16 class CXFA_FFWidgetHandler; |
17 class CXFA_FFDoc; | 17 class CXFA_FFDoc; |
18 class CXFA_FFWidget; | 18 class CXFA_FFWidget; |
19 class CXFA_WidgetAccIterator; | 19 class CXFA_WidgetAccIterator; |
20 | 20 |
21 extern const XFA_ATTRIBUTEENUM gs_EventActivity[]; | 21 extern const XFA_ATTRIBUTEENUM gs_EventActivity[]; |
22 enum XFA_DOCVIEW_LAYOUTSTATUS { | 22 enum XFA_DOCVIEW_LAYOUTSTATUS { |
23 XFA_DOCVIEW_LAYOUTSTATUS_None, | 23 XFA_DOCVIEW_LAYOUTSTATUS_None, |
24 XFA_DOCVIEW_LAYOUTSTATUS_Start, | 24 XFA_DOCVIEW_LAYOUTSTATUS_Start, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 CXFA_WidgetAcc* GetCurrentWidgetAcc(); | 142 CXFA_WidgetAcc* GetCurrentWidgetAcc(); |
143 FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); | 143 FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); |
144 void SkipTree(); | 144 void SkipTree(); |
145 | 145 |
146 protected: | 146 protected: |
147 CXFA_ContainerIterator m_ContentIterator; | 147 CXFA_ContainerIterator m_ContentIterator; |
148 CXFA_FFDocView* const m_pDocView; | 148 CXFA_FFDocView* const m_pDocView; |
149 CXFA_WidgetAcc* m_pCurWidgetAcc; // not owned. | 149 CXFA_WidgetAcc* m_pCurWidgetAcc; // not owned. |
150 }; | 150 }; |
151 | 151 |
152 #endif // XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ | 152 #endif // XFA_FXFA_XFA_FFDOCVIEW_H_ |
OLD | NEW |