| 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 "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 7 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
| 8 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 8 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
| 9 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" | 9 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" |
| 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" | 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" |
| 11 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" | 11 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" |
| 12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" | 12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" |
| 13 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h" | 13 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h" |
| 14 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" | 14 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" |
| 15 #include "fpdfsdk/include/fsdk_define.h" | 15 #include "fpdfsdk/include/fsdk_define.h" |
| 16 #include "fpdfsdk/include/fsdk_mgr.h" | 16 #include "fpdfsdk/include/fsdk_mgr.h" |
| 17 #include "fpdfsdk/javascript/ijs_runtime.h" | 17 #include "fpdfsdk/javascript/ijs_runtime.h" |
| 18 #include "public/fpdf_formfill.h" | 18 #include "public/fpdf_formfill.h" |
| 19 #include "xfa/include/fxfa/xfa_ffapp.h" | 19 #include "xfa/fxfa/include/xfa_ffapp.h" |
| 20 #include "xfa/include/fxfa/xfa_ffdoc.h" | 20 #include "xfa/fxfa/include/xfa_ffdoc.h" |
| 21 #include "xfa/include/fxfa/xfa_ffdocview.h" | 21 #include "xfa/fxfa/include/xfa_ffdocview.h" |
| 22 #include "xfa/include/fxfa/xfa_ffpageview.h" | 22 #include "xfa/fxfa/include/xfa_ffpageview.h" |
| 23 #include "xfa/include/fxfa/xfa_ffwidget.h" | 23 #include "xfa/fxfa/include/xfa_ffwidget.h" |
| 24 | 24 |
| 25 #define IDS_XFA_Validate_Input \ | 25 #define IDS_XFA_Validate_Input \ |
| 26 "At least one required field was empty. Please fill in the required " \ | 26 "At least one required field was empty. Please fill in the required " \ |
| 27 "fields\r\n(highlighted) before continuing." | 27 "fields\r\n(highlighted) before continuing." |
| 28 | 28 |
| 29 // submit | 29 // submit |
| 30 #define FXFA_CONFIG 0x00000001 | 30 #define FXFA_CONFIG 0x00000001 |
| 31 #define FXFA_TEMPLATE 0x00000010 | 31 #define FXFA_TEMPLATE 0x00000010 |
| 32 #define FXFA_LOCALESET 0x00000100 | 32 #define FXFA_LOCALESET 0x00000100 |
| 33 #define FXFA_DATASETS 0x00001000 | 33 #define FXFA_DATASETS 0x00001000 |
| (...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 } | 1272 } |
| 1273 | 1273 |
| 1274 return _GetHValueByName(szPropName, hValue, | 1274 return _GetHValueByName(szPropName, hValue, |
| 1275 m_pSDKDoc->GetEnv()->GetJSRuntime()); | 1275 m_pSDKDoc->GetEnv()->GetJSRuntime()); |
| 1276 } | 1276 } |
| 1277 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, | 1277 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, |
| 1278 FXJSE_HVALUE hValue, | 1278 FXJSE_HVALUE hValue, |
| 1279 IJS_Runtime* runTime) { | 1279 IJS_Runtime* runTime) { |
| 1280 return runTime->GetHValueByName(utf8Name, hValue); | 1280 return runTime->GetHValueByName(utf8Name, hValue); |
| 1281 } | 1281 } |
| OLD | NEW |