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_INCLUDE_XFA_FFDOCVIEW_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ |
9 | 9 |
10 #include "xfa/fxfa/include/xfa_ffdoc.h" | 10 #include "xfa/fxfa/include/xfa_ffdoc.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 CXFA_WidgetAccIterator* CreateWidgetAccIterator( | 53 CXFA_WidgetAccIterator* CreateWidgetAccIterator( |
54 XFA_WIDGETORDER eOrder = XFA_WIDGETORDER_PreOrder); | 54 XFA_WIDGETORDER eOrder = XFA_WIDGETORDER_PreOrder); |
55 CXFA_FFWidget* GetFocusWidget(); | 55 CXFA_FFWidget* GetFocusWidget(); |
56 void KillFocus(); | 56 void KillFocus(); |
57 FX_BOOL SetFocus(CXFA_FFWidget* hWidget); | 57 FX_BOOL SetFocus(CXFA_FFWidget* hWidget); |
58 CXFA_FFWidget* GetWidgetByName(const CFX_WideStringC& wsName, | 58 CXFA_FFWidget* GetWidgetByName(const CFX_WideStringC& wsName, |
59 CXFA_FFWidget* pRefWidget = NULL); | 59 CXFA_FFWidget* pRefWidget = NULL); |
60 CXFA_WidgetAcc* GetWidgetAccByName(const CFX_WideStringC& wsName, | 60 CXFA_WidgetAcc* GetWidgetAccByName(const CFX_WideStringC& wsName, |
61 CXFA_WidgetAcc* pRefWidgetAcc = NULL); | 61 CXFA_WidgetAcc* pRefWidgetAcc = NULL); |
62 CXFA_LayoutProcessor* GetXFALayout() const; | 62 CXFA_LayoutProcessor* GetXFALayout() const; |
63 void OnPageEvent(CXFA_ContainerLayoutItem* pSender, | 63 void OnPageEvent(CXFA_ContainerLayoutItem* pSender, uint32_t dwEvent); |
64 XFA_PAGEEVENT eEvent, | |
65 int32_t iPageIndex); | |
66 void LockUpdate(); | 64 void LockUpdate(); |
67 void UnlockUpdate(); | 65 void UnlockUpdate(); |
68 FX_BOOL IsUpdateLocked(); | 66 FX_BOOL IsUpdateLocked(); |
69 void ClearInvalidateList(); | 67 void ClearInvalidateList(); |
70 void AddInvalidateRect(CXFA_FFWidget* pWidget, const CFX_RectF& rtInvalidate); | 68 void AddInvalidateRect(CXFA_FFWidget* pWidget, const CFX_RectF& rtInvalidate); |
71 void AddInvalidateRect(CXFA_FFPageView* pPageView, | 69 void AddInvalidateRect(CXFA_FFPageView* pPageView, |
72 const CFX_RectF& rtInvalidate); | 70 const CFX_RectF& rtInvalidate); |
73 void RunInvalidate(); | 71 void RunInvalidate(); |
74 void RunDocClose(); | 72 void RunDocClose(); |
75 void DestroyDocView(); | 73 void DestroyDocView(); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); | 161 FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); |
164 void SkipTree(); | 162 void SkipTree(); |
165 | 163 |
166 protected: | 164 protected: |
167 CXFA_ContainerIterator m_ContentIterator; | 165 CXFA_ContainerIterator m_ContentIterator; |
168 CXFA_FFDocView* m_pDocView; | 166 CXFA_FFDocView* m_pDocView; |
169 CXFA_WidgetAcc* m_pCurWidgetAcc; | 167 CXFA_WidgetAcc* m_pCurWidgetAcc; |
170 }; | 168 }; |
171 | 169 |
172 #endif // XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ | 170 #endif // XFA_FXFA_INCLUDE_XFA_FFDOCVIEW_H_ |
OLD | NEW |