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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h

Issue 1701883004: Banish CFX_ByteStringArray and CFX_WideStringArray to the XFA side. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 10 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 | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | fpdfsdk/include/fsdk_mgr.h » ('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 #ifndef FPDFXFA_DOC_H_ 7 #ifndef FPDFXFA_DOC_H_
8 #define FPDFXFA_DOC_H_ 8 #define FPDFXFA_DOC_H_
9 9
10 #include <vector>
11
10 #include "public/fpdfview.h" 12 #include "public/fpdfview.h"
11 #include "xfa/include/fxfa/fxfa.h" 13 #include "xfa/include/fxfa/fxfa.h"
12 14
13 class CPDFXFA_App; 15 class CPDFXFA_App;
14 class CPDFXFA_Document; 16 class CPDFXFA_Document;
15 class CPDFXFA_Page; 17 class CPDFXFA_Page;
16 class CPDFSDK_Document; 18 class CPDFSDK_Document;
17 class CPDFDoc_Environment; 19 class CPDFDoc_Environment;
18 class IJS_Runtime; 20 class IJS_Runtime;
19 class IJS_Context; 21 class IJS_Context;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 * @param[in] bEmbedPDF, specifies whether PDF is embedded in the submitted 156 * @param[in] bEmbedPDF, specifies whether PDF is embedded in the submitted
155 *content or not. 157 *content or not.
156 */ 158 */
157 virtual FX_BOOL SubmitData(IXFA_Doc* hDoc, CXFA_Submit submit); 159 virtual FX_BOOL SubmitData(IXFA_Doc* hDoc, CXFA_Submit submit);
158 160
159 virtual FX_BOOL CheckWord(IXFA_Doc* hDoc, const CFX_ByteStringC& sWord) { 161 virtual FX_BOOL CheckWord(IXFA_Doc* hDoc, const CFX_ByteStringC& sWord) {
160 return FALSE; 162 return FALSE;
161 } 163 }
162 virtual FX_BOOL GetSuggestWords(IXFA_Doc* hDoc, 164 virtual FX_BOOL GetSuggestWords(IXFA_Doc* hDoc,
163 const CFX_ByteStringC& sWord, 165 const CFX_ByteStringC& sWord,
164 CFX_ByteStringArray& sSuggest) { 166 std::vector<CFX_ByteString>& sSuggest) {
165 return FALSE; 167 return FALSE;
166 } 168 }
167 169
168 // Get PDF javascript object, set the object to hValue. 170 // Get PDF javascript object, set the object to hValue.
169 virtual FX_BOOL GetPDFScriptObject(IXFA_Doc* hDoc, 171 virtual FX_BOOL GetPDFScriptObject(IXFA_Doc* hDoc,
170 const CFX_ByteStringC& utf8Name, 172 const CFX_ByteStringC& utf8Name,
171 FXJSE_HVALUE hValue); 173 FXJSE_HVALUE hValue);
172 174
173 virtual FX_BOOL GetGlobalProperty(IXFA_Doc* hDoc, 175 virtual FX_BOOL GetGlobalProperty(IXFA_Doc* hDoc,
174 const CFX_ByteStringC& szPropName, 176 const CFX_ByteStringC& szPropName,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 CPDF_Document* m_pPDFDoc; 221 CPDF_Document* m_pPDFDoc;
220 CPDFSDK_Document* m_pSDKDoc; 222 CPDFSDK_Document* m_pSDKDoc;
221 IXFA_Doc* m_pXFADoc; 223 IXFA_Doc* m_pXFADoc;
222 IXFA_DocView* m_pXFADocView; 224 IXFA_DocView* m_pXFADocView;
223 CPDFXFA_App* m_pApp; 225 CPDFXFA_App* m_pApp;
224 IJS_Context* m_pJSContext; 226 IJS_Context* m_pJSContext;
225 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; 227 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList;
226 }; 228 };
227 229
228 #endif // FPDFXFA_DOC_H_ 230 #endif // FPDFXFA_DOC_H_
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | fpdfsdk/include/fsdk_mgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698