| 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_INCLUDE_IFDE_TXTEDTENGINE_H_ | 7 #ifndef XFA_SRC_FEE_IFDE_TXTEDTENGINE_H_ |
| 8 #define XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTENGINE_H_ | 8 #define XFA_SRC_FEE_IFDE_TXTEDTENGINE_H_ |
| 9 | 9 |
| 10 #include "core/include/fxge/fx_dib.h" | 10 #include "core/include/fxge/fx_dib.h" |
| 11 #include "xfa/src/fgas/include/fx_fnt.h" | 11 #include "xfa/src/fgas/include/fx_fnt.h" |
| 12 | 12 |
| 13 class IFDE_TxtEdtPage; | 13 class IFDE_TxtEdtPage; |
| 14 class IFDE_TxtEdtEngine; | 14 class IFDE_TxtEdtEngine; |
| 15 class IFDE_TxtEdtEventSink; | 15 class IFDE_TxtEdtEventSink; |
| 16 class IFDE_TxtEdtParag; | 16 class IFDE_TxtEdtParag; |
| 17 | 17 |
| 18 typedef struct FDE_HTXTEDTFIND_ { void* pData; } * FDE_HTXTEDTFIND; | 18 typedef struct FDE_HTXTEDTFIND_ { void* pData; } * FDE_HTXTEDTFIND; |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 public: | 248 public: |
| 249 virtual ~IFDE_TxtEdtParag() {} | 249 virtual ~IFDE_TxtEdtParag() {} |
| 250 virtual int32_t GetTextLength() const = 0; | 250 virtual int32_t GetTextLength() const = 0; |
| 251 virtual int32_t GetStartIndex() const = 0; | 251 virtual int32_t GetStartIndex() const = 0; |
| 252 virtual int32_t CountLines() const = 0; | 252 virtual int32_t CountLines() const = 0; |
| 253 virtual void GetLineRange(int32_t nLineIndex, | 253 virtual void GetLineRange(int32_t nLineIndex, |
| 254 int32_t& nStart, | 254 int32_t& nStart, |
| 255 int32_t& nCount) const = 0; | 255 int32_t& nCount) const = 0; |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTENGINE_H_ | 258 #endif // XFA_SRC_FEE_IFDE_TXTEDTENGINE_H_ |
| OLD | NEW |