Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fee / src / fee / fde_txtedtengine.h
index dec152c..c482f5b 100644 (file)
@@ -29,7 +29,7 @@ class CFDE_TxtEdtDoRecord_FieldReplace;
 class IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    static IFDE_TxtEdtDoRecord * Create(FX_BSTR bsDoRecord);\r
+    static IFDE_TxtEdtDoRecord * Create(const CFX_ByteStringC& bsDoRecord);\r
     virtual void       Release() = 0;\r
     virtual FX_BOOL Redo() = 0;\r
     virtual FX_BOOL Undo() = 0;\r
@@ -47,14 +47,14 @@ class CFDE_TxtEdtEngine : public IFDE_TxtEdtEngine
     friend class CFDE_TxtEdtBlock;\r
 #endif\r
     struct _FDE_TXTEDTSELRANGE {\r
-        FX_INT32 nStart;\r
-        FX_INT32 nCount;\r
+        int32_t nStart;\r
+        int32_t nCount;\r
     };\r
     typedef _FDE_TXTEDTSELRANGE                FDE_TXTEDTSELRANGE;\r
     typedef _FDE_TXTEDTSELRANGE *      FDE_LPTXTEDTSELRANGE;\r
     struct _FDE_TXTEDTPARAGPOS {\r
-        FX_INT32       nParagIndex;\r
-        FX_INT32       nCharIndex;\r
+        int32_t        nParagIndex;\r
+        int32_t        nCharIndex;\r
     };\r
     typedef _FDE_TXTEDTPARAGPOS                FDE_TXTEDTPARAGPOS;\r
     typedef _FDE_TXTEDTPARAGPOS *      FDE_LPTXTEDTPARAGPOS;\r
@@ -65,65 +65,65 @@ public:
     virtual void                                               SetEditParams(const FDE_TXTEDTPARAMS &params);\r
     virtual const FDE_TXTEDTPARAMS*            GetEditParams() const;\r
 \r
-    virtual FX_INT32                                   CountPages() const;\r
-    virtual IFDE_TxtEdtPage*                   GetPage(FX_INT32 nIndex);\r
+    virtual int32_t                                    CountPages() const;\r
+    virtual IFDE_TxtEdtPage*                   GetPage(int32_t nIndex);\r
 \r
-    virtual FX_BOOL            SetBufChunkSize(FX_INT32 nChunkSize);\r
+    virtual FX_BOOL            SetBufChunkSize(int32_t nChunkSize);\r
     virtual void               SetTextByStream(IFX_Stream *pStream);\r
     virtual void               SetText(const CFX_WideString &wsText);\r
-    virtual FX_INT32   GetTextLength() const;\r
-    virtual void               GetText(CFX_WideString &wsText, FX_INT32 nStart, FX_INT32 nCount = -1);\r
+    virtual int32_t    GetTextLength() const;\r
+    virtual void               GetText(CFX_WideString &wsText, int32_t nStart, int32_t nCount = -1);\r
     virtual void               ClearText();\r
 \r
-    virtual FX_INT32   GetCaretRect(CFX_RectF &rtCaret) const;\r
-    virtual FX_INT32   GetCaretPos() const;\r
-    virtual FX_INT32   SetCaretPos(FX_INT32 nIndex, FX_BOOL bBefore);\r
-    virtual FX_INT32   MoveCaretPos(FDE_TXTEDTMOVECARET eMoveCaret, FX_BOOL bShift = FALSE, FX_BOOL bCtrl = FALSE);\r
+    virtual int32_t    GetCaretRect(CFX_RectF &rtCaret) const;\r
+    virtual int32_t    GetCaretPos() const;\r
+    virtual int32_t    SetCaretPos(int32_t nIndex, FX_BOOL bBefore);\r
+    virtual int32_t    MoveCaretPos(FDE_TXTEDTMOVECARET eMoveCaret, FX_BOOL bShift = FALSE, FX_BOOL bCtrl = FALSE);\r
     virtual void       Lock();\r
     virtual void       Unlock();\r
     virtual FX_BOOL    IsLocked() const;\r
 \r
-    virtual FX_INT32   Insert(FX_INT32 nStart, FX_LPCWSTR lpText, FX_INT32 nLength);\r
-    virtual FX_INT32   Delete(FX_INT32 nStart, FX_BOOL bBackspace = FALSE);\r
-    virtual FX_INT32   DeleteRange(FX_INT32 nStart, FX_INT32 nCount = -1);\r
-    virtual FX_INT32   Replace(FX_INT32 nStart, FX_INT32 nLength, const CFX_WideString &wsReplace);\r
+    virtual int32_t    Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);\r
+    virtual int32_t    Delete(int32_t nStart, FX_BOOL bBackspace = FALSE);\r
+    virtual int32_t    DeleteRange(int32_t nStart, int32_t nCount = -1);\r
+    virtual int32_t    Replace(int32_t nStart, int32_t nLength, const CFX_WideString &wsReplace);\r
 \r
-    virtual    void            SetLimit(FX_INT32 nLimit);\r
+    virtual    void            SetLimit(int32_t nLimit);\r
     virtual    void            SetAliasChar(FX_WCHAR wcAlias);\r
-    virtual void               SetFormatBlock(FX_INT32 nIndex, const CFX_WideString &wsBlockFormat);\r
-    virtual FX_INT32   CountEditBlocks() const;\r
-    virtual void               GetEditBlockText(FX_INT32 nIndex, CFX_WideString &wsBlockText) const;\r
-    virtual FX_INT32   CountEditFields(FX_INT32 nBlockIndex) const;\r
-    virtual void               GetEditFieldText(FX_INT32 nBlockIndex, FX_INT32 nFieldIndex, CFX_WideString &wsFieldText) const;\r
+    virtual void               SetFormatBlock(int32_t nIndex, const CFX_WideString &wsBlockFormat);\r
+    virtual int32_t    CountEditBlocks() const;\r
+    virtual void               GetEditBlockText(int32_t nIndex, CFX_WideString &wsBlockText) const;\r
+    virtual int32_t    CountEditFields(int32_t nBlockIndex) const;\r
+    virtual void               GetEditFieldText(int32_t nBlockIndex, int32_t nFieldIndex, CFX_WideString &wsFieldText) const;\r
     virtual void               StartEdit();\r
     virtual void               EndEdit();\r
 \r
-    void                               RemoveSelRange(FX_INT32 nStart, FX_INT32 nCount = -1);\r
+    void                               RemoveSelRange(int32_t nStart, int32_t nCount = -1);\r
 \r
-    virtual void               AddSelRange(FX_INT32 nStart, FX_INT32 nCount = -1);\r
-    virtual FX_INT32   CountSelRanges();\r
-    virtual FX_INT32   GetSelRange(FX_INT32 nIndex, FX_INT32 &nStart);\r
+    virtual void               AddSelRange(int32_t nStart, int32_t nCount = -1);\r
+    virtual int32_t    CountSelRanges();\r
+    virtual int32_t    GetSelRange(int32_t nIndex, int32_t &nStart);\r
     virtual void               ClearSelection();\r
 \r
-    virtual FX_BOOL            Redo(FX_BSTR bsRedo);\r
-    virtual FX_BOOL            Undo(FX_BSTR bsUndo);\r
+    virtual FX_BOOL            Redo(const CFX_ByteStringC& bsRedo);\r
+    virtual FX_BOOL            Undo(const CFX_ByteStringC& bsUndo);\r
 \r
-    virtual FX_INT32   StartLayout();\r
-    virtual FX_INT32   DoLayout(IFX_Pause *pPause);\r
+    virtual int32_t    StartLayout();\r
+    virtual int32_t    DoLayout(IFX_Pause *pPause);\r
     virtual void               EndLayout();\r
 \r
     virtual FX_BOOL            Optimize(IFX_Pause * pPause = NULL);\r
-    virtual FX_INT32                   CountParags() const;\r
-    virtual IFDE_TxtEdtParag*  GetParag(FX_INT32 nParagIndex) const;\r
+    virtual int32_t                    CountParags() const;\r
+    virtual IFDE_TxtEdtParag*  GetParag(int32_t nParagIndex) const;\r
     virtual IFX_CharIter*              CreateCharIter();\r
     IFDE_TxtEdtBuf*    GetTextBuf() const;\r
-    FX_INT32           GetTextBufLength() const;\r
+    int32_t            GetTextBufLength() const;\r
     IFX_TxtBreak*      GetTextBreak() const;\r
-    FX_INT32   GetLineCount() const;\r
-    FX_INT32   GetPageLineCount() const;\r
+    int32_t    GetLineCount() const;\r
+    int32_t    GetPageLineCount() const;\r
 \r
-    FX_INT32                   Line2Parag(FX_INT32 nStartParag, FX_INT32 nStartLineofParag,\r
-                                   FX_INT32 nLineIndex, FX_INT32 &nStartLine) const;\r
+    int32_t                    Line2Parag(int32_t nStartParag, int32_t nStartLineofParag,\r
+                                   int32_t nLineIndex, int32_t &nStartLine) const;\r
     FX_WCHAR                   GetAliasChar() const\r
     {\r
         return m_wcAliasChar;\r
@@ -132,16 +132,16 @@ public:
 protected:\r
     virtual ~CFDE_TxtEdtEngine();\r
 private:\r
-    void       Inner_Insert(FX_INT32 nStart, FX_LPCWSTR lpText, FX_INT32 nLength);\r
+    void       Inner_Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);\r
 #ifdef FDE_USEFORMATBLOCK\r
-    void       RawInsert(FX_INT32 nStart, FX_LPCWSTR lpText, FX_INT32 nLength);\r
+    void       RawInsert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);\r
 #endif\r
-    void       GetPreDeleteText(CFX_WideString &wsText, FX_INT32 nIndex, FX_INT32 nLength);\r
-    void       GetPreInsertText(CFX_WideString &wsText, FX_INT32 nIndex, FX_LPCWSTR lpText, FX_INT32 nLength);\r
-    void       GetPreReplaceText(CFX_WideString &wsText, FX_INT32 nIndex, FX_INT32 nOriginLength, FX_LPCWSTR lpText, FX_INT32 nLength);\r
+    void       GetPreDeleteText(CFX_WideString &wsText, int32_t nIndex, int32_t nLength);\r
+    void       GetPreInsertText(CFX_WideString &wsText, int32_t nIndex, const FX_WCHAR* lpText, int32_t nLength);\r
+    void       GetPreReplaceText(CFX_WideString &wsText, int32_t nIndex, int32_t nOriginLength, const FX_WCHAR* lpText, int32_t nLength);\r
 \r
-    void       Inner_DeleteRange(FX_INT32 nStart, FX_INT32 nCount = -1);\r
-    void       DeleteRange_DoRecord(FX_INT32 nStart, FX_INT32 nCount, FX_BOOL bSel = FALSE);\r
+    void       Inner_DeleteRange(int32_t nStart, int32_t nCount = -1);\r
+    void       DeleteRange_DoRecord(int32_t nStart, int32_t nCount, FX_BOOL bSel = FALSE);\r
     void       ResetEngine();\r
     void       RebuildParagraphs();\r
     void       RemoveAllParags();\r
@@ -150,12 +150,12 @@ private:
     void       UpdatePages();\r
     void       UpdateTxtBreak();\r
 \r
-    FX_BOOL    ReplaceParagEnd(FX_LPWSTR &lpText, FX_INT32 &nLength, FX_BOOL bPreIsCR = FALSE);\r
+    FX_BOOL    ReplaceParagEnd(FX_WCHAR* &lpText, int32_t &nLength, FX_BOOL bPreIsCR = FALSE);\r
     void       RecoverParagEnd(CFX_WideString &wsText);\r
-    FX_INT32   MovePage2Char(FX_INT32 nIndex);\r
-    void               TextPos2ParagPos(FX_INT32 nIndex, FDE_TXTEDTPARAGPOS &ParagPos) const;\r
-    FX_INT32   MoveForward(FX_BOOL &bBefore);\r
-    FX_INT32   MoveBackward(FX_BOOL &bBefore);\r
+    int32_t    MovePage2Char(int32_t nIndex);\r
+    void               TextPos2ParagPos(int32_t nIndex, FDE_TXTEDTPARAGPOS &ParagPos) const;\r
+    int32_t    MoveForward(FX_BOOL &bBefore);\r
+    int32_t    MoveBackward(FX_BOOL &bBefore);\r
     FX_BOOL            MoveUp(CFX_PointF &ptCaret);\r
     FX_BOOL            MoveDown(CFX_PointF &ptCaret);\r
     FX_BOOL            MoveLineStart();\r
@@ -165,8 +165,8 @@ private:
     FX_BOOL            MoveHome();\r
     FX_BOOL            MoveEnd();\r
     FX_BOOL            IsFitArea(CFX_WideString &wsText);\r
-    void       UpdateCaretRect(FX_INT32 nIndex, FX_BOOL bBefore = TRUE);\r
-    void       GetCaretRect(CFX_RectF &rtCaret, FX_INT32 nPageIndex, FX_INT32 nCaret, FX_BOOL bBefore = TRUE);\r
+    void       UpdateCaretRect(int32_t nIndex, FX_BOOL bBefore = TRUE);\r
+    void       GetCaretRect(CFX_RectF &rtCaret, int32_t nPageIndex, int32_t nCaret, FX_BOOL bBefore = TRUE);\r
     void       UpdateCaretIndex(const CFX_PointF & ptCaret);\r
 \r
     FX_BOOL    IsSelect();\r
@@ -177,21 +177,21 @@ private:
     CFX_ArrayTemplate<IFDE_TxtEdtPage*>                        m_PagePtrArray;\r
     CFX_ArrayTemplate<CFDE_TxtEdtParag*>               m_ParagPtrArray;\r
     CFX_ArrayTemplate<FDE_LPTXTEDTSELRANGE>            m_SelRangePtrArr;\r
-    FX_INT32   m_nPageLineCount;\r
-    FX_INT32   m_nLineCount;\r
-    FX_INT32   m_nAnchorPos;\r
-    FX_INT32   m_nLayoutPos;\r
+    int32_t    m_nPageLineCount;\r
+    int32_t    m_nLineCount;\r
+    int32_t    m_nAnchorPos;\r
+    int32_t    m_nLayoutPos;\r
     FX_FLOAT   m_fCaretPosReserve;\r
-    FX_INT32   m_nCaret;\r
+    int32_t    m_nCaret;\r
     FX_BOOL            m_bBefore;\r
-    FX_INT32   m_nCaretPage;\r
+    int32_t    m_nCaretPage;\r
     CFX_RectF  m_rtCaret;\r
     FX_DWORD   m_dwFindFlags;\r
 \r
     FX_BOOL            m_bLock;\r
-    FX_INT32   m_nLimit;\r
+    int32_t    m_nLimit;\r
     FX_WCHAR   m_wcAliasChar;\r
-    FX_INT32   m_nFirstLineEnd;\r
+    int32_t    m_nFirstLineEnd;\r
     FX_BOOL            m_bAutoLineEnd;\r
     FX_WCHAR   m_wLineEnd;\r
 \r
@@ -200,30 +200,30 @@ private:
 class CFDE_TxtEdtDoRecord_Insert : public IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    CFDE_TxtEdtDoRecord_Insert(FX_BSTR bsDoRecord);\r
+    CFDE_TxtEdtDoRecord_Insert(const CFX_ByteStringC& bsDoRecord);\r
     CFDE_TxtEdtDoRecord_Insert(        CFDE_TxtEdtEngine * pEngine,\r
-                                FX_INT32 nCaret,\r
-                                FX_LPCWSTR lpText,\r
-                                FX_INT32 nLength);\r
+                                int32_t nCaret,\r
+                                const FX_WCHAR* lpText,\r
+                                int32_t nLength);\r
     virtual void       Release();\r
     virtual FX_BOOL Undo();\r
     virtual FX_BOOL Redo();\r
     virtual void       Serialize(CFX_ByteString &bsDoRecord) const;\r
 protected:\r
     ~CFDE_TxtEdtDoRecord_Insert();\r
-    void                       Deserialize(FX_BSTR bsDoRecord);\r
+    void                       Deserialize(const CFX_ByteStringC& bsDoRecord);\r
 private:\r
     CFDE_TxtEdtEngine *        m_pEngine;\r
-    FX_INT32                   m_nCaret;\r
+    int32_t                    m_nCaret;\r
     CFX_WideString             m_wsInsert;\r
 };\r
 class CFDE_TxtEdtDoRecord_DeleteRange : public IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    CFDE_TxtEdtDoRecord_DeleteRange(FX_BSTR bsDoRecord);\r
+    CFDE_TxtEdtDoRecord_DeleteRange(const CFX_ByteStringC& bsDoRecord);\r
     CFDE_TxtEdtDoRecord_DeleteRange(CFDE_TxtEdtEngine * pEngine,\r
-                                    FX_INT32 nIndex,\r
-                                    FX_INT32 nCaret,\r
+                                    int32_t nIndex,\r
+                                    int32_t nCaret,\r
                                     const CFX_WideString &wsRange,\r
                                     FX_BOOL bSel = FALSE);\r
     virtual    void    Release();\r
@@ -232,26 +232,26 @@ public:
     virtual void       Serialize(CFX_ByteString &bsDoRecord) const;\r
 protected:\r
     ~CFDE_TxtEdtDoRecord_DeleteRange();\r
-    void                       Deserialize(FX_BSTR bsDoRecord);\r
+    void                       Deserialize(const CFX_ByteStringC& bsDoRecord);\r
 private:\r
     CFDE_TxtEdtEngine *        m_pEngine;\r
     FX_BOOL                            m_bSel;\r
-    FX_INT32                   m_nIndex;\r
-    FX_INT32                   m_nCaret;\r
+    int32_t                    m_nIndex;\r
+    int32_t                    m_nCaret;\r
     CFX_WideString             m_wsRange;\r
 };\r
 #ifdef FDE_USEFORMATBLOCK\r
 class CFDE_TxtEdtDoRecord_FieldInsert : public IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    CFDE_TxtEdtDoRecord_FieldInsert(FX_BSTR bsDoRecord);\r
+    CFDE_TxtEdtDoRecord_FieldInsert(const CFX_ByteStringC& bsDoRecord);\r
     CFDE_TxtEdtDoRecord_FieldInsert(CFDE_TxtEdtEngine * pEngine,\r
-                                    FX_INT32 nCaret,\r
+                                    int32_t nCaret,\r
                                     CFDE_TxtEdtField * pField,\r
-                                    FX_INT32 nIndexInField,\r
-                                    FX_INT32 nFieldBgn,\r
-                                    FX_INT32 nOldFieldLength,\r
-                                    FX_INT32 nNewFieldLength,\r
+                                    int32_t nIndexInField,\r
+                                    int32_t nFieldBgn,\r
+                                    int32_t nOldFieldLength,\r
+                                    int32_t nNewFieldLength,\r
                                     const CFX_WideString &wsIns,\r
                                     FX_BOOL bSel = FALSE);\r
     virtual void       Release();\r
@@ -260,30 +260,30 @@ public:
     virtual void       Serialize(CFX_ByteString &bsDoRecord) const;\r
 protected:\r
     ~CFDE_TxtEdtDoRecord_FieldInsert();\r
-    void       Deserialize(FX_BSTR bsDoRecord);\r
+    void       Deserialize(const CFX_ByteStringC& bsDoRecord);\r
 \r
 private:\r
     CFDE_TxtEdtEngine *        m_pEngine;\r
-    FX_INT32                   m_nCaret;\r
+    int32_t                    m_nCaret;\r
     CFDE_TxtEdtField * m_pField;\r
-    FX_INT32                   m_nIndexInField;\r
-    FX_INT32                   m_nFieldBgn;\r
-    FX_INT32                   m_nOldFieldLength;\r
-    FX_INT32                   m_nNewFieldLength;\r
+    int32_t                    m_nIndexInField;\r
+    int32_t                    m_nFieldBgn;\r
+    int32_t                    m_nOldFieldLength;\r
+    int32_t                    m_nNewFieldLength;\r
     CFX_WideString             m_wsIns;\r
     FX_BOOL                            m_bSel;\r
 };\r
 class CFDE_TxtEdtDoRecord_FieldDelete : public IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    CFDE_TxtEdtDoRecord_FieldDelete(FX_BSTR bsDoRecord);\r
+    CFDE_TxtEdtDoRecord_FieldDelete(const CFX_ByteStringC& bsDoRecord);\r
     CFDE_TxtEdtDoRecord_FieldDelete(CFDE_TxtEdtEngine * pEngine,\r
-                                    FX_INT32 nCaret,\r
+                                    int32_t nCaret,\r
                                     CFDE_TxtEdtField * pField,\r
-                                    FX_INT32 nIndexInField,\r
-                                    FX_INT32 nFieldBgn,\r
-                                    FX_INT32 nOldLength,\r
-                                    FX_INT32 nNewLength,\r
+                                    int32_t nIndexInField,\r
+                                    int32_t nFieldBgn,\r
+                                    int32_t nOldLength,\r
+                                    int32_t nNewLength,\r
                                     const CFX_WideString &wsDel,\r
                                     FX_BOOL bSel = FALSE);\r
     virtual void       Release();\r
@@ -292,29 +292,29 @@ public:
     virtual void       Serialize(CFX_ByteString &bsDoRecord) const;\r
 protected:\r
     ~CFDE_TxtEdtDoRecord_FieldDelete();\r
-    void       Deserialize(FX_BSTR bsDoRecord);\r
+    void       Deserialize(const CFX_ByteStringC& bsDoRecord);\r
 private:\r
     CFDE_TxtEdtEngine * m_pEngine;\r
-    FX_INT32                   m_nCaret;\r
+    int32_t                    m_nCaret;\r
     CFDE_TxtEdtField * m_pField;\r
-    FX_INT32                   m_nIndexInField;\r
-    FX_INT32                   m_nFieldBgn;\r
-    FX_INT32                   m_nOldFieldLength;\r
-    FX_INT32                   m_nNewFieldLength;\r
+    int32_t                    m_nIndexInField;\r
+    int32_t                    m_nFieldBgn;\r
+    int32_t                    m_nOldFieldLength;\r
+    int32_t                    m_nNewFieldLength;\r
     CFX_WideString             m_wsDel;\r
     FX_BOOL                            m_bSel;\r
 };\r
 class CFDE_TxtEdtDoRecord_FieldReplace : public IFDE_TxtEdtDoRecord\r
 {\r
 public:\r
-    CFDE_TxtEdtDoRecord_FieldReplace(FX_BSTR bsDoRecord);\r
+    CFDE_TxtEdtDoRecord_FieldReplace(const CFX_ByteStringC& bsDoRecord);\r
     CFDE_TxtEdtDoRecord_FieldReplace(  CFDE_TxtEdtEngine * pEngine,\r
-                                        FX_INT32 nCaret,\r
-                                        FX_INT32 nNewCaret,\r
+                                        int32_t nCaret,\r
+                                        int32_t nNewCaret,\r
                                         CFDE_TxtEdtField * pField,\r
-                                        FX_INT32       nIndexInField,\r
-                                        FX_INT32       nFieldBgn,\r
-                                        FX_INT32       nFieldNewLength,\r
+                                        int32_t        nIndexInField,\r
+                                        int32_t        nFieldBgn,\r
+                                        int32_t        nFieldNewLength,\r
                                         const CFX_WideString &wsDel,\r
                                         const CFX_WideString &wsIns,\r
                                         FX_BOOL        bSel);\r
@@ -324,15 +324,15 @@ public:
     virtual void       Serialize(CFX_ByteString &bsDoRecord) const;\r
 protected:\r
     ~CFDE_TxtEdtDoRecord_FieldReplace();\r
-    void       Deserialize(FX_BSTR bsDoRecord);\r
+    void       Deserialize(const CFX_ByteStringC& bsDoRecord);\r
 private:\r
     CFDE_TxtEdtEngine * m_pEngine;\r
-    FX_INT32                   m_nCaret;\r
-    FX_INT32                   m_nNewCaret;\r
+    int32_t                    m_nCaret;\r
+    int32_t                    m_nNewCaret;\r
     CFDE_TxtEdtField * m_pField;\r
-    FX_INT32                   m_nIndexInField;\r
-    FX_INT32                   m_nFieldBgn;\r
-    FX_INT32                   m_nFieldNewLength;\r
+    int32_t                    m_nIndexInField;\r
+    int32_t                    m_nFieldBgn;\r
+    int32_t                    m_nFieldNewLength;\r
     CFX_WideString             m_wsDel;\r
     CFX_WideString             m_wsIns;\r
     FX_BOOL                            m_bSel;\r