Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp

Issue 1864973005: Move remaining xfa/include/fxfa files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/fpdfxfa/fpdfxfa_page.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/fpdfxfa/fpdfxfa_page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698