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

Side by Side Diff: xfa/fde/cfde_txtedtengine.h

Issue 2042743003: Remove unused CFDE_TxtEdtEngine::SetBufChunkSize(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 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 | « xfa/fde/cfde_txtedtbuf.cpp ('k') | xfa/fde/cfde_txtedtengine.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 XFA_FDE_CFDE_TXTEDTENGINE_H_ 7 #ifndef XFA_FDE_CFDE_TXTEDTENGINE_H_
8 #define XFA_FDE_CFDE_TXTEDTENGINE_H_ 8 #define XFA_FDE_CFDE_TXTEDTENGINE_H_
9 9
10 #include "xfa/fde/ifde_txtedtengine.h" 10 #include "xfa/fde/ifde_txtedtengine.h"
11 11
12 class CFDE_TxtEdtBuf; 12 class CFDE_TxtEdtBuf;
13 class CFDE_TxtEdtParag; 13 class CFDE_TxtEdtParag;
14 class CFX_TxtBreak; 14 class CFX_TxtBreak;
15 class IFDE_TxtEdtDoRecord; 15 class IFDE_TxtEdtDoRecord;
16 class IFX_CharIter; 16 class IFX_CharIter;
17 17
18 class CFDE_TxtEdtEngine { 18 class CFDE_TxtEdtEngine {
19 public: 19 public:
20 CFDE_TxtEdtEngine(); 20 CFDE_TxtEdtEngine();
21 ~CFDE_TxtEdtEngine(); 21 ~CFDE_TxtEdtEngine();
22 22
23 void SetEditParams(const FDE_TXTEDTPARAMS& params); 23 void SetEditParams(const FDE_TXTEDTPARAMS& params);
24 FDE_TXTEDTPARAMS* GetEditParams(); 24 FDE_TXTEDTPARAMS* GetEditParams();
25 25
26 int32_t CountPages() const; 26 int32_t CountPages() const;
27 IFDE_TxtEdtPage* GetPage(int32_t nIndex); 27 IFDE_TxtEdtPage* GetPage(int32_t nIndex);
28 28
29 FX_BOOL SetBufChunkSize(int32_t nChunkSize);
30 void SetTextByStream(IFX_Stream* pStream); 29 void SetTextByStream(IFX_Stream* pStream);
31 void SetText(const CFX_WideString& wsText); 30 void SetText(const CFX_WideString& wsText);
32 int32_t GetTextLength() const; 31 int32_t GetTextLength() const;
33 void GetText(CFX_WideString& wsText, int32_t nStart, int32_t nCount = -1); 32 void GetText(CFX_WideString& wsText, int32_t nStart, int32_t nCount = -1);
34 void ClearText(); 33 void ClearText();
35 34
36 int32_t GetCaretRect(CFX_RectF& rtCaret) const; 35 int32_t GetCaretRect(CFX_RectF& rtCaret) const;
37 int32_t GetCaretPos() const; 36 int32_t GetCaretPos() const;
38 int32_t SetCaretPos(int32_t nIndex, FX_BOOL bBefore); 37 int32_t SetCaretPos(int32_t nIndex, FX_BOOL bBefore);
39 int32_t MoveCaretPos(FDE_TXTEDTMOVECARET eMoveCaret, 38 int32_t MoveCaretPos(FDE_TXTEDTMOVECARET eMoveCaret,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 FX_BOOL m_bLock; 169 FX_BOOL m_bLock;
171 int32_t m_nLimit; 170 int32_t m_nLimit;
172 FX_WCHAR m_wcAliasChar; 171 FX_WCHAR m_wcAliasChar;
173 int32_t m_nFirstLineEnd; 172 int32_t m_nFirstLineEnd;
174 FX_BOOL m_bAutoLineEnd; 173 FX_BOOL m_bAutoLineEnd;
175 FX_WCHAR m_wLineEnd; 174 FX_WCHAR m_wLineEnd;
176 FDE_TXTEDT_TEXTCHANGE_INFO m_ChangeInfo; 175 FDE_TXTEDT_TEXTCHANGE_INFO m_ChangeInfo;
177 }; 176 };
178 177
179 #endif // XFA_FDE_CFDE_TXTEDTENGINE_H_ 178 #endif // XFA_FDE_CFDE_TXTEDTENGINE_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtbuf.cpp ('k') | xfa/fde/cfde_txtedtengine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698