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 -a -u -w -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 27 May 2003 06:58:46 -0000 @@ -57,30 +57,31 @@ AV_View * getView(void); FV_View * getFvView(void); - bool setFindString(const UT_UCSChar * string); + void setFindString(const UT_UCSChar * string); UT_UCSChar * getFindString(void); - bool setReplaceString(const UT_UCSChar * string); + void setReplaceString(const UT_UCSChar * string); UT_UCSChar * getReplaceString(void); - bool setMatchCase(bool match); + void setMatchCase(bool match); bool getMatchCase(void); + void setReverseFind( bool newValue); + bool getReverseFind(void); + + void 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); protected: - // 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; - // These are the "current use" dialog data items, // which are liberally read and set by the // accessor methods above. Note that the buffers @@ -89,13 +90,6 @@ FV_View * m_pView; UT_UCSChar * m_findString; UT_UCSChar * m_replaceString; - bool m_matchCase; - - // These are also "current use" dialog data item, - // but they're not user-settable; they are set - // on conditions that action functions or other - // non-accessor methods are invoked. - bool m_didSomething; // Message boxes for events during search XAP_Frame * m_pFrame;