| GMime Library Reference Manual |
|---|
struct GMimeFilterHTML; #define GMIME_FILTER_HTML_PRE #define GMIME_FILTER_HTML_CONVERT_NL #define GMIME_FILTER_HTML_CONVERT_SPACES #define GMIME_FILTER_HTML_CONVERT_URLS #define GMIME_FILTER_HTML_MARK_CITATION #define GMIME_FILTER_HTML_CONVERT_ADDRESSES #define GMIME_FILTER_HTML_ESCAPE_8BIT #define GMIME_FILTER_HTML_CITE GMimeFilter* g_mime_filter_html_new (guint32 flags,guint32 colour);
struct GMimeFilterHTML {
GMimeFilter parent_object;
struct _GUrlScanner *scanner;
guint32 flags;
guint32 colour;
guint32 column : 31;
guint32 pre_open : 1;
};#define GMIME_FILTER_HTML_CONVERT_NL
Convert new-lines ('\n') into <br> tags.
#define GMIME_FILTER_HTML_CONVERT_SPACES
Preserve whitespace by converting spaces into their appropriate html entities.
#define GMIME_FILTER_HTML_CONVERT_URLS
Wrap detected URLs in <a href=...> tags.
#define GMIME_FILTER_HTML_MARK_CITATION
Change the colour of citation text.
#define GMIME_FILTER_HTML_CONVERT_ADDRESSES
Wrap email addresses in "mailto:" href tags.
#define GMIME_FILTER_HTML_CITE
Cites text by prepending "> " to each cited line.
GMimeFilter* g_mime_filter_html_new (guint32 flags,guint32 colour);
Creates a new GMimeFilterHTML filter.
| flags : | html flags |
| colour : | citation colour |
| Returns : | a new html filter. |
| <<< gmime-filter-from | gmime-filter-md5 >>> |