/usr/share/gtk-doc/html/goffice-0.10/GOSearchReplace.html is in libgoffice-0.10-doc 0.10.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GOSearchReplace</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch17.html" title="Miscellaneous">
<link rel="prev" href="goffice-0.10-GORegexp.html" title="GORegexp">
<link rel="next" href="GOFormat.html" title="GOFormat">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="goffice-0.10-GORegexp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch17.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GOffice Reference Manual</th>
<td><a accesskey="n" href="GOFormat.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GOSearchReplace.synopsis" class="shortcut">Top</a>
|
<a href="#GOSearchReplace.description" class="shortcut">Description</a>
|
<a href="#GOSearchReplace.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GOSearchReplace.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GOSearchReplace"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GOSearchReplace.top_of_page"></a>GOSearchReplace</span></h2>
<p>GOSearchReplace</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GOSearchReplace.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="GOSearchReplace.html#GOSearchReplace-struct" title="GOSearchReplace">GOSearchReplace</a>;
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOSearchReplace.html#go-search-match-string" title="go_search_match_string ()">go_search_match_string</a> (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="GOSearchReplace.html#go-search-replace-error-quark" title="go_search_replace_error_quark ()">go_search_replace_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">char</span> * <a class="link" href="GOSearchReplace.html#go-search-replace-string" title="go_search_replace_string ()">go_search_replace_string</a> (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GOSearchReplace.html#go-search-replace-verify" title="go_search_replace_verify ()">go_search_replace_verify</a> (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> repl</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GOSearchReplace.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----GOSearchReplace
</pre>
</div>
<div class="refsect1">
<a name="GOSearchReplace.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--ignore-case" title='The "ignore-case" property'>ignore-case</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--is-regexp" title='The "is-regexp" property'>is-regexp</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--match-words" title='The "match-words" property'>match-words</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--preserve-case" title='The "preserve-case" property'>preserve-case</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--replace-text" title='The "replace-text" property'>replace-text</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GOSearchReplace.html#GOSearchReplace--search-text" title='The "search-text" property'>search-text</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GOSearchReplace.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GOSearchReplace.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GOSearchReplace-struct"></a><h3>GOSearchReplace</h3>
<pre class="programlisting">typedef struct {
char *search_text;
char *replace_text;
GORegexp *comp_search;
gboolean is_regexp; /* Search text is a regular expression. */
gboolean ignore_case; /* Consider "a" and "A" the same. */
gboolean preserve_case; /* Like Emacs' case-replace. */
gboolean match_words; /* Like grep -w. */
} GOSearchReplace;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GOSearchReplace-struct.search-text"></a>search_text</code></em>;</span></p></td>
<td>string to replace.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GOSearchReplace-struct.replace-text"></a>replace_text</code></em>;</span></p></td>
<td>string to use as replacement/</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="goffice-0.10-GORegexp.html#GORegexp" title="GORegexp"><span class="type">GORegexp</span></a> *<em class="structfield"><code><a name="GOSearchReplace-struct.comp-search"></a>comp_search</code></em>;</span></p></td>
<td><a class="link" href="goffice-0.10-GORegexp.html#GORegexp" title="GORegexp"><span class="type">GORegexp</span></a></td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOSearchReplace-struct.is-regexp"></a>is_regexp</code></em>;</span></p></td>
<td>search text is a regular expression.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOSearchReplace-struct.ignore-case"></a>ignore_case</code></em>;</span></p></td>
<td>consider "a" and "A" the same.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOSearchReplace-struct.preserve-case"></a>preserve_case</code></em>;</span></p></td>
<td>like Emacs' case-replace.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GOSearchReplace-struct.match-words"></a>match_words</code></em>;</span></p></td>
<td>like grep -w.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-search-match-string"></a><h3>go_search_match_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_search_match_string (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-search-replace-error-quark"></a><h3>go_search_replace_error_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> go_search_replace_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-search-replace-string"></a><h3>go_search_replace_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * go_search_replace_string (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-search-replace-verify"></a><h3>go_search_replace_verify ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> go_search_replace_verify (<em class="parameter"><code><a class="link" href="GOSearchReplace.html" title="GOSearchReplace"><span class="type">GOSearchReplace</span></a> *sr</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> repl</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sr</code></em> :</span></p></td>
<td>Search-and-Replace info to be checked</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>repl</code></em> :</span></p></td>
<td>Check replacement part too.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
<td>Location to store error message.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if search-and-replace data is valid.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GOSearchReplace.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GOSearchReplace--ignore-case"></a><h3>The <code class="literal">"ignore-case"</code> property</h3>
<pre class="programlisting"> "ignore-case" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Ignore the case of letters.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GOSearchReplace--is-regexp"></a><h3>The <code class="literal">"is-regexp"</code> property</h3>
<pre class="programlisting"> "is-regexp" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Is the search text a regular expression.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GOSearchReplace--match-words"></a><h3>The <code class="literal">"match-words"</code> property</h3>
<pre class="programlisting"> "match-words" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Match whole words only.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GOSearchReplace--preserve-case"></a><h3>The <code class="literal">"preserve-case"</code> property</h3>
<pre class="programlisting"> "preserve-case" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Preserve the case of letters.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GOSearchReplace--replace-text"></a><h3>The <code class="literal">"replace-text"</code> property</h3>
<pre class="programlisting"> "replace-text" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The text to replace with.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GOSearchReplace--search-text"></a><h3>The <code class="literal">"search-text"</code> property</h3>
<pre class="programlisting"> "search-text" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>The text to search for.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|