| 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 | 10 |
| 11 #include "xfa/fde/tto/fde_textout.h" | 11 #include "xfa/fde/tto/fde_textout.h" |
| 12 #include "xfa/fde/xml/fde_xml_imp.h" | 12 #include "xfa/fde/xml/fde_xml_imp.h" |
| 13 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" | 13 #include "xfa/fxfa/app/xfa_ffcheckbutton.h" |
| 14 #include "xfa/fxfa/app/xfa_ffchoicelist.h" | 14 #include "xfa/fxfa/app/xfa_ffchoicelist.h" |
| 15 #include "xfa/fxfa/app/xfa_fffield.h" | 15 #include "xfa/fxfa/app/xfa_fffield.h" |
| 16 #include "xfa/fxfa/app/xfa_fwladapter.h" | 16 #include "xfa/fxfa/app/xfa_fwladapter.h" |
| 17 #include "xfa/fxfa/app/xfa_textlayout.h" | 17 #include "xfa/fxfa/app/xfa_textlayout.h" |
| 18 #include "xfa/fxfa/include/xfa_ffapp.h" |
| 19 #include "xfa/fxfa/include/xfa_ffdoc.h" |
| 20 #include "xfa/fxfa/include/xfa_ffdocview.h" |
| 21 #include "xfa/fxfa/include/xfa_ffpageview.h" |
| 22 #include "xfa/fxfa/include/xfa_ffwidget.h" |
| 23 #include "xfa/fxfa/include/xfa_fontmgr.h" |
| 18 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" | 24 #include "xfa/fxfa/parser/xfa_document_layout_imp.h" |
| 19 #include "xfa/fxfa/parser/xfa_localevalue.h" | 25 #include "xfa/fxfa/parser/xfa_localevalue.h" |
| 20 #include "xfa/fxfa/parser/xfa_script.h" | 26 #include "xfa/fxfa/parser/xfa_script.h" |
| 21 #include "xfa/fxfa/parser/xfa_script_imp.h" | 27 #include "xfa/fxfa/parser/xfa_script_imp.h" |
| 22 #include "xfa/include/fxfa/xfa_ffapp.h" | |
| 23 #include "xfa/include/fxfa/xfa_ffdoc.h" | |
| 24 #include "xfa/include/fxfa/xfa_ffdocview.h" | |
| 25 #include "xfa/include/fxfa/xfa_ffpageview.h" | |
| 26 #include "xfa/include/fxfa/xfa_ffwidget.h" | |
| 27 #include "xfa/include/fxfa/xfa_fontmgr.h" | |
| 28 | 28 |
| 29 static void XFA_FFDeleteCalcData(void* pData) { | 29 static void XFA_FFDeleteCalcData(void* pData) { |
| 30 if (pData) { | 30 if (pData) { |
| 31 delete ((CXFA_CalcData*)pData); | 31 delete ((CXFA_CalcData*)pData); |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { | 34 static XFA_MAPDATABLOCKCALLBACKINFO gs_XFADeleteCalcData = { |
| 35 XFA_FFDeleteCalcData, NULL}; | 35 XFA_FFDeleteCalcData, NULL}; |
| 36 class CXFA_WidgetLayoutData { | 36 class CXFA_WidgetLayoutData { |
| 37 public: | 37 public: |
| (...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 if (pIDNode) { | 1722 if (pIDNode) { |
| 1723 pEmbAcc = (CXFA_WidgetAcc*)pIDNode->GetWidgetData(); | 1723 pEmbAcc = (CXFA_WidgetAcc*)pIDNode->GetWidgetData(); |
| 1724 } | 1724 } |
| 1725 if (pEmbAcc) { | 1725 if (pEmbAcc) { |
| 1726 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); | 1726 pEmbAcc->GetValue(wsValue, XFA_VALUEPICTURE_Display); |
| 1727 return TRUE; | 1727 return TRUE; |
| 1728 } | 1728 } |
| 1729 } | 1729 } |
| 1730 return FALSE; | 1730 return FALSE; |
| 1731 } | 1731 } |
| OLD | NEW |