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 "../../include/fsdk_define.h" | 7 #include "fpdfsdk/include/fsdk_define.h" |
8 #include "../../include/fpdfxfa/fpdfxfa_doc.h" | 8 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" |
9 #include "../../include/fsdk_mgr.h" | 9 #include "fpdfsdk/include/fsdk_mgr.h" |
10 #include "../../include/fpdfxfa/fpdfxfa_app.h" | 10 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h" |
11 #include "../../include/fpdfxfa/fpdfxfa_util.h" | 11 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" |
12 #include "../../include/fpdfxfa/fpdfxfa_page.h" | 12 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" |
13 #include "../../include/javascript/IJavaScript.h" | 13 #include "fpdfsdk/include/javascript/IJavaScript.h" |
14 #include "public/fpdf_formfill.h" | 14 #include "public/fpdf_formfill.h" |
15 | 15 |
16 #define IDS_XFA_Validate_Input \ | 16 #define IDS_XFA_Validate_Input \ |
17 "At least one required field was empty. Please fill in the required " \ | 17 "At least one required field was empty. Please fill in the required " \ |
18 "fields\r\n(highlighted) before continuing." | 18 "fields\r\n(highlighted) before continuing." |
19 | 19 |
20 // submit | 20 // submit |
21 #define FXFA_CONFIG 0x00000001 | 21 #define FXFA_CONFIG 0x00000001 |
22 #define FXFA_TEMPLATE 0x00000010 | 22 #define FXFA_TEMPLATE 0x00000010 |
23 #define FXFA_LOCALESET 0x00000100 | 23 #define FXFA_LOCALESET 0x00000100 |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 } | 1251 } |
1252 | 1252 |
1253 return _GetHValueByName(szPropName, hValue, | 1253 return _GetHValueByName(szPropName, hValue, |
1254 m_pSDKDoc->GetEnv()->GetJSRuntime()); | 1254 m_pSDKDoc->GetEnv()->GetJSRuntime()); |
1255 } | 1255 } |
1256 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, | 1256 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, |
1257 FXJSE_HVALUE hValue, | 1257 FXJSE_HVALUE hValue, |
1258 IJS_Runtime* runTime) { | 1258 IJS_Runtime* runTime) { |
1259 return runTime->GetHValueByName(utf8Name, hValue); | 1259 return runTime->GetHValueByName(utf8Name, hValue); |
1260 } | 1260 } |
OLD | NEW |