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/app/xfa_ffwidgetacc.h" | 7 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "fxjs/cfxjse_value.h" | 12 #include "fxjs/cfxjse_value.h" |
13 #include "xfa/fde/tto/fde_textout.h" | 13 #include "xfa/fde/tto/fde_textout.h" |
14 #include "xfa/fde/xml/fde_xml_imp.h" | 14 #include "xfa/fde/xml/fde_xml_imp.h" |
15 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | 15 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
16 #include "xfa/fxfa/app/xfa_ffchoicelist.h" | 16 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
17 #include "xfa/fxfa/app/xfa_fffield.h" | 17 #include "xfa/fxfa/app/xfa_fffield.h" |
18 #include "xfa/fxfa/app/xfa_fwladapter.h" | 18 #include "xfa/fxfa/app/xfa_fwladapter.h" |
19 #include "xfa/fxfa/app/xfa_textlayout.h" | 19 #include "xfa/fxfa/app/xfa_textlayout.h" |
20 #include "xfa/fxfa/include/cxfa_eventparam.h" | 20 #include "xfa/fxfa/cxfa_eventparam.h" |
21 #include "xfa/fxfa/include/xfa_ffapp.h" | |
22 #include "xfa/fxfa/include/xfa_ffdoc.h" | |
23 #include "xfa/fxfa/include/xfa_ffdocview.h" | |
24 #include "xfa/fxfa/include/xfa_ffpageview.h" | |
25 #include "xfa/fxfa/include/xfa_ffwidget.h" | |
26 #include "xfa/fxfa/include/xfa_fontmgr.h" | |
27 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" | 21 #include "xfa/fxfa/parser/cxfa_layoutprocessor.h" |
28 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" | 22 #include "xfa/fxfa/parser/cxfa_scriptcontext.h" |
29 #include "xfa/fxfa/parser/xfa_localevalue.h" | 23 #include "xfa/fxfa/parser/xfa_localevalue.h" |
30 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" | 24 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" |
| 25 #include "xfa/fxfa/xfa_ffapp.h" |
| 26 #include "xfa/fxfa/xfa_ffdoc.h" |
| 27 #include "xfa/fxfa/xfa_ffdocview.h" |
| 28 #include "xfa/fxfa/xfa_ffpageview.h" |
| 29 #include "xfa/fxfa/xfa_ffwidget.h" |
| 30 #include "xfa/fxfa/xfa_fontmgr.h" |
31 | 31 |
32 static void XFA_FFDeleteCalcData(void* pData) { | 32 static void XFA_FFDeleteCalcData(void* pData) { |
33 if (pData) { | 33 if (pData) { |
34 delete ((CXFA_CalcData*)pData); | 34 delete ((CXFA_CalcData*)pData); |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { | 38 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { |
39 XFA_FFDeleteCalcData, nullptr}; | 39 XFA_FFDeleteCalcData, nullptr}; |
40 | 40 |
(...skipping 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1687 if (pIDNode) { | 1687 if (pIDNode) { |
1688 pEmbAcc = static_cast<CXFA_WidgetAcc*>(pIDNode->GetWidgetData()); | 1688 pEmbAcc = static_cast<CXFA_WidgetAcc*>(pIDNode->GetWidgetData()); |
1689 } | 1689 } |
1690 if (pEmbAcc) { | 1690 if (pEmbAcc) { |
1691 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); | 1691 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); |
1692 return TRUE; | 1692 return TRUE; |
1693 } | 1693 } |
1694 } | 1694 } |
1695 return FALSE; | 1695 return FALSE; |
1696 } | 1696 } |
OLD | NEW |