1
<html><head><TITLE>ReplaceTextCmd</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class ReplaceTextCmd : public <!2><A HREF="Command.html#DOC.48.1">Command</A> </H2><BLOCKQUOTE>
4
abstract command class for replacing text of all text shapes.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
9
<param name=classes value="CCommand,MCommand.html,CReplaceTextCmd,MReplaceTextCmd.html,CReplaceNextTextCmd,MReplaceNextTextCmd.html,CReplaceAllTextsCmd,MReplaceAllTextsCmd.html">
10
<param name=before value="M,M,M|_,Mr_">
11
<param name=after value="Md_,M,M,M">
12
<param name=indent value="0,1,1,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.279.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>ReplaceTextCmd</B> (<!1><A HREF="ShapeView.html">ShapeView</A> *v, const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool <!2><A HREF="ReplaceTextCmd.html#DOC.279.16">nameOnly</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~ReplaceTextCmd</B> ()<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UnExecute</B> ()<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ReExecute</B> ()<br>
27
</TD></TR></TABLE><TABLE>
28
<DT><h3>Protected Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.279.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="ShapeView.html">ShapeView</A>* </TD><TD><B>view</B> <br>
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.7"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Diagram.html">Diagram</A>* </TD><TD><B>diagram</B> <br>
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.8"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="List.html">List</A> <<!1><A HREF="GShape.html">GShape</A> *> * </TD><TD><B>oldSelection</B> <br>
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.9"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="List.html">List</A> <<!1><A HREF="TextShape.html">TextShape</A> *> * </TD><TD><B>textShapes</B> <br>
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.10"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="List.html">List</A> <<!1><A HREF="string.html">string</A> *> * </TD><TD><B>oldStrings</B> <br>
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.11"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="List.html">List</A> <<!1><A HREF="Point.html">Point</A> *> * </TD><TD><B>oldSizes</B> <br>
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="string.html">string</A>* </TD><TD><B>pattern</B> <br>
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.13"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="string.html">string</A>* </TD><TD><B>replace</B> <br>
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.14"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>caseSensitive</B> <br>
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.15"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>substring</B> <br>
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.279.16"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>nameOnly</B> <br>
50
</TD></TR></TABLE><TABLE>
51
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.279.5"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Diagram.html">Diagram</A>* </TD><TD><B>GetDiagram</B> ()<br>
53
</TD></TR></TABLE></DL>
54
<hr><H3>Inherited from <A HREF="Command.html">Command:</A></h3>
58
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>TrackType</B>
60
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual void <B>TrackMouse</B>(<!2><A HREF="Command.html#DOC.48.3">TrackType</A>, <!1><A HREF="Point.html">Point</A>*, <!1><A HREF="Point.html">Point</A>*, <!1><A HREF="Point.html">Point</A>*)
61
<DT><IMG SRC=icon2.gif> virtual void <B>Execute</B>()
62
<DT><IMG SRC=icon2.gif> virtual void <B>Abort</B>()
63
<DT><IMG SRC=icon2.gif> bool <B>CmdDone</B>() const
64
<DT><IMG SRC=icon2.gif> virtual const char* <B>GetName</B>() const
65
<DT><IMG SRC=icon2.gif> int <B>ScaleCorrect</B>(int x) const
66
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>ScaleCorrect</B>(const <!1><A HREF="Point.html">Point</A> *pt) const
67
<DT><IMG SRC=icon2.gif> int <B>Scale</B>(int x) const
68
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>Scale</B>(const <!1><A HREF="Point.html">Point</A> *pt) const
69
<DT><IMG SRC=icon2.gif> void <B>SayAborted</B>()
71
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>SayCommited</B>()
72
<DT><IMG SRC=icon2.gif> void <B>SayUndone</B>()
73
<DT><IMG SRC=icon2.gif> <!1><A HREF="DrawWindow.html">DrawWindow</A>* <B>GetMainWindow</B>() const
74
<DT><IMG SRC=icon2.gif> <!1><A HREF="Viewer.html">Viewer</A>* <B>GetViewer</B>() const
75
<DT><IMG SRC=icon2.gif> <!1><A HREF="Document.html">Document</A>* <B>GetDocument</B>() const
76
<DT><IMG SRC=icon2.gif> <!1><A HREF="Grafport.html">Grafport</A>* <B>GetGrafport</B>() const
77
<DT><IMG SRC=icon2.gif> void <B>SetCmdDone</B>(bool b)
81
<h2> Documentation </h2>
83
abstract command class for replacing text of all text shapes.
88
<A NAME="ReplaceTextCmd">
90
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> ReplaceTextCmd(<!1><A HREF="ShapeView.html">ShapeView</A> *v, const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool sens, bool substr, bool <!2><A HREF="ReplaceTextCmd.html#DOC.279.16">nameOnly</A>)</B></TT>
92
<A NAME="~ReplaceTextCmd">
94
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~ReplaceTextCmd()</B></TT>
98
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UnExecute()</B></TT>
101
<A NAME ="DOC.279.4">
102
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void ReExecute()</B></TT>
104
<A NAME="GetDiagram">
105
<A NAME ="DOC.279.5">
106
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Diagram.html">Diagram</A>* GetDiagram()</B></TT>
109
<A NAME ="DOC.279.6">
110
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="ShapeView.html">ShapeView</A>* view</B></TT>
113
<A NAME ="DOC.279.7">
114
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Diagram.html">Diagram</A>* diagram</B></TT>
116
<A NAME="oldSelection">
117
<A NAME ="DOC.279.8">
118
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="List.html">List</A> <<!1><A HREF="GShape.html">GShape</A> *> * oldSelection</B></TT>
120
<A NAME="textShapes">
121
<A NAME ="DOC.279.9">
122
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="List.html">List</A> <<!1><A HREF="TextShape.html">TextShape</A> *> * textShapes</B></TT>
124
<A NAME="oldStrings">
125
<A NAME ="DOC.279.10">
126
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="List.html">List</A> <<!1><A HREF="string.html">string</A> *> * oldStrings</B></TT>
129
<A NAME ="DOC.279.11">
130
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="List.html">List</A> <<!1><A HREF="Point.html">Point</A> *> * oldSizes</B></TT>
133
<A NAME ="DOC.279.12">
134
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="string.html">string</A>* pattern</B></TT>
137
<A NAME ="DOC.279.13">
138
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="string.html">string</A>* replace</B></TT>
140
<A NAME="caseSensitive">
141
<A NAME ="DOC.279.14">
142
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool caseSensitive</B></TT>
145
<A NAME ="DOC.279.15">
146
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool substring</B></TT>
149
<A NAME ="DOC.279.16">
150
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool nameOnly</B></TT>
153
<DL><DT><B>Direct child classes:
154
</B><DD><A HREF="ReplaceNextTextCmd.html"> ReplaceNextTextCmd </A><br>
155
<A HREF="ReplaceAllTextsCmd.html"> ReplaceAllTextsCmd </A><br>
157
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
158
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
159
<P Align=Center><I>this page has been generated automatically by doc++</I>
160
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>