|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
                    GOSearchReplace;
                    GOSearchReplaceClass;
GQuark              go_search_replace_error_quark       (void);
gboolean            go_search_replace_verify            (GOSearchReplace *sr,
                                                         gboolean repl,
                                                         GError **err);
gboolean            go_search_match_string              (GOSearchReplace *sr,
                                                         const char *src);
char *              go_search_replace_string            (GOSearchReplace *sr,
                                                         const char *src);
"ignore-case" gboolean : Read / Write "is-regexp" gboolean : Read / Write "match-words" gboolean : Read / Write "preserve-case" gboolean : Read / Write "replace-text" gchar* : Read / Write "search-text" gchar* : Read / Write
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;
gboolean go_search_replace_verify (GOSearchReplace *sr, gboolean repl, GError **err);
| 
 | Search-and-Replace info to be checked | 
| 
 | Check replacement part too. | 
| 
 | Location to store error message. | 
| Returns : | TRUEif  search-and-replace data is valid. | 
gboolean go_search_match_string (GOSearchReplace *sr, const char *src);
| 
 | |
| 
 | |
| Returns : | 
char * go_search_replace_string (GOSearchReplace *sr, const char *src);
| 
 | |
| 
 | |
| Returns : | 
"ignore-case" property"ignore-case" gboolean : Read / Write
Ignore the case of letters.
Default value: FALSE
"is-regexp" property"is-regexp" gboolean : Read / Write
Is the search text a regular expression.
Default value: FALSE
"match-words" property"match-words" gboolean : Read / Write
Match whole words only.
Default value: FALSE
"preserve-case" property"preserve-case" gboolean : Read / Write
Preserve the case of letters.
Default value: FALSE
"replace-text" property"replace-text" gchar* : Read / Write
The text to replace with.
Default value: NULL
"search-text" property"search-text" gchar* : Read / Write
The text to search for.
Default value: NULL