Chromium Code Reviews| Index: xfa/fee/fde_txtedtparag.h |
| diff --git a/xfa/fee/fde_txtedtparag.h b/xfa/fee/fde_txtedtparag.h |
| index 39921d5ef7ee6822fc5b96689fc798233a5f0375..ad3ea7f05b231c79d3bf398dce3dbd0e4506dedd 100644 |
| --- a/xfa/fee/fde_txtedtparag.h |
| +++ b/xfa/fee/fde_txtedtparag.h |
| @@ -7,24 +7,23 @@ |
| #ifndef XFA_FEE_FDE_TXTEDTPARAG_H_ |
| #define XFA_FEE_FDE_TXTEDTPARAG_H_ |
| -#include "xfa/fee/ifde_txtedtengine.h" |
| +#include <stdint.h> |
| class CFDE_TxtEdtEngine; |
| -class CFDE_TxtEdtParag : public IFDE_TxtEdtParag { |
| +class CFDE_TxtEdtParag { |
| public: |
| explicit CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine); |
| ~CFDE_TxtEdtParag(); |
| - virtual int32_t GetTextLength() const { return m_nCharCount; } |
| - virtual int32_t GetStartIndex() const { return m_nCharStart; } |
| - virtual int32_t CountLines() const { return m_nLineCount; } |
| - virtual void GetLineRange(int32_t nLineIndex, |
| - int32_t& nStart, |
| - int32_t& nCount) const; |
| + int32_t GetTextLength() const { return m_nCharCount; } |
| + int32_t GetStartIndex() const { return m_nCharStart; } |
| + int32_t CountLines() const { return m_nLineCount; } |
| + void GetLineRange(int32_t nLineIndex, int32_t& nStart, int32_t& nCount) const; |
| void LoadParag(); |
| void UnloadParag(); |
| void CalcLines(); |
| + |
| int32_t m_nCharStart; |
|
Tom Sepez
2016/04/28 16:51:09
can these be private given the Get* methods above?
dsinclair
2016/04/28 17:35:56
Added Set methods and updated the code to actually
|
| int32_t m_nCharCount; |
| int32_t m_nLineCount; |