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

Side by Side Diff: fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month 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/cpdfxfa_app.cpp ('k') | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ 7 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_
8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ 8 #define FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_
9 9
10 #include "public/fpdfview.h" 10 #include "public/fpdfview.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 */ 78 */
79 FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) override; 79 FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) override;
80 80
81 FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc, 81 FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc,
82 const CFX_ByteStringC& szPropName, 82 const CFX_ByteStringC& szPropName,
83 CFXJSE_Value* pValue) override; 83 CFXJSE_Value* pValue) override;
84 FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc, 84 FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc,
85 const CFX_ByteStringC& szPropName, 85 const CFX_ByteStringC& szPropName,
86 CFXJSE_Value* pValue) override; 86 CFXJSE_Value* pValue) override;
87 87
88 IFX_FileRead* OpenLinkedFile(CXFA_FFDoc* hDoc, 88 IFX_SeekableReadStream* OpenLinkedFile(CXFA_FFDoc* hDoc,
89 const CFX_WideString& wsLink) override; 89 const CFX_WideString& wsLink) override;
90 90
91 private: 91 private:
92 FX_BOOL OnBeforeNotifySubmit(); 92 FX_BOOL OnBeforeNotifySubmit();
93 void OnAfterNotifySubmit(); 93 void OnAfterNotifySubmit();
94 FX_BOOL NotifySubmit(FX_BOOL bPrevOrPost); 94 FX_BOOL NotifySubmit(FX_BOOL bPrevOrPost);
95 FX_BOOL SubmitDataInternal(CXFA_FFDoc* hDoc, CXFA_Submit submit); 95 FX_BOOL SubmitDataInternal(CXFA_FFDoc* hDoc, CXFA_Submit submit);
96 FX_BOOL MailToInfo(CFX_WideString& csURL, 96 FX_BOOL MailToInfo(CFX_WideString& csURL,
97 CFX_WideString& csToAddress, 97 CFX_WideString& csToAddress,
98 CFX_WideString& csCCAddress, 98 CFX_WideString& csCCAddress,
99 CFX_WideString& csBCCAddress, 99 CFX_WideString& csBCCAddress,
100 CFX_WideString& csSubject, 100 CFX_WideString& csSubject,
101 CFX_WideString& csMsg); 101 CFX_WideString& csMsg);
102 FX_BOOL ExportSubmitFile(FPDF_FILEHANDLER* ppFileHandler, 102 FX_BOOL ExportSubmitFile(FPDF_FILEHANDLER* ppFileHandler,
103 int fileType, 103 int fileType,
104 FPDF_DWORD encodeType, 104 FPDF_DWORD encodeType,
105 FPDF_DWORD flag); 105 FPDF_DWORD flag);
106 void ToXFAContentFlags(CFX_WideString csSrcContent, FPDF_DWORD& flag); 106 void ToXFAContentFlags(CFX_WideString csSrcContent, FPDF_DWORD& flag);
107 107
108 CPDFXFA_Document* const m_pDocument; // Not owned; 108 CPDFXFA_Document* const m_pDocument; // Not owned;
109 IJS_Context* m_pJSContext; 109 IJS_Context* m_pJSContext;
110 }; 110 };
111 111
112 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ 112 #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/cpdfxfa_app.cpp ('k') | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698