| 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 "../../../public/fpdf_formfill.h" |
| 7 #include "../../include/fsdk_define.h" | 8 #include "../../include/fsdk_define.h" |
| 8 #include "../../include/fpdfxfa/fpdfxfa_doc.h" | 9 #include "../../include/fpdfxfa/fpdfxfa_doc.h" |
| 9 #include "../../include/fpdfformfill.h" | |
| 10 #include "../../include/fsdk_mgr.h" | 10 #include "../../include/fsdk_mgr.h" |
| 11 #include "../../include/fpdfxfa/fpdfxfa_app.h" | 11 #include "../../include/fpdfxfa/fpdfxfa_app.h" |
| 12 #include "../../include/fpdfxfa/fpdfxfa_util.h" | 12 #include "../../include/fpdfxfa/fpdfxfa_util.h" |
| 13 #include "../../include/fpdfxfa/fpdfxfa_page.h" | 13 #include "../../include/fpdfxfa/fpdfxfa_page.h" |
| 14 #include "../../include/javascript/IJavaScript.h" | 14 #include "../../include/javascript/IJavaScript.h" |
| 15 | 15 |
| 16 #define IDS_XFA_Validate_Input "At least one required field was empty. Please f
ill in the required fields\r\n(highlighted) before continuing." | 16 #define IDS_XFA_Validate_Input "At least one required field was empty. Please f
ill in the required fields\r\n(highlighted) before continuing." |
| 17 | 17 |
| 18 // submit | 18 // submit |
| 19 #define FXFA_CONFIG 0x00000001 | 19 #define FXFA_CONFIG 0x00000001 |
| (...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 return _GetHValueByName(szPropName, hValue, m_pSDKDoc->GetEnv()->GetJSRu
ntime()); | 1434 return _GetHValueByName(szPropName, hValue, m_pSDKDoc->GetEnv()->GetJSRu
ntime()); |
| 1435 | 1435 |
| 1436 } | 1436 } |
| 1437 FX_BOOL CPDFXFA_Document::_GetHValueByName(FX_BSTR utf8Name, FXJSE_HVALUE hValue
, IFXJS_Runtime* runTime) | 1437 FX_BOOL CPDFXFA_Document::_GetHValueByName(FX_BSTR utf8Name, FXJSE_HVALUE hValue
, IFXJS_Runtime* runTime) |
| 1438 { | 1438 { |
| 1439 return runTime->GetHValueByName(utf8Name, hValue); | 1439 return runTime->GetHValueByName(utf8Name, hValue); |
| 1440 } | 1440 } |
| 1441 | 1441 |
| OLD | NEW |