| Top |
| #define | DEFAULT_CONTENT_EDITOR_NAME |
| #define | E_TYPE_CONTENT_EDITOR |
| struct | EContentEditorInterface |
| EContentEditor |
void (*EContentEditorInitializedCallback) (EContentEditor *content_editor,gpointer user_data);
EContentEditorInitializedCallback is deprecated and should not be used in newly-written code.
ESpellChecker *
e_content_editor_ref_spell_checker (EContentEditor *editor);
e_content_editor_ref_spell_checker is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_is_malfunction (EContentEditor *editor);
e_content_editor_is_malfunction is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_can_cut (EContentEditor *editor);
e_content_editor_can_cut is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_can_copy (EContentEditor *editor);
e_content_editor_can_copy is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_can_paste (EContentEditor *editor);
e_content_editor_can_paste is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_can_undo (EContentEditor *editor);
e_content_editor_can_undo is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_can_redo (EContentEditor *editor);
e_content_editor_can_redo is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_is_indented (EContentEditor *editor);
e_content_editor_is_indented is deprecated and should not be used in newly-written code.
Returns whether the current paragraph is indented. This does not include citations.
Since: 3.22
gboolean
e_content_editor_get_spell_check_enabled
(EContentEditor *editor);
e_content_editor_get_spell_check_enabled is deprecated and should not be used in newly-written code.
void e_content_editor_set_spell_check_enabled (EContentEditor *editor,gboolean enable);
e_content_editor_set_spell_check_enabled is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_is_editable (EContentEditor *editor);
e_content_editor_is_editable is deprecated and should not be used in newly-written code.
void e_content_editor_set_editable (EContentEditor *editor,gboolean editable);
e_content_editor_set_editable is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_get_changed (EContentEditor *editor);
e_content_editor_get_changed is deprecated and should not be used in newly-written code.
void e_content_editor_set_changed (EContentEditor *editor,gboolean changed);
e_content_editor_set_changed is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_get_html_mode (EContentEditor *editor);
e_content_editor_get_html_mode is deprecated and should not be used in newly-written code.
void e_content_editor_set_html_mode (EContentEditor *editor,gboolean html_mode);
e_content_editor_set_html_mode is deprecated and should not be used in newly-written code.
void e_content_editor_set_alignment (EContentEditor *editor,EContentEditorAlignment value);
e_content_editor_set_alignment is deprecated and should not be used in newly-written code.
Sets alignment of current paragraph to value
.
Since: 3.22
EContentEditorAlignment
e_content_editor_get_alignment (EContentEditor *editor);
e_content_editor_get_alignment is deprecated and should not be used in newly-written code.
Returns alignment of the current paragraph.
Since: 3.22
void e_content_editor_set_background_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_set_background_color is deprecated and should not be used in newly-written code.
Sets the background color of the current selection or letter at the current cursor position to
a color defined by value
.
Since: 3.22
GdkRGBA *
e_content_editor_dup_background_color (EContentEditor *editor);
e_content_editor_dup_background_color is deprecated and should not be used in newly-written code.
Returns the background color used in the current selection or at letter at the current cursor position.
A newly allocated GdkRGBA structure with
the current background color. Free the returned value with gdk_rgba_free()
when done with it.
[transfer-full]
Since: 3.22
void e_content_editor_set_font_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_set_font_color is deprecated and should not be used in newly-written code.
Sets the font color of the current selection or letter at the current cursor position to
a color defined by value
.
Since: 3.22
GdkRGBA *
e_content_editor_dup_font_color (EContentEditor *editor);
e_content_editor_dup_font_color is deprecated and should not be used in newly-written code.
Returns the font color used in the current selection or at letter at the current cursor position.
A newly allocated GdkRGBA structure with
the current font color. Free the returned value with gdk_rgba_free()
when done with it.
[transfer-full]
Since: 3.22
void e_content_editor_set_font_name (EContentEditor *editor,const gchar *value);
e_content_editor_set_font_name is deprecated and should not be used in newly-written code.
Sets font name of current selection or of letter at current cursor position
to value
.
Since: 3.22
gchar *
e_content_editor_dup_font_name (EContentEditor *editor);
e_content_editor_dup_font_name is deprecated and should not be used in newly-written code.
Returns a name of the font used in the current selection or at letter at the current cursor position.
A newly allocated string with the font name.
Free it with g_free() when done with it.
[transfer-full]
Since: 3.22
void e_content_editor_set_font_size (EContentEditor *editor,gint value);
e_content_editor_set_font_size is deprecated and should not be used in newly-written code.
Sets font size of current selection or of letter at current cursor position
to value
.
Since: 3.22
gint
e_content_editor_get_font_size (EContentEditor *editor);
e_content_editor_get_font_size is deprecated and should not be used in newly-written code.
Returns fotn size of the current selection or letter at the current cursor position.
Since: 3.22
void e_content_editor_set_block_format (EContentEditor *editor,EContentEditorBlockFormat value);
e_content_editor_set_block_format is deprecated and should not be used in newly-written code.
Changes block format of the current paragraph to value
.
Since: 3.22
EContentEditorBlockFormat
e_content_editor_get_block_format (EContentEditor *editor);
e_content_editor_get_block_format is deprecated and should not be used in newly-written code.
Returns block format of the current paragraph.
Since: 3.22
void e_content_editor_set_bold (EContentEditor *editor,gboolean bold);
e_content_editor_set_bold is deprecated and should not be used in newly-written code.
Changes bold formatting of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_bold (EContentEditor *editor);
e_content_editor_is_bold is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is bold.
Since: 3.22
void e_content_editor_set_italic (EContentEditor *editor,gboolean italic);
e_content_editor_set_italic is deprecated and should not be used in newly-written code.
Changes italic formatting of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_italic (EContentEditor *editor);
e_content_editor_is_italic is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is italic.
Since: 3.22
void e_content_editor_set_monospaced (EContentEditor *editor,gboolean monospaced);
e_content_editor_set_monospaced is deprecated and should not be used in newly-written code.
Changes monospaced formatting of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_monospaced (EContentEditor *editor);
e_content_editor_is_monospaced is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is monospaced.
Since: 3.22
void e_content_editor_set_strikethrough (EContentEditor *editor,gboolean strikethrough);
e_content_editor_set_strikethrough is deprecated and should not be used in newly-written code.
Changes strike through formatting of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_strikethrough (EContentEditor *editor);
e_content_editor_is_strikethrough is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is striked through.
Since: 3.22
void e_content_editor_set_subscript (EContentEditor *editor,gboolean subscript);
e_content_editor_set_subscript is deprecated and should not be used in newly-written code.
Changes subscript of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_subscript (EContentEditor *editor);
e_content_editor_is_subscript is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is in subscript.
Since: 3.22
void e_content_editor_set_superscript (EContentEditor *editor,gboolean superscript);
e_content_editor_set_superscript is deprecated and should not be used in newly-written code.
Changes superscript of the current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_superscript (EContentEditor *editor);
e_content_editor_is_superscript is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is in superscript.
Since: 3.22
void e_content_editor_set_underline (EContentEditor *editor,gboolean underline);
e_content_editor_set_underline is deprecated and should not be used in newly-written code.
Changes underline formatting of current selection or letter at current cursor position.
Since: 3.22
gboolean
e_content_editor_is_underline (EContentEditor *editor);
e_content_editor_is_underline is deprecated and should not be used in newly-written code.
Returns whether current selection or letter at current cursor position is underlined.
Since: 3.22
void e_content_editor_set_start_bottom (EContentEditor *editor,EThreeState value);
e_content_editor_set_start_bottom is deprecated and should not be used in newly-written code.
Changes start-bottom property, which is used to position cursor after setting message body in replies and forwards.
Since: 3.26
EThreeState
e_content_editor_get_start_bottom (EContentEditor *editor);
e_content_editor_get_start_bottom is deprecated and should not be used in newly-written code.
Since: 3.26
void e_content_editor_set_top_signature (EContentEditor *editor,EThreeState value);
e_content_editor_set_top_signature is deprecated and should not be used in newly-written code.
Changes top-signature property, which is used to position signature after setting message body in replies and forwards.
Since: 3.26
EThreeState
e_content_editor_get_top_signature (EContentEditor *editor);
e_content_editor_get_top_signature is deprecated and should not be used in newly-written code.
Since: 3.26
void e_content_editor_initialize (EContentEditor *content_editor,EContentEditorInitializedCallback callback,gpointer user_data);
e_content_editor_initialize is deprecated and should not be used in newly-written code.
void e_content_editor_setup_editor (EContentEditor *content_editor,struct _EHTMLEditor *html_editor);
e_content_editor_setup_editor is deprecated and should not be used in newly-written code.
Called the first time the content_editor
is picked to be used within
the html_editor
. This is typically used to modify the UI
of the html_editor
. This method implementation is optional.
Since: 3.22
void
e_content_editor_update_styles (EContentEditor *editor);
e_content_editor_update_styles is deprecated and should not be used in newly-written code.
void e_content_editor_insert_content (EContentEditor *editor,const gchar *content,EContentEditorInsertContentFlags flags);
e_content_editor_insert_content is deprecated and should not be used in newly-written code.
gchar * e_content_editor_get_content (EContentEditor *editor,EContentEditorGetContentFlags flags,const gchar *inline_images_from_domain,GSList **inline_images_parts);
e_content_editor_get_content is deprecated and should not be used in newly-written code.
void e_content_editor_insert_image_from_mime_part (EContentEditor *editor,CamelMimePart *part);
e_content_editor_insert_image_from_mime_part is deprecated and should not be used in newly-written code.
void e_content_editor_insert_image (EContentEditor *editor,const gchar *uri);
e_content_editor_insert_image is deprecated and should not be used in newly-written code.
Inserts image at current cursor position using uri
as source. When a
text range is selected, it will be replaced by the image.
Since: 3.22
void e_content_editor_insert_emoticon (EContentEditor *editor,EEmoticon *emoticon);
e_content_editor_insert_emoticon is deprecated and should not be used in newly-written code.
void e_content_editor_move_caret_on_coordinates (EContentEditor *editor,gint x,gint y,gboolean cancel_if_not_collapsed);
e_content_editor_move_caret_on_coordinates is deprecated and should not be used in newly-written code.
void
e_content_editor_cut (EContentEditor *editor);
e_content_editor_cut is deprecated and should not be used in newly-written code.
void
e_content_editor_copy (EContentEditor *editor);
e_content_editor_copy is deprecated and should not be used in newly-written code.
void
e_content_editor_paste (EContentEditor *editor);
e_content_editor_paste is deprecated and should not be used in newly-written code.
void
e_content_editor_paste_primary (EContentEditor *editor);
e_content_editor_paste_primary is deprecated and should not be used in newly-written code.
void
e_content_editor_undo (EContentEditor *editor);
e_content_editor_undo is deprecated and should not be used in newly-written code.
void
e_content_editor_redo (EContentEditor *editor);
e_content_editor_redo is deprecated and should not be used in newly-written code.
void
e_content_editor_clear_undo_redo_history
(EContentEditor *editor);
e_content_editor_clear_undo_redo_history is deprecated and should not be used in newly-written code.
void e_content_editor_set_spell_checking_languages (EContentEditor *editor,const gchar **languages);
e_content_editor_set_spell_checking_languages is deprecated and should not be used in newly-written code.
void
e_content_editor_select_all (EContentEditor *editor);
e_content_editor_select_all is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_get_selected_text (EContentEditor *editor);
e_content_editor_get_selected_text is deprecated and should not be used in newly-written code.
Returns currently selected string.
Since: 3.22
gchar *
e_content_editor_get_caret_word (EContentEditor *editor);
e_content_editor_get_caret_word is deprecated and should not be used in newly-written code.
Returns word under cursor.
A newly allocated string with current caret word or NULL
when there is no text under cursor or when selection is active.
[transfer-full]
Since: 3.22
void e_content_editor_replace_caret_word (EContentEditor *editor,const gchar *replacement);
e_content_editor_replace_caret_word is deprecated and should not be used in newly-written code.
Replaces current word under cursor with replacement
.
Since: 3.22
void
e_content_editor_selection_indent (EContentEditor *editor);
e_content_editor_selection_indent is deprecated and should not be used in newly-written code.
void
e_content_editor_selection_unindent (EContentEditor *editor);
e_content_editor_selection_unindent is deprecated and should not be used in newly-written code.
void e_content_editor_selection_create_link (EContentEditor *editor,const gchar *uri);
e_content_editor_selection_create_link is deprecated and should not be used in newly-written code.
Converts current selection into a link pointing to url
.
Since: 3.22
void
e_content_editor_selection_unlink (EContentEditor *editor);
e_content_editor_selection_unlink is deprecated and should not be used in newly-written code.
Removes any links (<A> elements) from current selection or at current cursor position.
Since: 3.22
void e_content_editor_find (EContentEditor *editor,guint32 flags,const gchar *text);
e_content_editor_find is deprecated and should not be used in newly-written code.
Searches the content of the editor
for the occurrence of the text
.
The flags
modify the behaviour of the search. The found text,
if any, is supposed to be selected.
Once the search is done, the "find-done" signal should be
emitted, by using e_content_editor_emit_find_done().
Since: 3.22
void e_content_editor_replace (EContentEditor *editor,const gchar *replacement);
e_content_editor_replace is deprecated and should not be used in newly-written code.
Replaces currently selected text with replacement
.
Since: 3.22
void e_content_editor_replace_all (EContentEditor *editor,guint32 flags,const gchar *find_text,const gchar *replace_with);
e_content_editor_replace_all is deprecated and should not be used in newly-written code.
Searches the content of the editor
for all the occurrences of
the find_text
and replaces them with the replace_with
.
The flags
modify the behaviour of the search.
Once the replace is done, the "replace-all-done" signal should be
emitted, by using e_content_editor_emit_replace_all_done().
editor |
||
flags |
a bit-OR of EContentEditorFindFlags flags |
|
find_text |
a text to find |
|
replace_with |
a text to replace the found text with |
Since: 3.22
void
e_content_editor_selection_save (EContentEditor *editor);
e_content_editor_selection_save is deprecated and should not be used in newly-written code.
Saves current cursor position or current selection range. The selection can
be later restored by calling e_content_editor_selection_restore().
Note that calling e_content_editor_selection_save() overwrites previously saved
position.
Note that this method inserts special markings into the HTML code that are
used to later restore the selection. It can happen that by deleting some
segments of the document some of the markings are deleted too. In that case
restoring the selection by e_content_editor_selection_restore() can fail. Also by
moving text segments (Cut & Paste) can result in moving the markings
elsewhere, thus e_content_editor_selection_restore() will restore the selection
incorrectly.
It is recommended to use this method only when you are not planning to make bigger changes to content or structure of the document (formatting changes are usually OK).
Since: 3.22
void
e_content_editor_selection_restore (EContentEditor *editor);
e_content_editor_selection_restore is deprecated and should not be used in newly-written code.
Restores cursor position or selection range that was saved by
e_content_editor_selection_save().
Note that calling this function without calling e_content_editor_selection_save()
before is a programming error and the behavior is undefined.
Since: 3.22
void
e_content_editor_selection_wrap (EContentEditor *editor);
e_content_editor_selection_wrap is deprecated and should not be used in newly-written code.
guint
e_content_editor_get_caret_position (EContentEditor *editor);
e_content_editor_get_caret_position is deprecated and should not be used in newly-written code.
guint
e_content_editor_get_caret_offset (EContentEditor *editor);
e_content_editor_get_caret_offset is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_get_current_signature_uid
(EContentEditor *editor);
e_content_editor_get_current_signature_uid is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_is_ready (EContentEditor *editor);
e_content_editor_is_ready is deprecated and should not be used in newly-written code.
gchar * e_content_editor_insert_signature (EContentEditor *editor,const gchar *content,gboolean is_html,const gchar *signature_id,gboolean *set_signature_from_message,gboolean *check_if_signature_is_changed,gboolean *ignore_next_signature_change);
e_content_editor_insert_signature is deprecated and should not be used in newly-written code.
void
e_content_editor_delete_cell_contents (EContentEditor *editor);
e_content_editor_delete_cell_contents is deprecated and should not be used in newly-written code.
void
e_content_editor_delete_column (EContentEditor *editor);
e_content_editor_delete_column is deprecated and should not be used in newly-written code.
void
e_content_editor_delete_row (EContentEditor *editor);
e_content_editor_delete_row is deprecated and should not be used in newly-written code.
void
e_content_editor_delete_table (EContentEditor *editor);
e_content_editor_delete_table is deprecated and should not be used in newly-written code.
void
e_content_editor_insert_column_after (EContentEditor *editor);
e_content_editor_insert_column_after is deprecated and should not be used in newly-written code.
void
e_content_editor_insert_column_before (EContentEditor *editor);
e_content_editor_insert_column_before is deprecated and should not be used in newly-written code.
void
e_content_editor_insert_row_above (EContentEditor *editor);
e_content_editor_insert_row_above is deprecated and should not be used in newly-written code.
void
e_content_editor_insert_row_below (EContentEditor *editor);
e_content_editor_insert_row_below is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_on_h_rule_dialog_open
(EContentEditor *editor);
e_content_editor_on_h_rule_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_h_rule_dialog_close
(EContentEditor *editor);
e_content_editor_on_h_rule_dialog_close is deprecated and should not be used in newly-written code.
void e_content_editor_h_rule_set_align (EContentEditor *editor,const gchar *value);
e_content_editor_h_rule_set_align is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_h_rule_get_align (EContentEditor *editor);
e_content_editor_h_rule_get_align is deprecated and should not be used in newly-written code.
void e_content_editor_h_rule_set_size (EContentEditor *editor,gint value);
e_content_editor_h_rule_set_size is deprecated and should not be used in newly-written code.
gint
e_content_editor_h_rule_get_size (EContentEditor *editor);
e_content_editor_h_rule_get_size is deprecated and should not be used in newly-written code.
void e_content_editor_h_rule_set_width (EContentEditor *editor,gint value,EContentEditorUnit unit);
e_content_editor_h_rule_set_width is deprecated and should not be used in newly-written code.
gint e_content_editor_h_rule_get_width (EContentEditor *editor,EContentEditorUnit *unit);
e_content_editor_h_rule_get_width is deprecated and should not be used in newly-written code.
void e_content_editor_h_rule_set_no_shade (EContentEditor *editor,gboolean value);
e_content_editor_h_rule_set_no_shade is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_h_rule_get_no_shade (EContentEditor *editor);
e_content_editor_h_rule_get_no_shade is deprecated and should not be used in newly-written code.
void
e_content_editor_on_image_dialog_open (EContentEditor *editor);
e_content_editor_on_image_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_image_dialog_close
(EContentEditor *editor);
e_content_editor_on_image_dialog_close is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_src (EContentEditor *editor,const gchar *value);
e_content_editor_image_set_src is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_image_get_src (EContentEditor *editor);
e_content_editor_image_get_src is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_alt (EContentEditor *editor,const gchar *value);
e_content_editor_image_set_alt is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_image_get_alt (EContentEditor *editor);
e_content_editor_image_get_alt is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_url (EContentEditor *editor,const gchar *value);
e_content_editor_image_set_url is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_image_get_url (EContentEditor *editor);
e_content_editor_image_get_url is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_vspace (EContentEditor *editor,gint value);
e_content_editor_image_set_vspace is deprecated and should not be used in newly-written code.
gint
e_content_editor_image_get_vspace (EContentEditor *editor);
e_content_editor_image_get_vspace is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_hspace (EContentEditor *editor,gint value);
e_content_editor_image_set_hspace is deprecated and should not be used in newly-written code.
gint
e_content_editor_image_get_hspace (EContentEditor *editor);
e_content_editor_image_get_hspace is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_border (EContentEditor *editor,gint value);
e_content_editor_image_set_border is deprecated and should not be used in newly-written code.
gint
e_content_editor_image_get_border (EContentEditor *editor);
e_content_editor_image_get_border is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_align (EContentEditor *editor,const gchar *value);
e_content_editor_image_set_align is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_image_get_align (EContentEditor *editor);
e_content_editor_image_get_align is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_width (EContentEditor *editor,gint value);
e_content_editor_image_set_width is deprecated and should not be used in newly-written code.
gint32
e_content_editor_image_get_width (EContentEditor *editor);
e_content_editor_image_get_width is deprecated and should not be used in newly-written code.
gint32
e_content_editor_image_get_natural_width
(EContentEditor *editor);
e_content_editor_image_get_natural_width is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_width_follow (EContentEditor *editor,gboolean value);
e_content_editor_image_set_width_follow is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_height (EContentEditor *editor,gint value);
e_content_editor_image_set_height is deprecated and should not be used in newly-written code.
gint32
e_content_editor_image_get_height (EContentEditor *editor);
e_content_editor_image_get_height is deprecated and should not be used in newly-written code.
gint32
e_content_editor_image_get_natural_height
(EContentEditor *editor);
e_content_editor_image_get_natural_height is deprecated and should not be used in newly-written code.
void e_content_editor_image_set_height_follow (EContentEditor *editor,gboolean value);
e_content_editor_image_set_height_follow is deprecated and should not be used in newly-written code.
void
e_content_editor_on_link_dialog_open (EContentEditor *editor);
e_content_editor_on_link_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_link_dialog_close (EContentEditor *editor);
e_content_editor_on_link_dialog_close is deprecated and should not be used in newly-written code.
void e_content_editor_link_get_values (EContentEditor *editor,gchar **href,gchar **text);
e_content_editor_link_get_values is deprecated and should not be used in newly-written code.
void e_content_editor_link_set_values (EContentEditor *editor,const gchar *href,const gchar *text);
e_content_editor_link_set_values is deprecated and should not be used in newly-written code.
void e_content_editor_page_set_text_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_page_set_text_color is deprecated and should not be used in newly-written code.
void
e_content_editor_on_page_dialog_open (EContentEditor *editor);
e_content_editor_on_page_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_page_dialog_close (EContentEditor *editor);
e_content_editor_on_page_dialog_close is deprecated and should not be used in newly-written code.
void e_content_editor_page_get_text_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_page_get_text_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_set_background_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_page_set_background_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_get_background_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_page_get_background_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_set_link_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_page_set_link_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_get_link_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_page_get_link_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_set_visited_link_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_page_set_visited_link_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_get_visited_link_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_page_get_visited_link_color is deprecated and should not be used in newly-written code.
void e_content_editor_page_set_background_image_uri (EContentEditor *editor,const gchar *uri);
e_content_editor_page_set_background_image_uri is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_page_get_background_image_uri
(EContentEditor *editor);
e_content_editor_page_get_background_image_uri is deprecated and should not be used in newly-written code.
void
e_content_editor_on_cell_dialog_open (EContentEditor *editor);
e_content_editor_on_cell_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_cell_dialog_close (EContentEditor *editor);
e_content_editor_on_cell_dialog_close is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_v_align (EContentEditor *editor,const gchar *value,EContentEditorScope scope);
e_content_editor_cell_set_v_align is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_cell_get_v_align (EContentEditor *editor);
e_content_editor_cell_get_v_align is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_align (EContentEditor *editor,const gchar *value,EContentEditorScope scope);
e_content_editor_cell_set_align is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_cell_get_align (EContentEditor *editor);
e_content_editor_cell_get_align is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_wrap (EContentEditor *editor,gboolean value,EContentEditorScope scope);
e_content_editor_cell_set_wrap is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_cell_get_wrap (EContentEditor *editor);
e_content_editor_cell_get_wrap is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_header_style (EContentEditor *editor,gboolean value,EContentEditorScope scope);
e_content_editor_cell_set_header_style is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_cell_is_header (EContentEditor *editor);
e_content_editor_cell_is_header is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_width (EContentEditor *editor,gint value,EContentEditorUnit unit,EContentEditorScope scope);
e_content_editor_cell_set_width is deprecated and should not be used in newly-written code.
gint e_content_editor_cell_get_width (EContentEditor *editor,EContentEditorUnit *unit);
e_content_editor_cell_get_width is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_row_span (EContentEditor *editor,gint value,EContentEditorScope scope);
e_content_editor_cell_set_row_span is deprecated and should not be used in newly-written code.
gint
e_content_editor_cell_get_row_span (EContentEditor *editor);
e_content_editor_cell_get_row_span is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_col_span (EContentEditor *editor,gint value,EContentEditorScope scope);
e_content_editor_cell_set_col_span is deprecated and should not be used in newly-written code.
gint
e_content_editor_cell_get_col_span (EContentEditor *editor);
e_content_editor_cell_get_col_span is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_background_image_uri (EContentEditor *editor,const gchar *uri);
e_content_editor_cell_set_background_image_uri is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_cell_get_background_image_uri
(EContentEditor *editor);
e_content_editor_cell_get_background_image_uri is deprecated and should not be used in newly-written code.
void e_content_editor_cell_set_background_color (EContentEditor *editor,const GdkRGBA *value,EContentEditorScope scope);
e_content_editor_cell_set_background_color is deprecated and should not be used in newly-written code.
void e_content_editor_cell_get_background_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_cell_get_background_color is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_row_count (EContentEditor *editor,guint value);
e_content_editor_table_set_row_count is deprecated and should not be used in newly-written code.
guint
e_content_editor_table_get_row_count (EContentEditor *editor);
e_content_editor_table_get_row_count is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_column_count (EContentEditor *editor,guint value);
e_content_editor_table_set_column_count is deprecated and should not be used in newly-written code.
guint
e_content_editor_table_get_column_count
(EContentEditor *editor);
e_content_editor_table_get_column_count is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_width (EContentEditor *editor,gint value,EContentEditorUnit unit);
e_content_editor_table_set_width is deprecated and should not be used in newly-written code.
guint e_content_editor_table_get_width (EContentEditor *editor,EContentEditorUnit *unit);
e_content_editor_table_get_width is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_align (EContentEditor *editor,const gchar *value);
e_content_editor_table_set_align is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_table_get_align (EContentEditor *editor);
e_content_editor_table_get_align is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_padding (EContentEditor *editor,gint value);
e_content_editor_table_set_padding is deprecated and should not be used in newly-written code.
gint
e_content_editor_table_get_padding (EContentEditor *editor);
e_content_editor_table_get_padding is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_spacing (EContentEditor *editor,gint value);
e_content_editor_table_set_spacing is deprecated and should not be used in newly-written code.
gint
e_content_editor_table_get_spacing (EContentEditor *editor);
e_content_editor_table_get_spacing is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_border (EContentEditor *editor,gint value);
e_content_editor_table_set_border is deprecated and should not be used in newly-written code.
gint
e_content_editor_table_get_border (EContentEditor *editor);
e_content_editor_table_get_border is deprecated and should not be used in newly-written code.
gchar *
e_content_editor_table_get_background_image_uri
(EContentEditor *editor);
e_content_editor_table_get_background_image_uri is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_background_image_uri (EContentEditor *editor,const gchar *uri);
e_content_editor_table_set_background_image_uri is deprecated and should not be used in newly-written code.
void e_content_editor_table_get_background_color (EContentEditor *editor,GdkRGBA *value);
e_content_editor_table_get_background_color is deprecated and should not be used in newly-written code.
void e_content_editor_table_set_background_color (EContentEditor *editor,const GdkRGBA *value);
e_content_editor_table_set_background_color is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_on_table_dialog_open (EContentEditor *editor);
e_content_editor_on_table_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_table_dialog_close
(EContentEditor *editor);
e_content_editor_on_table_dialog_close is deprecated and should not be used in newly-written code.
void
e_content_editor_on_spell_check_dialog_open
(EContentEditor *editor);
e_content_editor_on_spell_check_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_spell_check_dialog_close
(EContentEditor *editor);
e_content_editor_on_spell_check_dialog_close is deprecated and should not be used in newly-written code.
gchar * e_content_editor_spell_check_next_word (EContentEditor *editor,const gchar *word);
e_content_editor_spell_check_next_word is deprecated and should not be used in newly-written code.
gchar * e_content_editor_spell_check_prev_word (EContentEditor *editor,const gchar *word);
e_content_editor_spell_check_prev_word is deprecated and should not be used in newly-written code.
void e_content_editor_spell_check_replace_all (EContentEditor *editor,const gchar *word,const gchar *replacement);
e_content_editor_spell_check_replace_all is deprecated and should not be used in newly-written code.
void
e_content_editor_on_replace_dialog_open
(EContentEditor *editor);
e_content_editor_on_replace_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_replace_dialog_close
(EContentEditor *editor);
e_content_editor_on_replace_dialog_close is deprecated and should not be used in newly-written code.
void
e_content_editor_on_find_dialog_open (EContentEditor *editor);
e_content_editor_on_find_dialog_open is deprecated and should not be used in newly-written code.
void
e_content_editor_on_find_dialog_close (EContentEditor *editor);
e_content_editor_on_find_dialog_close is deprecated and should not be used in newly-written code.
void
e_content_editor_emit_load_finished (EContentEditor *editor);
e_content_editor_emit_load_finished is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_emit_paste_clipboard (EContentEditor *editor);
e_content_editor_emit_paste_clipboard is deprecated and should not be used in newly-written code.
gboolean
e_content_editor_emit_paste_primary_clipboard
(EContentEditor *editor);
e_content_editor_emit_paste_primary_clipboard is deprecated and should not be used in newly-written code.
gboolean e_content_editor_emit_context_menu_requested (EContentEditor *editor,EContentEditorNodeFlags flags,GdkEvent *event);
e_content_editor_emit_context_menu_requested is deprecated and should not be used in newly-written code.
void e_content_editor_emit_find_done (EContentEditor *editor,guint match_count);
e_content_editor_emit_find_done is deprecated and should not be used in newly-written code.
void e_content_editor_emit_replace_all_done (EContentEditor *editor,guint replaced_count);
e_content_editor_emit_replace_all_done is deprecated and should not be used in newly-written code.
void
e_content_editor_emit_drop_handled (EContentEditor *editor);
e_content_editor_emit_drop_handled is deprecated and should not be used in newly-written code.
void
e_content_editor_emit_content_changed (EContentEditor *editor);
e_content_editor_emit_content_changed is deprecated and should not be used in newly-written code.
#define DEFAULT_CONTENT_EDITOR_NAME "WebKit"
DEFAULT_CONTENT_EDITOR_NAME is deprecated and should not be used in newly-written code.
#define E_TYPE_CONTENT_EDITOR e_content_editor_get_type ()
E_TYPE_CONTENT_EDITOR is deprecated and should not be used in newly-written code.
struct EContentEditorInterface {
GTypeInterface parent_interface;
void (*initialize) (EContentEditor *content_editor,
EContentEditorInitializedCallback callback,
gpointer user_data);
void (*setup_editor) (EContentEditor *content_editor,
struct _EHTMLEditor *html_editor);
void (*update_styles) (EContentEditor *editor);
void (*insert_content) (EContentEditor *editor,
const gchar *content,
EContentEditorInsertContentFlags flags);
gchar * (*get_content) (EContentEditor *editor,
EContentEditorGetContentFlags flags,
const gchar *inline_images_from_domain,
GSList **inline_images_parts /* newly created CamelMimePart * */);
void (*insert_image) (EContentEditor *editor,
const gchar *uri);
void (*insert_image_from_mime_part)
(EContentEditor *editor,
CamelMimePart *part);
void (*insert_emoticon) (EContentEditor *editor,
EEmoticon *emoticon);
void (*move_caret_on_coordinates) (EContentEditor *editor,
gint x,
gint y,
gboolean cancel_if_not_collapsed);
void (*cut) (EContentEditor *editor);
void (*copy) (EContentEditor *editor);
void (*paste) (EContentEditor *editor);
void (*paste_primary) (EContentEditor *editor);
void (*undo) (EContentEditor *editor);
void (*redo) (EContentEditor *editor);
void (*clear_undo_redo_history) (EContentEditor *editor);
void (*set_spell_checking_languages) (EContentEditor *editor,
const gchar **languages);
gchar * (*get_selected_text) (EContentEditor *editor);
gchar * (*get_caret_word) (EContentEditor *editor);
void (*replace_caret_word) (EContentEditor *editor,
const gchar *replacement);
void (*select_all) (EContentEditor *editor);
void (*selection_indent) (EContentEditor *editor);
void (*selection_unindent) (EContentEditor *editor);
void (*selection_create_link) (EContentEditor *editor,
const gchar *uri);
void (*selection_unlink) (EContentEditor *editor);
void (*find) (EContentEditor *editor,
guint32 flags,
const gchar *text);
void (*replace) (EContentEditor *editor,
const gchar *replacement);
void (*replace_all) (EContentEditor *editor,
guint32 flags,
const gchar *find_text,
const gchar *replace_with);
void (*selection_save) (EContentEditor *editor);
void (*selection_restore) (EContentEditor *editor);
void (*selection_wrap) (EContentEditor *editor);
guint (*get_caret_position) (EContentEditor *editor);
guint (*get_caret_offset) (EContentEditor *editor);
gchar * (*get_current_signature_uid) (EContentEditor *editor);
gboolean (*is_ready) (EContentEditor *editor);
gchar * (*insert_signature) (EContentEditor *editor,
const gchar *content,
gboolean is_html,
const gchar *signature_id,
gboolean *set_signature_from_message,
gboolean *check_if_signature_is_changed,
gboolean *ignore_next_signature_change);
void (*delete_cell_contents) (EContentEditor *editor);
void (*delete_column) (EContentEditor *editor);
void (*delete_row) (EContentEditor *editor);
void (*delete_table) (EContentEditor *editor);
void (*insert_column_after) (EContentEditor *editor);
void (*insert_column_before) (EContentEditor *editor);
void (*insert_row_above) (EContentEditor *editor);
void (*insert_row_below) (EContentEditor *editor);
gboolean (*on_h_rule_dialog_open) (EContentEditor *editor);
void (*on_h_rule_dialog_close) (EContentEditor *editor);
void (*h_rule_set_align) (EContentEditor *editor,
const gchar *value);
gchar * (*h_rule_get_align) (EContentEditor *editor);
void (*h_rule_set_size) (EContentEditor *editor,
gint value);
gint (*h_rule_get_size) (EContentEditor *editor);
void (*h_rule_set_width) (EContentEditor *editor,
gint value,
EContentEditorUnit unit);
gint (*h_rule_get_width) (EContentEditor *editor,
EContentEditorUnit *unit);
void (*h_rule_set_no_shade) (EContentEditor *editor,
gboolean value);
gboolean (*h_rule_get_no_shade) (EContentEditor *editor);
void (*on_image_dialog_open) (EContentEditor *editor);
void (*on_image_dialog_close) (EContentEditor *editor);
void (*image_set_src) (EContentEditor *editor,
const gchar *value);
gchar * (*image_get_src) (EContentEditor *editor);
void (*image_set_alt) (EContentEditor *editor,
const gchar *value);
gchar * (*image_get_alt) (EContentEditor *editor);
gint32 (*image_get_natural_width) (EContentEditor *editor);
gint32 (*image_get_width) (EContentEditor *editor);
void (*image_set_width) (EContentEditor *editor,
gint value);
void (*image_set_width_follow) (EContentEditor *editor,
gboolean value);
gint32 (*image_get_natural_height) (EContentEditor *editor);
gint32 (*image_get_height) (EContentEditor *editor);
void (*image_set_height) (EContentEditor *editor,
gint value);
void (*image_set_height_follow) (EContentEditor *editor,
gboolean value);
void (*image_set_url) (EContentEditor *editor,
const gchar *value);
gchar * (*image_get_url) (EContentEditor *editor);
void (*image_set_vspace) (EContentEditor *editor,
gint value);
gint (*image_get_vspace) (EContentEditor *editor);
void (*image_set_hspace) (EContentEditor *editor,
gint value);
gint (*image_get_hspace) (EContentEditor *editor);
void (*image_set_border) (EContentEditor *editor,
gint border);
gint (*image_get_border) (EContentEditor *editor);
void (*image_set_align) (EContentEditor *editor,
const gchar *value);
gchar * (*image_get_align) (EContentEditor *editor);
void (*on_link_dialog_open) (EContentEditor *editor);
void (*on_link_dialog_close) (EContentEditor *editor);
void (*link_get_values) (EContentEditor *editor,
gchar **href,
gchar **text);
void (*link_set_values) (EContentEditor *editor,
const gchar *href,
const gchar *text);
void (*on_page_dialog_open) (EContentEditor *editor);
void (*on_page_dialog_close) (EContentEditor *editor);
void (*page_set_text_color) (EContentEditor *editor,
const GdkRGBA *value);
void (*page_get_text_color) (EContentEditor *editor,
GdkRGBA *value);
void (*page_set_background_color) (EContentEditor *editor,
const GdkRGBA *value);
void (*page_get_background_color) (EContentEditor *editor,
GdkRGBA *value);
void (*page_set_link_color) (EContentEditor *editor,
const GdkRGBA *value);
void (*page_get_link_color) (EContentEditor *editor,
GdkRGBA *value);
void (*page_set_visited_link_color) (EContentEditor *editor,
const GdkRGBA *value);
void (*page_get_visited_link_color) (EContentEditor *editor,
GdkRGBA *value);
void (*page_set_background_image_uri)
(EContentEditor *editor,
const gchar *uri);
gchar * (*page_get_background_image_uri)
(EContentEditor *editor);
void (*on_cell_dialog_open) (EContentEditor *editor);
void (*on_cell_dialog_close) (EContentEditor *editor);
void (*cell_set_v_align) (EContentEditor *editor,
const gchar *value,
EContentEditorScope scope);
gchar * (*cell_get_v_align) (EContentEditor *editor);
void (*cell_set_align) (EContentEditor *editor,
const gchar *value,
EContentEditorScope scope);
gchar * (*cell_get_align) (EContentEditor *editor);
void (*cell_set_wrap) (EContentEditor *editor,
gboolean value,
EContentEditorScope scope);
gboolean (*cell_get_wrap) (EContentEditor *editor);
void (*cell_set_header_style) (EContentEditor *editor,
gboolean value,
EContentEditorScope scope);
gboolean (*cell_is_header) (EContentEditor *editor);
void (*cell_set_width) (EContentEditor *editor,
gint value,
EContentEditorUnit unit,
EContentEditorScope scope);
gint (*cell_get_width) (EContentEditor *editor,
EContentEditorUnit *unit);
void (*cell_set_row_span) (EContentEditor *editor,
gint value,
EContentEditorScope scope);
gint (*cell_get_row_span) (EContentEditor *editor);
void (*cell_set_col_span) (EContentEditor *editor,
gint value,
EContentEditorScope scope);
gint (*cell_get_col_span) (EContentEditor *editor);
gchar * (*cell_get_background_image_uri)
(EContentEditor *editor);
void (*cell_set_background_image_uri)
(EContentEditor *editor,
const gchar *uri);
void (*cell_get_background_color) (EContentEditor *editor,
GdkRGBA *value);
void (*cell_set_background_color) (EContentEditor *editor,
const GdkRGBA *value,
EContentEditorScope scope);
void (*table_set_row_count) (EContentEditor *editor,
guint value);
guint (*table_get_row_count) (EContentEditor *editor);
void (*table_set_column_count) (EContentEditor *editor,
guint value);
guint (*table_get_column_count) (EContentEditor *editor);
void (*table_set_width) (EContentEditor *editor,
gint value,
EContentEditorUnit unit);
guint (*table_get_width) (EContentEditor *editor,
EContentEditorUnit *unit);
void (*table_set_align) (EContentEditor *editor,
const gchar *value);
gchar * (*table_get_align) (EContentEditor *editor);
void (*table_set_padding) (EContentEditor *editor,
gint value);
gint (*table_get_padding) (EContentEditor *editor);
void (*table_set_spacing) (EContentEditor *editor,
gint value);
gint (*table_get_spacing) (EContentEditor *editor);
void (*table_set_border) (EContentEditor *editor,
gint value);
gint (*table_get_border) (EContentEditor *editor);
gchar * (*table_get_background_image_uri)
(EContentEditor *editor);
void (*table_set_background_image_uri)
(EContentEditor *editor,
const gchar *uri);
void (*table_get_background_color) (EContentEditor *editor,
GdkRGBA *value);
void (*table_set_background_color) (EContentEditor *editor,
const GdkRGBA *value);
gboolean (*on_table_dialog_open) (EContentEditor *editor);
void (*on_table_dialog_close) (EContentEditor *editor);
void (*on_spell_check_dialog_open) (EContentEditor *editor);
void (*on_spell_check_dialog_close) (EContentEditor *editor);
gchar * (*spell_check_next_word) (EContentEditor *editor,
const gchar *word);
gchar * (*spell_check_prev_word) (EContentEditor *editor,
const gchar *word);
void (*on_replace_dialog_open) (EContentEditor *editor);
void (*on_replace_dialog_close) (EContentEditor *editor);
void (*on_find_dialog_open) (EContentEditor *editor);
void (*on_find_dialog_close) (EContentEditor *editor);
/* Signals */
void (*load_finished) (EContentEditor *editor);
gboolean (*paste_clipboard) (EContentEditor *editor);
gboolean (*paste_primary_clipboard) (EContentEditor *editor);
gboolean (*context_menu_requested) (EContentEditor *editor,
EContentEditorNodeFlags flags,
GdkEvent *event);
void (*find_done) (EContentEditor *editor,
guint match_count);
void (*replace_all_done) (EContentEditor *editor,
guint replaced_count);
void (*drop_handled) (EContentEditor *editor);
void (*content_changed) (EContentEditor *editor);
};
EContentEditorInterface is deprecated and should not be used in newly-written code.