| Top |
The stream input charset defaults to ISO-8859-1 to preserve wire bytes; document and font code pages determine the interpretation of those bytes. The RTF rendition of encapsulated HTML is used, not its HTML markup.
gboolean (*GMimeRtfToTextAttachmentPlaceholderCallback) (guint index,GMimeStream *output,gpointer user_data,GError **error);
index |
zero-based index of this visible attachment placeholder |
|
output |
stream for UTF-8 replacement text. |
[transfer none] |
user_data |
caller data. |
[closure] |
error |
return location for an error |
guint
g_mime_rtf_to_text_get_max_group_depth
(GMimeRtfToText *converter);
void g_mime_rtf_to_text_set_max_group_depth (GMimeRtfToText *converter,guint maximum);
Sets the limit for subsequent conversions.
guint
g_mime_rtf_to_text_get_max_font_table_entries
(GMimeRtfToText *converter);
void g_mime_rtf_to_text_set_max_font_table_entries (GMimeRtfToText *converter,guint maximum);
Sets the limit for subsequent conversions.
guint
g_mime_rtf_to_text_get_max_color_table_entries
(GMimeRtfToText *converter);
void g_mime_rtf_to_text_set_max_color_table_entries (GMimeRtfToText *converter,guint maximum);
Sets the limit for subsequent conversions.
void g_mime_rtf_to_text_set_attachment_placeholder_callback (GMimeRtfToText *converter,GMimeRtfToTextAttachmentPlaceholderCallback callback,gpointer user_data,GDestroyNotify destroy);
Invoked for visible placeholders only. With no callback the placeholder is omitted.
The previous destroy notifier is called when replacing the registration.
destroy
is called when this registration is replaced or the converter
is finalized. The callback cannot be changed during conversion.
GMimeRtfToTextAttachmentPlaceholderCallback g_mime_rtf_to_text_get_attachment_placeholder_callback (GMimeRtfToText *converter,gpointer *user_data);
Gets the currently registered attachment placeholder callback.
[skip]
converter |
||
user_data |
the callback's borrowed user data. |
[out][optional][nullable][transfer none] |
void g_mime_rtf_to_text_set_compliance_logger (GMimeRtfToText *converter,GMimeRtfComplianceLogger logger,gpointer user_data,GDestroyNotify destroy);
Sets the compliance logger, or clears it if logger
is NULL. Diagnostics
are borrowed for the duration of the callback and do not change output.
The previous destroy notifier is called when replacing the registration.
destroy
is called when this registration is replaced or the converter
is finalized. The logger cannot be changed during conversion.
GMimeRtfComplianceLogger g_mime_rtf_to_text_get_compliance_logger (GMimeRtfToText *converter,gpointer *user_data);
Gets the currently registered RTF compliance logger.
[skip]
converter |
||
user_data |
the logger's borrowed user data. |
[out][optional][nullable][transfer none] |
GMimeRtfComplianceOptions *
g_mime_rtf_to_text_get_compliance_options
(GMimeRtfToText *converter);
Gets the converter's RTF compliance options.
void g_mime_rtf_to_text_set_compliance_options (GMimeRtfToText *converter,GMimeRtfComplianceOptions *options);
Sets the compliance options. The converter retains a reference to options
.