| 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 _IFDE_TXTEDTENGINE_H | 7 #ifndef XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTENGINE_H_ |
| 8 #define _IFDE_TXTEDTENGINE_H | 8 #define XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTENGINE_H_ |
| 9 |
| 9 class IFDE_TxtEdtBuf; | 10 class IFDE_TxtEdtBuf; |
| 10 class IFDE_TxtEdtPage; | 11 class IFDE_TxtEdtPage; |
| 11 class IFDE_TxtEdtEngine; | 12 class IFDE_TxtEdtEngine; |
| 12 class IFDE_TxtEdtEventSink; | 13 class IFDE_TxtEdtEventSink; |
| 13 class IFDE_TxtEdtParag; | 14 class IFDE_TxtEdtParag; |
| 14 #define FDE_TXTEDT_FIND_FLAGS_Prev (0L << 0) | 15 #define FDE_TXTEDT_FIND_FLAGS_Prev (0L << 0) |
| 15 #define FDE_TXTEDT_FIND_FLAGS_Next (1L << 0) | 16 #define FDE_TXTEDT_FIND_FLAGS_Next (1L << 0) |
| 16 #define FDE_TXTEDT_FIND_FLAGS_WholeWord (1L << 1) | 17 #define FDE_TXTEDT_FIND_FLAGS_WholeWord (1L << 1) |
| 17 #define FDE_TXTEDT_FIND_FLAGS_NoCase (1L << 2) | 18 #define FDE_TXTEDT_FIND_FLAGS_NoCase (1L << 2) |
| 18 typedef struct _FDE_HTXTEDTFIND { void* pData; } * FDE_HTXTEDTFIND; | 19 typedef struct _FDE_HTXTEDTFIND { void* pData; } * FDE_HTXTEDTFIND; |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 class IFDE_TxtEdtParag { | 250 class IFDE_TxtEdtParag { |
| 250 public: | 251 public: |
| 251 virtual ~IFDE_TxtEdtParag() {} | 252 virtual ~IFDE_TxtEdtParag() {} |
| 252 virtual int32_t GetTextLength() const = 0; | 253 virtual int32_t GetTextLength() const = 0; |
| 253 virtual int32_t GetStartIndex() const = 0; | 254 virtual int32_t GetStartIndex() const = 0; |
| 254 virtual int32_t CountLines() const = 0; | 255 virtual int32_t CountLines() const = 0; |
| 255 virtual void GetLineRange(int32_t nLineIndex, | 256 virtual void GetLineRange(int32_t nLineIndex, |
| 256 int32_t& nStart, | 257 int32_t& nStart, |
| 257 int32_t& nCount) const = 0; | 258 int32_t& nCount) const = 0; |
| 258 }; | 259 }; |
| 259 #endif | 260 |
| 261 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTENGINE_H_ |
| OLD | NEW |