OLD | NEW |
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_SRC_FEE_FDE_TXTEDTENGINE_H_ | 7 #ifndef XFA_FEE_FDE_TXTEDTENGINE_H_ |
8 #define XFA_SRC_FEE_FDE_TXTEDTENGINE_H_ | 8 #define XFA_FEE_FDE_TXTEDTENGINE_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_string.h" | 10 #include "core/include/fxcrt/fx_string.h" |
11 #include "xfa/src/fee/ifde_txtedtbuf.h" | 11 #include "xfa/fee/ifde_txtedtbuf.h" |
12 #include "xfa/src/fee/ifde_txtedtengine.h" | 12 #include "xfa/fee/ifde_txtedtengine.h" |
13 | 13 |
14 class IFX_TxtBreak; | 14 class IFX_TxtBreak; |
15 class IFX_CharIter; | 15 class IFX_CharIter; |
16 class CFDE_TxtEdtParag; | 16 class CFDE_TxtEdtParag; |
17 class CFDE_TxtEdtDoRecord_Insert; | 17 class CFDE_TxtEdtDoRecord_Insert; |
18 class CFDE_TxtEdtDoRecord_DeleteRange; | 18 class CFDE_TxtEdtDoRecord_DeleteRange; |
19 | 19 |
20 class IFDE_TxtEdtDoRecord { | 20 class IFDE_TxtEdtDoRecord { |
21 public: | 21 public: |
22 static IFDE_TxtEdtDoRecord* Create(const CFX_ByteStringC& bsDoRecord); | 22 static IFDE_TxtEdtDoRecord* Create(const CFX_ByteStringC& bsDoRecord); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 void Deserialize(const CFX_ByteStringC& bsDoRecord); | 237 void Deserialize(const CFX_ByteStringC& bsDoRecord); |
238 | 238 |
239 private: | 239 private: |
240 CFDE_TxtEdtEngine* m_pEngine; | 240 CFDE_TxtEdtEngine* m_pEngine; |
241 FX_BOOL m_bSel; | 241 FX_BOOL m_bSel; |
242 int32_t m_nIndex; | 242 int32_t m_nIndex; |
243 int32_t m_nCaret; | 243 int32_t m_nCaret; |
244 CFX_WideString m_wsRange; | 244 CFX_WideString m_wsRange; |
245 }; | 245 }; |
246 | 246 |
247 #endif // XFA_SRC_FEE_FDE_TXTEDTENGINE_H_ | 247 #endif // XFA_FEE_FDE_TXTEDTENGINE_H_ |
OLD | NEW |