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/src/fxfa/app/xfa_ffwidgetacc.h" | 7 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "xfa/src/fde/tto/fde_textout.h" | 11 #include "xfa/fde/tto/fde_textout.h" |
12 #include "xfa/src/fxfa/app/xfa_ffapp.h" | 12 #include "xfa/fxfa/app/xfa_ffapp.h" |
13 #include "xfa/src/fxfa/app/xfa_ffcheckbutton.h" | 13 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
14 #include "xfa/src/fxfa/app/xfa_ffchoicelist.h" | 14 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
15 #include "xfa/src/fxfa/app/xfa_ffdoc.h" | 15 #include "xfa/fxfa/app/xfa_ffdoc.h" |
16 #include "xfa/src/fxfa/app/xfa_ffdocview.h" | 16 #include "xfa/fxfa/app/xfa_ffdocview.h" |
17 #include "xfa/src/fxfa/app/xfa_fffield.h" | 17 #include "xfa/fxfa/app/xfa_fffield.h" |
18 #include "xfa/src/fxfa/app/xfa_ffpageview.h" | 18 #include "xfa/fxfa/app/xfa_ffpageview.h" |
19 #include "xfa/src/fxfa/app/xfa_ffwidget.h" | 19 #include "xfa/fxfa/app/xfa_ffwidget.h" |
20 #include "xfa/src/fxfa/app/xfa_fontmgr.h" | 20 #include "xfa/fxfa/app/xfa_fontmgr.h" |
21 #include "xfa/src/fxfa/app/xfa_fwladapter.h" | 21 #include "xfa/fxfa/app/xfa_fwladapter.h" |
22 #include "xfa/src/fxfa/app/xfa_textlayout.h" | 22 #include "xfa/fxfa/app/xfa_textlayout.h" |
23 #include "xfa/src/fxfa/parser/xfa_localevalue.h" | 23 #include "xfa/fxfa/parser/xfa_localevalue.h" |
24 #include "xfa/src/fxfa/parser/xfa_script.h" | 24 #include "xfa/fxfa/parser/xfa_script.h" |
25 | 25 |
26 static void XFA_FFDeleteCalcData(void* pData) { | 26 static void XFA_FFDeleteCalcData(void* pData) { |
27 if (pData) { | 27 if (pData) { |
28 delete ((CXFA_CalcData*)pData); | 28 delete ((CXFA_CalcData*)pData); |
29 } | 29 } |
30 } | 30 } |
31 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { | 31 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { |
32 XFA_FFDeleteCalcData, NULL}; | 32 XFA_FFDeleteCalcData, NULL}; |
33 class CXFA_WidgetLayoutData { | 33 class CXFA_WidgetLayoutData { |
34 public: | 34 public: |
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1705 if (pIDNode) { | 1705 if (pIDNode) { |
1706 pEmbAcc = (CXFA_WidgetAcc*)pIDNode->GetWidgetData(); | 1706 pEmbAcc = (CXFA_WidgetAcc*)pIDNode->GetWidgetData(); |
1707 } | 1707 } |
1708 if (pEmbAcc) { | 1708 if (pEmbAcc) { |
1709 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); | 1709 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); |
1710 return TRUE; | 1710 return TRUE; |
1711 } | 1711 } |
1712 } | 1712 } |
1713 return FALSE; | 1713 return FALSE; |
1714 } | 1714 } |
OLD | NEW |