Index: abi/src/wp/ap/xp/ap_Dialog_Replace.h =================================================================== RCS file: /cvsroot/abi/src/wp/ap/xp/ap_Dialog_Replace.h,v retrieving revision 1.17 diff -u -r1.17 ap_Dialog_Replace.h --- abi/src/wp/ap/xp/ap_Dialog_Replace.h 6 May 2003 22:57:48 -0000 1.17 +++ abi/src/wp/ap/xp/ap_Dialog_Replace.h 22 May 2003 09:46:21 -0000 @@ -39,8 +39,8 @@ virtual void useEnd(void); virtual void runModal(XAP_Frame * pFrame) = 0; virtual void runModeless(XAP_Frame * pFrame) = 0; - virtual void destroy(void)=0; - virtual void activate(void)=0; + virtual void destroy(void)=0; + virtual void activate(void)=0; void setActiveFrame(XAP_Frame *pFrame); virtual void notifyActiveFrame(XAP_Frame *pFrame) = 0; @@ -66,9 +66,16 @@ bool setMatchCase(bool match); bool getMatchCase(void); + bool setReverseFind( bool newValue); + bool getReverseFind(void); + bool setWholeWord( bool newValue); + bool getWholeWord(void); + // Action functions... set data using the accessors // above and call one of these. bool findNext(void); + bool findPrev(void); + bool findReplaceReverse(void); bool findReplace(void); bool findReplaceAll(void); @@ -77,20 +84,21 @@ // These are the persistent dialog data items, // which are carefully read and set by useStart() // and useEnd(), and not by the accessors. - UT_UCSChar * persist_findString; - UT_UCSChar * persist_replaceString; - bool persist_matchCase; - + UT_UCSChar * persist_findString; + UT_UCSChar * persist_replaceString; + bool persist_matchCase; + bool persist_reverseFind; + bool persist_wholeWord; + // These are the "current use" dialog data items, // which are liberally read and set by the // accessor methods above. Note that the buffers // these may point to are destroyed when useEnd() // is done storing them away - FV_View * m_pView; - UT_UCSChar * m_findString; - UT_UCSChar * m_replaceString; - bool m_matchCase; - + FV_View * m_pView; + UT_UCSChar * m_findString; + UT_UCSChar * m_replaceString; + // These are also "current use" dialog data item, // but they're not user-settable; they are set // on conditions that action functions or other