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

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

Issue 1983683003: Remove some c_str() calls from StringCs in xfa docs. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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/include/fpdfxfa_app.h ('k') | xfa/fxfa/app/xfa_ffdocview.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 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_ 7 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_
8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_ 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // host method 86 // host method
87 virtual int32_t CountPages(CXFA_FFDoc* hDoc); 87 virtual int32_t CountPages(CXFA_FFDoc* hDoc);
88 virtual int32_t GetCurrentPage(CXFA_FFDoc* hDoc); 88 virtual int32_t GetCurrentPage(CXFA_FFDoc* hDoc);
89 virtual void SetCurrentPage(CXFA_FFDoc* hDoc, int32_t iCurPage); 89 virtual void SetCurrentPage(CXFA_FFDoc* hDoc, int32_t iCurPage);
90 virtual FX_BOOL IsCalculationsEnabled(CXFA_FFDoc* hDoc); 90 virtual FX_BOOL IsCalculationsEnabled(CXFA_FFDoc* hDoc);
91 virtual void SetCalculationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled); 91 virtual void SetCalculationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled);
92 virtual void GetTitle(CXFA_FFDoc* hDoc, CFX_WideString& wsTitle); 92 virtual void GetTitle(CXFA_FFDoc* hDoc, CFX_WideString& wsTitle);
93 virtual void SetTitle(CXFA_FFDoc* hDoc, const CFX_WideString& wsTitle); 93 virtual void SetTitle(CXFA_FFDoc* hDoc, const CFX_WideString& wsTitle);
94 virtual void ExportData(CXFA_FFDoc* hDoc, 94 virtual void ExportData(CXFA_FFDoc* hDoc,
95 const CFX_WideStringC& wsFilePath, 95 const CFX_WideString& wsFilePath,
96 FX_BOOL bXDP = TRUE); 96 FX_BOOL bXDP = TRUE);
97 virtual void ImportData(CXFA_FFDoc* hDoc, const CFX_WideStringC& wsFilePath); 97 virtual void ImportData(CXFA_FFDoc* hDoc, const CFX_WideString& wsFilePath);
98 virtual void GotoURL(CXFA_FFDoc* hDoc, 98 virtual void GotoURL(CXFA_FFDoc* hDoc,
99 const CFX_WideStringC& bsURL, 99 const CFX_WideString& bsURL,
100 FX_BOOL bAppend = TRUE); 100 FX_BOOL bAppend = TRUE);
101 virtual FX_BOOL IsValidationsEnabled(CXFA_FFDoc* hDoc); 101 virtual FX_BOOL IsValidationsEnabled(CXFA_FFDoc* hDoc);
102 virtual void SetValidationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled); 102 virtual void SetValidationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled);
103 virtual void SetFocusWidget(CXFA_FFDoc* hDoc, CXFA_FFWidget* hWidget); 103 virtual void SetFocusWidget(CXFA_FFDoc* hDoc, CXFA_FFWidget* hWidget);
104 virtual void Print(CXFA_FFDoc* hDoc, 104 virtual void Print(CXFA_FFDoc* hDoc,
105 int32_t nStartPage, 105 int32_t nStartPage,
106 int32_t nEndPage, 106 int32_t nEndPage,
107 uint32_t dwOptions); 107 uint32_t dwOptions);
108 108
109 // LayoutPseudo method 109 // LayoutPseudo method
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 CXFA_FFDoc* m_pXFADoc; 227 CXFA_FFDoc* m_pXFADoc;
228 CXFA_FFDocView* m_pXFADocView; 228 CXFA_FFDocView* m_pXFADocView;
229 CPDFXFA_App* m_pApp; 229 CPDFXFA_App* m_pApp;
230 IJS_Context* m_pJSContext; 230 IJS_Context* m_pJSContext;
231 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; 231 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList;
232 LoadStatus m_nLoadStatus; 232 LoadStatus m_nLoadStatus;
233 int m_nPageCount; 233 int m_nPageCount;
234 }; 234 };
235 235
236 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_ 236 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_DOC_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/include/fpdfxfa_app.h ('k') | xfa/fxfa/app/xfa_ffdocview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698