Top | Description | Object Hierarchy | ![]() |
![]() |
![]() |
![]() |
EvDocumentFind; struct EvDocumentFindInterface; enum EvFindOptions; GList * ev_document_find_find_text (EvDocumentFind *document_find
,EvPage *page
,const gchar *text
,gboolean case_sensitive
); GList * ev_document_find_find_text_with_options (EvDocumentFind *document_find
,EvPage *page
,const gchar *text
,EvFindOptions options
); EvFindOptions ev_document_find_get_supported_options (EvDocumentFind *document_find
);
struct EvDocumentFindInterface { GTypeInterface base_iface; /* Methods */ GList *(* find_text) (EvDocumentFind *document_find, EvPage *page, const gchar *text, gboolean case_sensitive); GList *(* find_text_with_options) (EvDocumentFind *document_find, EvPage *page, const gchar *text, EvFindOptions options); EvFindOptions (*get_supported_options) (EvDocumentFind *document_find); };
typedef enum { EV_FIND_DEFAULT = 0, EV_FIND_CASE_SENSITIVE = 1 << 0, EV_FIND_WHOLE_WORDS_ONLY = 1 << 1 } EvFindOptions;
GList * ev_document_find_find_text (EvDocumentFind *document_find
,EvPage *page
,const gchar *text
,gboolean case_sensitive
);
|
an EvDocumentFind |
|
an EvPage |
|
text to find |
|
whether to match the string case |
Returns : |
a list of results. [transfer full][element-type EvRectangle] |
GList * ev_document_find_find_text_with_options (EvDocumentFind *document_find
,EvPage *page
,const gchar *text
,EvFindOptions options
);
EvFindOptions ev_document_find_get_supported_options
(EvDocumentFind *document_find
);