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 #include "xfa/fxfa/include/xfa_ffdocview.h" | 7 #include "xfa/fxfa/xfa_ffdocview.h" |
8 | 8 |
9 #include "core/fxcrt/fx_ext.h" | 9 #include "core/fxcrt/fx_ext.h" |
10 #include "xfa/fxfa/app/xfa_ffbarcode.h" | 10 #include "xfa/fxfa/app/xfa_ffbarcode.h" |
11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | 11 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
12 #include "xfa/fxfa/app/xfa_ffchoicelist.h" | 12 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
13 #include "xfa/fxfa/app/xfa_ffdraw.h" | 13 #include "xfa/fxfa/app/xfa_ffdraw.h" |
14 #include "xfa/fxfa/app/xfa_ffexclgroup.h" | 14 #include "xfa/fxfa/app/xfa_ffexclgroup.h" |
15 #include "xfa/fxfa/app/xfa_fffield.h" | 15 #include "xfa/fxfa/app/xfa_fffield.h" |
16 #include "xfa/fxfa/app/xfa_ffimage.h" | 16 #include "xfa/fxfa/app/xfa_ffimage.h" |
17 #include "xfa/fxfa/app/xfa_ffimageedit.h" | 17 #include "xfa/fxfa/app/xfa_ffimageedit.h" |
18 #include "xfa/fxfa/app/xfa_ffpath.h" | 18 #include "xfa/fxfa/app/xfa_ffpath.h" |
19 #include "xfa/fxfa/app/xfa_ffpushbutton.h" | 19 #include "xfa/fxfa/app/xfa_ffpushbutton.h" |
20 #include "xfa/fxfa/app/xfa_ffsignature.h" | 20 #include "xfa/fxfa/app/xfa_ffsignature.h" |
21 #include "xfa/fxfa/app/xfa_ffsubform.h" | 21 #include "xfa/fxfa/app/xfa_ffsubform.h" |
22 #include "xfa/fxfa/app/xfa_fftext.h" | 22 #include "xfa/fxfa/app/xfa_fftext.h" |
23 #include "xfa/fxfa/app/xfa_fftextedit.h" | 23 #include "xfa/fxfa/app/xfa_fftextedit.h" |
24 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" | 24 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" |
25 #include "xfa/fxfa/app/xfa_fwladapter.h" | 25 #include "xfa/fxfa/app/xfa_fwladapter.h" |
26 #include "xfa/fxfa/app/xfa_textlayout.h" | 26 #include "xfa/fxfa/app/xfa_textlayout.h" |
27 #include "xfa/fxfa/include/xfa_ffapp.h" | |
28 #include "xfa/fxfa/include/xfa_ffdoc.h" | |
29 #include "xfa/fxfa/include/xfa_ffpageview.h" | |
30 #include "xfa/fxfa/include/xfa_ffwidget.h" | |
31 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" | |
32 #include "xfa/fxfa/parser/cxfa_binditems.h" | 27 #include "xfa/fxfa/parser/cxfa_binditems.h" |
33 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" | 28 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" |
34 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" | 29 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" |
35 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" | 30 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" |
| 31 #include "xfa/fxfa/xfa_ffapp.h" |
| 32 #include "xfa/fxfa/xfa_ffdoc.h" |
| 33 #include "xfa/fxfa/xfa_ffpageview.h" |
| 34 #include "xfa/fxfa/xfa_ffwidget.h" |
| 35 #include "xfa/fxfa/xfa_ffwidgethandler.h" |
36 | 36 |
37 const XFA_ATTRIBUTEENUM gs_EventActivity[] = { | 37 const XFA_ATTRIBUTEENUM gs_EventActivity[] = { |
38 XFA_ATTRIBUTEENUM_Click, XFA_ATTRIBUTEENUM_Change, | 38 XFA_ATTRIBUTEENUM_Click, XFA_ATTRIBUTEENUM_Change, |
39 XFA_ATTRIBUTEENUM_DocClose, XFA_ATTRIBUTEENUM_DocReady, | 39 XFA_ATTRIBUTEENUM_DocClose, XFA_ATTRIBUTEENUM_DocReady, |
40 XFA_ATTRIBUTEENUM_Enter, XFA_ATTRIBUTEENUM_Exit, | 40 XFA_ATTRIBUTEENUM_Enter, XFA_ATTRIBUTEENUM_Exit, |
41 XFA_ATTRIBUTEENUM_Full, XFA_ATTRIBUTEENUM_IndexChange, | 41 XFA_ATTRIBUTEENUM_Full, XFA_ATTRIBUTEENUM_IndexChange, |
42 XFA_ATTRIBUTEENUM_Initialize, XFA_ATTRIBUTEENUM_MouseDown, | 42 XFA_ATTRIBUTEENUM_Initialize, XFA_ATTRIBUTEENUM_MouseDown, |
43 XFA_ATTRIBUTEENUM_MouseEnter, XFA_ATTRIBUTEENUM_MouseExit, | 43 XFA_ATTRIBUTEENUM_MouseEnter, XFA_ATTRIBUTEENUM_MouseExit, |
44 XFA_ATTRIBUTEENUM_MouseUp, XFA_ATTRIBUTEENUM_PostExecute, | 44 XFA_ATTRIBUTEENUM_MouseUp, XFA_ATTRIBUTEENUM_PostExecute, |
45 XFA_ATTRIBUTEENUM_PostOpen, XFA_ATTRIBUTEENUM_PostPrint, | 45 XFA_ATTRIBUTEENUM_PostOpen, XFA_ATTRIBUTEENUM_PostPrint, |
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 } | 850 } |
851 | 851 |
852 FX_BOOL CXFA_WidgetAccIterator::SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget) { | 852 FX_BOOL CXFA_WidgetAccIterator::SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget) { |
853 return FALSE; | 853 return FALSE; |
854 } | 854 } |
855 | 855 |
856 void CXFA_WidgetAccIterator::SkipTree() { | 856 void CXFA_WidgetAccIterator::SkipTree() { |
857 m_ContentIterator.SkipChildrenAndMoveToNext(); | 857 m_ContentIterator.SkipChildrenAndMoveToNext(); |
858 m_pCurWidgetAcc = nullptr; | 858 m_pCurWidgetAcc = nullptr; |
859 } | 859 } |
OLD | NEW |