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_TXTEDTBUF_H_ | 7 #ifndef XFA_FEE_FDE_TXTEDTBUF_H_ |
8 #define XFA_SRC_FEE_FDE_TXTEDTBUF_H_ | 8 #define XFA_FEE_FDE_TXTEDTBUF_H_ |
9 | 9 |
10 #include "xfa/src/fee/ifde_txtedtbuf.h" | 10 #include "xfa/fee/ifde_txtedtbuf.h" |
11 #include "xfa/src/fee/ifde_txtedtengine.h" | 11 #include "xfa/fee/ifde_txtedtengine.h" |
12 #include "xfa/src/fgas/crt/fgas_memory.h" | 12 #include "xfa/fgas/crt/fgas_memory.h" |
13 | 13 |
14 class IFX_CharIter; | 14 class IFX_CharIter; |
15 class CFDE_TxtEdtBuf; | 15 class CFDE_TxtEdtBuf; |
16 | 16 |
17 class CFDE_TxtEdtBufIter : public IFX_CharIter { | 17 class CFDE_TxtEdtBufIter : public IFX_CharIter { |
18 public: | 18 public: |
19 CFDE_TxtEdtBufIter(CFDE_TxtEdtBuf* pBuf, FX_WCHAR wcAlias = 0); | 19 CFDE_TxtEdtBufIter(CFDE_TxtEdtBuf* pBuf, FX_WCHAR wcAlias = 0); |
20 | 20 |
21 virtual void Release(); | 21 virtual void Release(); |
22 virtual FX_BOOL Next(FX_BOOL bPrev = FALSE); | 22 virtual FX_BOOL Next(FX_BOOL bPrev = FALSE); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void Index2CP(int32_t nIndex, FDE_CHUNKPLACE& cp) const; | 82 void Index2CP(int32_t nIndex, FDE_CHUNKPLACE& cp) const; |
83 | 83 |
84 int32_t m_nChunkSize; | 84 int32_t m_nChunkSize; |
85 | 85 |
86 int32_t m_nTotal; | 86 int32_t m_nTotal; |
87 FX_BOOL m_bChanged; | 87 FX_BOOL m_bChanged; |
88 CFX_PtrArray m_Chunks; | 88 CFX_PtrArray m_Chunks; |
89 IFX_MEMAllocator* m_pAllocator; | 89 IFX_MEMAllocator* m_pAllocator; |
90 }; | 90 }; |
91 | 91 |
92 #endif // XFA_SRC_FEE_FDE_TXTEDTBUF_H_ | 92 #endif // XFA_FEE_FDE_TXTEDTBUF_H_ |
OLD | NEW |