2 <NAME>GTK_HTML_EMBEDDED</NAME>
3 #define GTK_HTML_EMBEDDED(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gtk_html_embedded_get_type (), GtkHTMLEmbedded)
6 <NAME>GTK_HTML_EMBEDDED_CLASS</NAME>
7 #define GTK_HTML_EMBEDDED_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gtk_html_embedded_get_type (), GtkHTMLEmbeddedClass)
10 <NAME>GTK_IS_HTML_EMBEDDED</NAME>
11 #define GTK_IS_HTML_EMBEDDED(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gtk_html_embedded_get_type ())
14 <NAME>GtkHTMLEmbedded</NAME>
15 struct GtkHTMLEmbedded {
18 /* class id of this object */
24 /* parameters to class */
28 GtkHTMLEmbeddedPrivate *priv;
34 <NAME>gtk_html_embedded_get_type</NAME>
35 <RETURNS>guint </RETURNS>
39 <NAME>gtk_html_embedded_new</NAME>
40 <RETURNS>GtkWidget *</RETURNS>
41 char *classid, char *name, char *type, char *data, int width, int height
44 <NAME>gtk_html_embedded_set_parameter</NAME>
45 <RETURNS>void </RETURNS>
46 GtkHTMLEmbedded *ge, char *param, char *value
49 <NAME>gtk_html_embedded_get_parameter</NAME>
50 <RETURNS>char *</RETURNS>
51 GtkHTMLEmbedded *ge, char *param
54 <NAME>gtk_html_embedded_set_descent</NAME>
55 <RETURNS>void </RETURNS>
56 GtkHTMLEmbedded *ge, int descent
59 <NAME>GtkHTMLCommandType</NAME>
61 GTK_HTML_COMMAND_UNDO,
62 GTK_HTML_COMMAND_REDO,
63 GTK_HTML_COMMAND_COPY,
65 GTK_HTML_COMMAND_PASTE,
67 GTK_HTML_COMMAND_CUT_LINE,
69 GTK_HTML_COMMAND_INSERT_PARAGRAPH,
70 GTK_HTML_COMMAND_INSERT_RULE,
71 GTK_HTML_COMMAND_INSERT_RULE_PARAM,
72 GTK_HTML_COMMAND_INSERT_IMAGE_PARAM,
74 GTK_HTML_COMMAND_MAKE_LINK,
75 GTK_HTML_COMMAND_REMOVE_LINK,
77 GTK_HTML_COMMAND_DELETE,
78 GTK_HTML_COMMAND_DELETE_BACK,
79 GTK_HTML_COMMAND_DELETE_BACK_OR_INDENT_DEC,
81 GTK_HTML_COMMAND_SET_MARK,
82 GTK_HTML_COMMAND_DISABLE_SELECTION,
84 GTK_HTML_COMMAND_BOLD_ON,
85 GTK_HTML_COMMAND_BOLD_OFF,
86 GTK_HTML_COMMAND_BOLD_TOGGLE,
88 GTK_HTML_COMMAND_ITALIC_ON,
89 GTK_HTML_COMMAND_ITALIC_OFF,
90 GTK_HTML_COMMAND_ITALIC_TOGGLE,
92 GTK_HTML_COMMAND_UNDERLINE_ON,
93 GTK_HTML_COMMAND_UNDERLINE_OFF,
94 GTK_HTML_COMMAND_UNDERLINE_TOGGLE,
96 GTK_HTML_COMMAND_STRIKEOUT_ON,
97 GTK_HTML_COMMAND_STRIKEOUT_OFF,
98 GTK_HTML_COMMAND_STRIKEOUT_TOGGLE,
100 GTK_HTML_COMMAND_SIZE_MINUS_2,
101 GTK_HTML_COMMAND_SIZE_MINUS_1,
102 GTK_HTML_COMMAND_SIZE_PLUS_0,
103 GTK_HTML_COMMAND_SIZE_PLUS_1,
104 GTK_HTML_COMMAND_SIZE_PLUS_2,
105 GTK_HTML_COMMAND_SIZE_PLUS_3,
106 GTK_HTML_COMMAND_SIZE_PLUS_4,
108 GTK_HTML_COMMAND_SIZE_INCREASE,
109 GTK_HTML_COMMAND_SIZE_DECREASE,
111 GTK_HTML_COMMAND_ALIGN_LEFT,
112 GTK_HTML_COMMAND_ALIGN_CENTER,
113 GTK_HTML_COMMAND_ALIGN_RIGHT,
115 GTK_HTML_COMMAND_INDENT_ZERO,
116 GTK_HTML_COMMAND_INDENT_INC,
117 GTK_HTML_COMMAND_INDENT_DEC,
118 GTK_HTML_COMMAND_INDENT_PARAGRAPH,
120 GTK_HTML_COMMAND_PARAGRAPH_STYLE_NORMAL,
121 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H1,
122 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H2,
123 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H3,
124 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H4,
125 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H5,
126 GTK_HTML_COMMAND_PARAGRAPH_STYLE_H6,
127 GTK_HTML_COMMAND_PARAGRAPH_STYLE_ADDRESS,
128 GTK_HTML_COMMAND_PARAGRAPH_STYLE_PRE,
129 GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDOTTED,
130 GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMROMAN,
131 GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDIGIT,
133 GTK_HTML_COMMAND_MODIFY_SELECTION_UP,
134 GTK_HTML_COMMAND_MODIFY_SELECTION_DOWN,
135 GTK_HTML_COMMAND_MODIFY_SELECTION_LEFT,
136 GTK_HTML_COMMAND_MODIFY_SELECTION_RIGHT,
137 GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEUP,
138 GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEDOWN,
139 GTK_HTML_COMMAND_MODIFY_SELECTION_BOL,
140 GTK_HTML_COMMAND_MODIFY_SELECTION_EOL,
141 GTK_HTML_COMMAND_MODIFY_SELECTION_BOD,
142 GTK_HTML_COMMAND_MODIFY_SELECTION_EOD,
144 GTK_HTML_COMMAND_CAPITALIZE_WORD,
145 GTK_HTML_COMMAND_UPCASE_WORD,
146 GTK_HTML_COMMAND_DOWNCASE_WORD,
148 GTK_HTML_COMMAND_SPELL_SUGGEST,
149 GTK_HTML_COMMAND_SPELL_PERSONAL_DICTIONARY_ADD,
150 GTK_HTML_COMMAND_SPELL_SESSION_DICTIONARY_ADD,
152 GTK_HTML_COMMAND_SEARCH,
153 GTK_HTML_COMMAND_SEARCH_INCREMENTAL_FORWARD,
154 GTK_HTML_COMMAND_SEARCH_INCREMENTAL_BACKWARD,
155 GTK_HTML_COMMAND_SEARCH_REGEX,
157 GTK_HTML_COMMAND_FOCUS_FORWARD,
158 GTK_HTML_COMMAND_FOCUS_BACKWARD,
160 GTK_HTML_COMMAND_POPUP_MENU,
161 GTK_HTML_COMMAND_PROPERTIES_DIALOG,
163 GTK_HTML_COMMAND_CURSOR_FORWARD,
164 GTK_HTML_COMMAND_CURSOR_BACKWARD
165 } GtkHTMLCommandType;
168 <NAME>GtkHTMLCursorSkipType</NAME>
170 GTK_HTML_CURSOR_SKIP_ONE,
171 GTK_HTML_CURSOR_SKIP_WORD,
172 GTK_HTML_CURSOR_SKIP_PAGE,
173 GTK_HTML_CURSOR_SKIP_ALL
174 } GtkHTMLCursorSkipType;
177 <NAME>GtkHTMLEditorEventType</NAME>
179 GTK_HTML_EDITOR_EVENT_COMMAND,
180 GTK_HTML_EDITOR_EVENT_IMAGE_URL
181 } GtkHTMLEditorEventType;
184 <NAME>GtkHTMLEtchStyle</NAME>
192 <NAME>GtkHTMLFontStyle</NAME>
194 GTK_HTML_FONT_STYLE_DEFAULT = 0,
195 GTK_HTML_FONT_STYLE_SIZE_1 = 1,
196 GTK_HTML_FONT_STYLE_SIZE_2 = 2,
197 GTK_HTML_FONT_STYLE_SIZE_3 = 3,
198 GTK_HTML_FONT_STYLE_SIZE_4 = 4,
199 GTK_HTML_FONT_STYLE_SIZE_5 = 5,
200 GTK_HTML_FONT_STYLE_SIZE_6 = 6,
201 GTK_HTML_FONT_STYLE_SIZE_7 = 7,
202 GTK_HTML_FONT_STYLE_SIZE_MASK = 0x7,
203 GTK_HTML_FONT_STYLE_BOLD = 1 << 3,
204 GTK_HTML_FONT_STYLE_ITALIC = 1 << 4,
205 GTK_HTML_FONT_STYLE_UNDERLINE = 1 << 5,
206 GTK_HTML_FONT_STYLE_STRIKEOUT = 1 << 6,
207 GTK_HTML_FONT_STYLE_FIXED = 1 << 7,
208 GTK_HTML_FONT_STYLE_SUBSCRIPT = 1 << 8,
209 GTK_HTML_FONT_STYLE_SUPERSCRIPT = 1 << 9
213 <NAME>GtkHTMLParagraphAlignment</NAME>
215 GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT,
216 GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT,
217 GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER
218 } GtkHTMLParagraphAlignment;
221 <NAME>GtkHTMLParagraphStyle</NAME>
223 GTK_HTML_PARAGRAPH_STYLE_NORMAL,
224 GTK_HTML_PARAGRAPH_STYLE_H1,
225 GTK_HTML_PARAGRAPH_STYLE_H2,
226 GTK_HTML_PARAGRAPH_STYLE_H3,
227 GTK_HTML_PARAGRAPH_STYLE_H4,
228 GTK_HTML_PARAGRAPH_STYLE_H5,
229 GTK_HTML_PARAGRAPH_STYLE_H6,
230 GTK_HTML_PARAGRAPH_STYLE_ADDRESS,
231 GTK_HTML_PARAGRAPH_STYLE_PRE,
232 GTK_HTML_PARAGRAPH_STYLE_ITEMDOTTED,
233 GTK_HTML_PARAGRAPH_STYLE_ITEMROMAN,
234 GTK_HTML_PARAGRAPH_STYLE_ITEMDIGIT
235 } GtkHTMLParagraphStyle;
238 <NAME>GtkHTMLStreamStatus</NAME>
241 GTK_HTML_STREAM_ERROR
242 } GtkHTMLStreamStatus;
245 <NAME>gtk_html_im_focus_in</NAME>
246 <RETURNS>void </RETURNS>
250 <NAME>gtk_html_im_focus_out</NAME>
251 <RETURNS>void </RETURNS>
255 <NAME>gtk_html_im_realize</NAME>
256 <RETURNS>void </RETURNS>
260 <NAME>gtk_html_im_unrealize</NAME>
261 <RETURNS>void </RETURNS>
265 <NAME>gtk_html_im_size_allocate</NAME>
266 <RETURNS>void </RETURNS>
270 <NAME>gtk_html_im_style_set</NAME>
271 <RETURNS>void </RETURNS>
275 <NAME>gtk_html_handle_key_event</NAME>
276 <RETURNS>gint </RETURNS>
277 GtkHTML *html,GdkEventKey *event,gboolean *update_styles
280 <NAME>GtkHTMLPrivate</NAME>
281 struct GtkHTMLPrivate {
282 guint idle_handler_id;
283 guint scroll_timeout_id;
285 GtkHTMLParagraphStyle paragraph_style;
286 guint paragraph_indentation;
287 GtkHTMLParagraphAlignment paragraph_alignment;
288 GtkHTMLFontStyle insertion_font_style;
290 gint last_selection_type;
293 #ifdef GTKHTML_HAVE_GCONF
296 #ifdef GTK_HTML_USE_XIM
303 <NAME>gtk_html_private_calc_scrollbars</NAME>
304 <RETURNS>void </RETURNS>
308 <NAME>gtk_html_editor_event_command</NAME>
309 <RETURNS>void </RETURNS>
310 GtkHTML *html,GtkHTMLCommandType com_type
313 <NAME>gtk_html_isearch</NAME>
314 <RETURNS>void </RETURNS>
315 GtkHTML *html, gboolean forward
318 <NAME>GtkHTMLStream</NAME>
319 struct GtkHTMLStream {
320 GtkHTMLStreamWriteFunc write_func;
321 GtkHTMLStreamCloseFunc close_func;
326 <NAME>gtk_html_stream_new</NAME>
327 <RETURNS>GtkHTMLStream *</RETURNS>
328 GtkHTML *html,GtkHTMLStreamWriteFunc write_func,GtkHTMLStreamCloseFunc close_func,gpointer user_data
331 <NAME>gtk_html_stream_write</NAME>
332 <RETURNS>void </RETURNS>
333 GtkHTMLStream *stream,const gchar *buffer,size_t size
336 <NAME>gtk_html_stream_destroy</NAME>
337 <RETURNS>void </RETURNS>
338 GtkHTMLStream *stream
341 <NAME>gtk_html_stream_close</NAME>
342 <RETURNS>void </RETURNS>
343 GtkHTMLStream *stream,GtkHTMLStreamStatus status
346 <NAME>gtk_html_stream_ref</NAME>
347 <RETURNS>GtkHTMLStream *</RETURNS>
348 GtkHTMLStream *handle
351 <NAME>gtk_html_stream_unref</NAME>
352 <RETURNS>void </RETURNS>
353 GtkHTMLStream *handle
359 <NAME>GtkHTMLClass</NAME>
362 <NAME>GtkHTMLClassProperties</NAME>
365 <NAME>GtkHTMLEditorAPI</NAME>
368 <NAME>GtkHTMLEmbedded</NAME>
371 <NAME>GtkHTMLEmbeddedClass</NAME>
374 <NAME>GtkHTMLEmbeddedPrivate</NAME>
377 <NAME>GtkHTMLPrivate</NAME>
380 <NAME>GtkHTMLStream</NAME>
383 <NAME>GtkHTMLStreamCloseFunc</NAME>
384 <RETURNS>void </RETURNS>
385 GtkHTMLStream *stream,
386 GtkHTMLStreamStatus status,
390 <NAME>GtkHTMLStreamWriteFunc</NAME>
391 <RETURNS>void </RETURNS>
392 GtkHTMLStream *stream,
398 <NAME>GtkHTMLSaveReceiverFn</NAME>
399 <RETURNS>gboolean </RETURNS>
406 <NAME>GtkHTMLPrintCallback</NAME>
407 <RETURNS>void </RETURNS>
408 GtkHTML *html, GnomePrintContext *print_context,
409 gdouble x, gdouble y, gdouble width, gdouble height, gpointer user_data
412 <NAME>GTK_TYPE_HTML</NAME>
413 #define GTK_TYPE_HTML (gtk_html_get_type ())
416 <NAME>GTK_HTML</NAME>
417 #define GTK_HTML(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HTML, GtkHTML))
420 <NAME>GTK_HTML_CLASS</NAME>
421 #define GTK_HTML_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HTML, GtkHTMLClass))
424 <NAME>GTK_IS_HTML</NAME>
425 #define GTK_IS_HTML(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HTML))
428 <NAME>GTK_IS_HTML_CLASS</NAME>
429 #define GTK_IS_HTML_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HTML))
436 GtkBindingSet *editor_bindings;
437 GtkWidget *iframe_parent;
438 GtkHTMLEditorAPI *editor_api;
439 gpointer editor_data;
442 /* The URL of the link over which the pointer currently is. NULL if
443 the pointer is not over a link. */
446 /* The cursors we use within the widget. */
447 GdkCursor *hand_cursor;
448 GdkCursor *arrow_cursor;
449 GdkCursor *ibeam_cursor;
451 gint selection_x1, selection_y1;
453 guint in_selection : 1;
454 guint button1_pressed : 1;
455 guint load_in_progress : 1;
458 guint allow_selection : 1;
460 guint hadj_connection;
461 guint vadj_connection;
463 gboolean binding_handled;
464 GtkHTMLPrivate *priv;
468 <NAME>GtkHTMLEditorAPI</NAME>
469 struct GtkHTMLEditorAPI
471 /* spell checking methods */
472 gboolean (* check_word) (GtkHTML *html, const gchar *word, gpointer data);
473 void (* suggestion_request) (GtkHTML *html, const gchar *word, gpointer data);
474 void (* add_to_session) (GtkHTML *html, const gchar *word, gpointer data);
475 void (* add_to_personal) (GtkHTML *html, const gchar *word, gpointer data);
477 /* unhandled commands */
478 gboolean (* command) (GtkHTML *html, GtkHTMLCommandType com_type, gpointer data);
480 GtkArg * (* event) (GtkHTML *html, GtkHTMLEditorEventType event_type, GtkArg **args, gpointer data);
483 GtkEntry * (* create_input_line) (GtkHTML *html, gpointer data);
487 <NAME>gtk_html_get_type</NAME>
488 <RETURNS>GtkType </RETURNS>
492 <NAME>gtk_html_construct</NAME>
493 <RETURNS>void </RETURNS>
497 <NAME>gtk_html_new</NAME>
498 <RETURNS>GtkWidget *</RETURNS>
502 <NAME>gtk_html_new_from_string</NAME>
503 <RETURNS>GtkWidget *</RETURNS>
504 const gchar *str,gint len
507 <NAME>gtk_html_set_editor_api</NAME>
508 <RETURNS>void </RETURNS>
509 GtkHTML *html,GtkHTMLEditorAPI *api,gpointer data
512 <NAME>gtk_html_set_iframe_parent</NAME>
513 <RETURNS>void </RETURNS>
514 GtkHTML *html,GtkWidget *parent
517 <NAME>gtk_html_enable_debug</NAME>
518 <RETURNS>void </RETURNS>
519 GtkHTML *html,gboolean debug
522 <NAME>gtk_html_allow_selection</NAME>
523 <RETURNS>void </RETURNS>
524 GtkHTML *html,gboolean allow
527 <NAME>gtk_html_select_word</NAME>
528 <RETURNS>void </RETURNS>
532 <NAME>gtk_html_select_line</NAME>
533 <RETURNS>void </RETURNS>
537 <NAME>gtk_html_request_paste</NAME>
538 <RETURNS>int </RETURNS>
539 GtkHTML *html,gint type,gint32 time
542 <NAME>gtk_html_begin</NAME>
543 <RETURNS>GtkHTMLStream *</RETURNS>
547 <NAME>gtk_html_begin_content</NAME>
548 <RETURNS>GtkHTMLStream *</RETURNS>
549 GtkHTML *html,gchar *content_type
552 <NAME>gtk_html_write</NAME>
553 <RETURNS>void </RETURNS>
554 GtkHTML *html,GtkHTMLStream *handle,const gchar *buffer,size_t size
557 <NAME>gtk_html_end</NAME>
558 <RETURNS>void </RETURNS>
559 GtkHTML *html,GtkHTMLStream *handle,GtkHTMLStreamStatus status
562 <NAME>gtk_html_load_empty</NAME>
563 <RETURNS>void </RETURNS>
567 <NAME>gtk_html_load_from_string</NAME>
568 <RETURNS>void </RETURNS>
569 GtkHTML *html,const gchar *str,gint len
572 <NAME>gtk_html_save</NAME>
573 <RETURNS>gboolean </RETURNS>
574 GtkHTML *html,GtkHTMLSaveReceiverFn receiver,gpointer data
577 <NAME>gtk_html_export</NAME>
578 <RETURNS>gboolean </RETURNS>
579 GtkHTML *html,const char *type,GtkHTMLSaveReceiverFn receiver,gpointer data
582 <NAME>gtk_html_set_editable</NAME>
583 <RETURNS>void </RETURNS>
584 GtkHTML *html,gboolean editable
587 <NAME>gtk_html_get_editable</NAME>
588 <RETURNS>gboolean </RETURNS>
592 <NAME>gtk_html_print_with_header_footer</NAME>
593 <RETURNS>void </RETURNS>
594 GtkHTML *html,GnomePrintContext *print_context,gdouble header_height,gdouble footer_height,GtkHTMLPrintCallback header_print,GtkHTMLPrintCallback footer_print,gpointer user_data
597 <NAME>gtk_html_print</NAME>
598 <RETURNS>void </RETURNS>
599 GtkHTML *html,GnomePrintContext *print_context
602 <NAME>gtk_html_get_title</NAME>
603 <RETURNS>const gchar *</RETURNS>
607 <NAME>gtk_html_jump_to_anchor</NAME>
608 <RETURNS>gboolean </RETURNS>
609 GtkHTML *html,const gchar *anchor
612 <NAME>gtk_html_get_paragraph_style</NAME>
613 <RETURNS>GtkHTMLParagraphStyle </RETURNS>
617 <NAME>gtk_html_set_paragraph_style</NAME>
618 <RETURNS>void </RETURNS>
619 GtkHTML *html,GtkHTMLParagraphStyle style
622 <NAME>gtk_html_set_indent</NAME>
623 <RETURNS>void </RETURNS>
624 GtkHTML *html,gint level
627 <NAME>gtk_html_modify_indent_by_delta</NAME>
628 <RETURNS>void </RETURNS>
629 GtkHTML *html,gint delta
632 <NAME>gtk_html_set_font_style</NAME>
633 <RETURNS>void </RETURNS>
634 GtkHTML *html,GtkHTMLFontStyle and_mask,GtkHTMLFontStyle or_mask
637 <NAME>gtk_html_set_color</NAME>
638 <RETURNS>void </RETURNS>
639 GtkHTML *html,HTMLColor *color
642 <NAME>gtk_html_toggle_font_style</NAME>
643 <RETURNS>void </RETURNS>
644 GtkHTML *html,GtkHTMLFontStyle style
647 <NAME>gtk_html_get_paragraph_alignment</NAME>
648 <RETURNS>GtkHTMLParagraphAlignment </RETURNS>
652 <NAME>gtk_html_set_paragraph_alignment</NAME>
653 <RETURNS>void </RETURNS>
654 GtkHTML *html,GtkHTMLParagraphAlignment alignment
657 <NAME>gtk_html_cut</NAME>
658 <RETURNS>void </RETURNS>
662 <NAME>gtk_html_copy</NAME>
663 <RETURNS>void </RETURNS>
667 <NAME>gtk_html_paste</NAME>
668 <RETURNS>void </RETURNS>
672 <NAME>gtk_html_undo</NAME>
673 <RETURNS>void </RETURNS>
677 <NAME>gtk_html_redo</NAME>
678 <RETURNS>void </RETURNS>
682 <NAME>gtk_html_set_default_background_color</NAME>
683 <RETURNS>void </RETURNS>
684 GtkHTML *html,GdkColor *c
687 <NAME>gtk_html_set_default_content_type</NAME>
688 <RETURNS>void </RETURNS>
689 GtkHTML *html,gchar *content_type
692 <NAME>gtk_html_get_object_by_id</NAME>
693 <RETURNS>gpointer </RETURNS>
694 GtkHTML *html,const gchar *id
697 <NAME>gtk_html_editor_command</NAME>
698 <RETURNS>void </RETURNS>
699 GtkHTML *html,const gchar *command_name
702 <NAME>gtk_html_edit_make_cursor_visible</NAME>
703 <RETURNS>gboolean </RETURNS>
707 <NAME>gtk_html_debug_log</NAME>
708 <RETURNS>void </RETURNS>
709 GtkHTML *html,const gchar *format,...
712 <NAME>gtk_html_debug_dump_tree</NAME>
713 <RETURNS>void </RETURNS>
714 HTMLObject *o,gint level
717 <NAME>gtk_html_debug_dump_object_type</NAME>
718 <RETURNS>void </RETURNS>
722 <NAME>gtk_html_debug_dump_table</NAME>
723 <RETURNS>void </RETURNS>
724 HTMLObject *o,gint level
727 <NAME>gtk_html_debug_dump_tree_simple</NAME>
728 <RETURNS>void </RETURNS>
729 HTMLObject *o,gint level
732 <NAME>gtk_html_debug_dump_list_simple</NAME>
733 <RETURNS>void </RETURNS>
734 GList *list,gint level
737 <NAME>gtk_html_debug_dump_object</NAME>
738 <RETURNS>void </RETURNS>
739 HTMLObject *o,gint level
742 <NAME>GTK_HTML_FONT_STYLE_SIZE_MAX</NAME>
743 #define GTK_HTML_FONT_STYLE_SIZE_MAX 7
746 <NAME>GTK_HTML_FONT_STYLE_MAX</NAME>
747 #define GTK_HTML_FONT_STYLE_MAX \
748 (GTK_HTML_FONT_STYLE_SIZE_MASK | GTK_HTML_FONT_STYLE_BOLD | GTK_HTML_FONT_STYLE_ITALIC \
749 | GTK_HTML_FONT_STYLE_UNDERLINE | GTK_HTML_FONT_STYLE_STRIKEOUT | GTK_HTML_FONT_STYLE_FIXED \
750 | GTK_HTML_FONT_STYLE_SUBSCRIPT | GTK_HTML_FONT_STYLE_SUPERSCRIPT)
753 <NAME>GTK_HTML_FONT_STYLE_MAX_FONT</NAME>
754 #define GTK_HTML_FONT_STYLE_MAX_FONT ((GTK_HTML_FONT_STYLE_ITALIC) << 1)
757 <NAME>GTK_HTML_FONT_STYLE_MAX_FONT_MASK</NAME>
758 #define GTK_HTML_FONT_STYLE_MAX_FONT_MASK (GTK_HTML_FONT_STYLE_MAX_FONT - 1)
761 <NAME>gtk_html_font_style_merge</NAME>
762 <RETURNS>GtkHTMLFontStyle </RETURNS>
763 GtkHTMLFontStyle a, GtkHTMLFontStyle b
766 <NAME>HTML_ANCHOR</NAME>
767 #define HTML_ANCHOR(x) ((HTMLAnchor *) x)
770 <NAME>HTML_ANCHOR_CLASS</NAME>
771 #define HTML_ANCHOR_CLASS(x) ((HTMLAnchorClass *) x)
774 <NAME>HTMLAnchor</NAME>
782 <NAME>html_anchor_type_init</NAME>
783 <RETURNS>void </RETURNS>
787 <NAME>html_anchor_class_init</NAME>
788 <RETURNS>void </RETURNS>
789 HTMLAnchorClass *klass,HTMLType type,guint object_size
792 <NAME>html_anchor_new</NAME>
793 <RETURNS>HTMLObject *</RETURNS>
797 <NAME>html_anchor_init</NAME>
798 <RETURNS>void </RETURNS>
799 HTMLAnchor *anchor,HTMLAnchorClass *klass,const gchar *name
802 <NAME>html_anchor_get_name</NAME>
803 <RETURNS>const gchar *</RETURNS>
807 <NAME>HTML_BUTTON</NAME>
808 #define HTML_BUTTON(x) ((HTMLButton *) (x))
811 <NAME>HTML_BUTTON_CLASS</NAME>
812 #define HTML_BUTTON_CLASS(x) ((HTMLButtonClass *) (x))
815 <NAME>HTMLButton</NAME>
817 HTMLEmbedded element;
822 <NAME>html_button_class</NAME>
823 extern HTMLButtonClass html_button_class;
826 <NAME>html_button_type_init</NAME>
827 <RETURNS>void </RETURNS>
831 <NAME>html_button_class_init</NAME>
832 <RETURNS>void </RETURNS>
833 HTMLButtonClass *klass,HTMLType type,guint object_size
836 <NAME>html_button_init</NAME>
837 <RETURNS>void </RETURNS>
838 HTMLButton *button,HTMLButtonClass *klass,GtkWidget *parent,gchar *name,gchar *value,HTMLButtonType type
841 <NAME>html_button_new</NAME>
842 <RETURNS>HTMLObject *</RETURNS>
843 GtkWidget *parent,gchar *name,gchar *value,HTMLButtonType type
846 <NAME>HTML_CHECKBOX</NAME>
847 #define HTML_CHECKBOX(x) ((HTMLCheckBox *) (x))
850 <NAME>HTML_CHECKBOX_CLASS</NAME>
851 #define HTML_CHECKBOX_CLASS(x) ((HTMLCheckBoxClass *) (x))
854 <NAME>HTMLCheckBox</NAME>
855 struct HTMLCheckBox {
856 HTMLEmbedded element;
857 gint default_checked;
861 <NAME>html_checkbox_class</NAME>
862 extern HTMLCheckBoxClass html_checkbox_class;
865 <NAME>html_checkbox_type_init</NAME>
866 <RETURNS>void </RETURNS>
870 <NAME>html_checkbox_class_init</NAME>
871 <RETURNS>void </RETURNS>
872 HTMLCheckBoxClass *klass,HTMLType type,guint object_size
875 <NAME>html_checkbox_init</NAME>
876 <RETURNS>void </RETURNS>
877 HTMLCheckBox *checkbox,HTMLCheckBoxClass *klass,GtkWidget *parent,gchar *name,gchar *value,gboolean checked
880 <NAME>html_checkbox_new</NAME>
881 <RETURNS>HTMLObject *</RETURNS>
882 GtkWidget *parent,gchar *name,gchar *value,gboolean checked
885 <NAME>HTML_CLUE</NAME>
886 #define HTML_CLUE(x) ((HTMLClue *)(x))
889 <NAME>HTML_CLUE_CLASS</NAME>
890 #define HTML_CLUE_CLASS(x) ((HTMLClueClass *)(x))
893 <NAME>HTMLClue</NAME>
901 HTMLVAlignType valign;
902 HTMLHAlignType halign;
906 <NAME>html_clue_class</NAME>
907 extern HTMLClueClass html_clue_class;
910 <NAME>html_clue_type_init</NAME>
911 <RETURNS>void </RETURNS>
915 <NAME>html_clue_class_init</NAME>
916 <RETURNS>void </RETURNS>
917 HTMLClueClass *klass,HTMLType type,guint object_size
920 <NAME>html_clue_init</NAME>
921 <RETURNS>void </RETURNS>
922 HTMLClue *clue,HTMLClueClass *klass
925 <NAME>html_clue_get_left_clear</NAME>
926 <RETURNS>gint </RETURNS>
927 HTMLClue *clue,gint y
930 <NAME>html_clue_get_right_clear</NAME>
931 <RETURNS>gint </RETURNS>
932 HTMLClue *clue,gint y
935 <NAME>html_clue_find_free_area</NAME>
936 <RETURNS>void </RETURNS>
937 HTMLClue *clue,gint y,gint width,gint height,gint indent,gint *y_pos,gint *lmargin,gint *rmargin
940 <NAME>html_clue_append_right_aligned</NAME>
941 <RETURNS>void </RETURNS>
942 HTMLClue *clue,HTMLClue *aclue
945 <NAME>html_clue_append_left_aligned</NAME>
946 <RETURNS>void </RETURNS>
947 HTMLClue *clue,HTMLClue *aclue
950 <NAME>html_clue_appended</NAME>
951 <RETURNS>gboolean </RETURNS>
952 HTMLClue *clue,HTMLClue *aclue
955 <NAME>html_clue_append_after</NAME>
956 <RETURNS>void </RETURNS>
957 HTMLClue *clue,HTMLObject *o,HTMLObject *where
960 <NAME>html_clue_append</NAME>
961 <RETURNS>void </RETURNS>
962 HTMLClue *clue,HTMLObject *o
965 <NAME>html_clue_prepend</NAME>
966 <RETURNS>void </RETURNS>
967 HTMLClue *clue,HTMLObject *o
970 <NAME>html_clue_remove</NAME>
971 <RETURNS>void </RETURNS>
972 HTMLClue *clue,HTMLObject *o
975 <NAME>HTML_CLUEALIGNED</NAME>
976 #define HTML_CLUEALIGNED(x) ((HTMLClueAligned *)(x))
979 <NAME>HTML_CLUEALIGNED_CLASS</NAME>
980 #define HTML_CLUEALIGNED_CLASS(x) ((HTMLClueAlignedClass *)(x))
983 <NAME>HTMLClueAligned</NAME>
984 struct HTMLClueAligned {
987 HTMLClueAligned *next_aligned;
991 <NAME>html_cluealigned_class</NAME>
992 extern HTMLClueAlignedClass html_cluealigned_class;
995 <NAME>html_cluealigned_type_init</NAME>
996 <RETURNS>void </RETURNS>
1000 <NAME>html_cluealigned_class_init</NAME>
1001 <RETURNS>void </RETURNS>
1002 HTMLClueAlignedClass *klass,HTMLType type,guint object_size
1005 <NAME>html_cluealigned_init</NAME>
1006 <RETURNS>void </RETURNS>
1007 HTMLClueAligned *aligned,HTMLClueAlignedClass *klass,HTMLObject *parent,gint x,gint y,gint max_width,gint percent
1010 <NAME>html_cluealigned_new</NAME>
1011 <RETURNS>HTMLObject *</RETURNS>
1012 HTMLObject *parent,gint x,gint y,gint max_width,gint percent
1015 <NAME>HTML_CLUEFLOW</NAME>
1016 #define HTML_CLUEFLOW(x) ((HTMLClueFlow *)(x))
1019 <NAME>HTML_CLUEFLOW_CLASS</NAME>
1020 #define HTML_CLUEFLOW_CLASS(x) ((HTMLClueFlowClass *)(x))
1023 <NAME>HTMLClueFlow</NAME>
1024 struct HTMLClueFlow {
1027 /* Paragraph style. */
1028 HTMLClueFlowStyle style;
1030 /* Indentation level for blockquote and lists. */
1035 <NAME>html_clueflow_class</NAME>
1036 extern HTMLClueFlowClass html_clueflow_class;
1039 <NAME>html_clueflow_type_init</NAME>
1040 <RETURNS>void </RETURNS>
1044 <NAME>html_clueflow_class_init</NAME>
1045 <RETURNS>void </RETURNS>
1046 HTMLClueFlowClass *klass,HTMLType type,guint object_size
1049 <NAME>html_clueflow_init</NAME>
1050 <RETURNS>void </RETURNS>
1051 HTMLClueFlow *flow,HTMLClueFlowClass *klass,HTMLClueFlowStyle style,guint8 indentation
1054 <NAME>html_clueflow_new</NAME>
1055 <RETURNS>HTMLObject *</RETURNS>
1056 HTMLClueFlowStyle style,guint8 indentation
1059 <NAME>html_clueflow_new_from_flow</NAME>
1060 <RETURNS>HTMLObject *</RETURNS>
1064 <NAME>html_clueflow_get_default_font_style</NAME>
1065 <RETURNS>GtkHTMLFontStyle </RETURNS>
1066 const HTMLClueFlow *self
1069 <NAME>html_clueflow_split</NAME>
1070 <RETURNS>HTMLClueFlow *</RETURNS>
1071 HTMLClueFlow *clue,HTMLObject *child
1074 <NAME>html_clueflow_set_style</NAME>
1075 <RETURNS>void </RETURNS>
1076 HTMLClueFlow *flow,HTMLEngine *engine,HTMLClueFlowStyle style
1079 <NAME>html_clueflow_get_style</NAME>
1080 <RETURNS>HTMLClueFlowStyle </RETURNS>
1084 <NAME>html_clueflow_set_halignment</NAME>
1085 <RETURNS>void </RETURNS>
1086 HTMLClueFlow *flow,HTMLEngine *engine,HTMLHAlignType alignment
1089 <NAME>html_clueflow_get_halignment</NAME>
1090 <RETURNS>HTMLHAlignType </RETURNS>
1094 <NAME>html_clueflow_modify_indentation_by_delta</NAME>
1095 <RETURNS>void </RETURNS>
1096 HTMLClueFlow *flow,HTMLEngine *engine,gint indentation
1099 <NAME>html_clueflow_set_indentation</NAME>
1100 <RETURNS>void </RETURNS>
1101 HTMLClueFlow *flow,HTMLEngine *engine,guint8 indentation
1104 <NAME>html_clueflow_get_indentation</NAME>
1105 <RETURNS>guint8 </RETURNS>
1109 <NAME>html_clueflow_set_properties</NAME>
1110 <RETURNS>void </RETURNS>
1111 HTMLClueFlow *flow,HTMLEngine *engine,HTMLClueFlowStyle style,guint8 indentation,HTMLHAlignType alignment
1114 <NAME>html_clueflow_get_properties</NAME>
1115 <RETURNS>void </RETURNS>
1116 HTMLClueFlow *flow,HTMLClueFlowStyle *style_return,guint8 *indentation_return,HTMLHAlignType *alignment_return
1119 <NAME>html_clueflow_remove_text_slaves</NAME>
1120 <RETURNS>void </RETURNS>
1124 <NAME>html_clueflow_spell_check</NAME>
1125 <RETURNS>void </RETURNS>
1126 HTMLClueFlow *flow,HTMLEngine *e,HTMLInterval *i
1129 <NAME>SPELL_CHECK</NAME>
1130 #define SPELL_CHECK(f, e) if (f && HTML_OBJECT_TYPE (f) == HTML_TYPE_CLUEFLOW) \
1131 html_clueflow_spell_check (HTML_CLUEFLOW (f), e, NULL)
1134 <NAME>HTML_CLUEH</NAME>
1135 #define HTML_CLUEH(x) ((HTMLClueH *)(x))
1138 <NAME>HTML_CLUEH_CLASS</NAME>
1139 #define HTML_CLUEH_CLASS(X) ((HTMLClueHClass *)(x))
1142 <NAME>HTMLClueH</NAME>
1150 <NAME>html_clue_h_class</NAME>
1151 extern HTMLClueHClass html_clue_h_class;
1154 <NAME>html_clueh_type_init</NAME>
1155 <RETURNS>void </RETURNS>
1159 <NAME>html_clueh_class_init</NAME>
1160 <RETURNS>void </RETURNS>
1161 HTMLClueHClass *klass,HTMLType type,guint object_size
1164 <NAME>html_clueh_init</NAME>
1165 <RETURNS>void </RETURNS>
1166 HTMLClueH *clue,HTMLClueHClass *klass,gint x,gint y,gint max_width
1169 <NAME>html_clueh_new</NAME>
1170 <RETURNS>HTMLObject *</RETURNS>
1171 gint x,gint y,gint max_width
1174 <NAME>HTML_CLUEV</NAME>
1175 #define HTML_CLUEV(x) ((HTMLClueV *)(x))
1178 <NAME>HTML_CLUEV_CLASS</NAME>
1179 #define HTML_CLUEV_CLASS(x) ((HTMLClueVClass *)(x))
1182 <NAME>HTMLClueV</NAME>
1186 /* FIXME: htmlcluealigned */
1187 HTMLObject *align_left_list;
1188 HTMLObject *align_right_list;
1193 <NAME>html_cluev_class</NAME>
1194 extern HTMLClueVClass html_cluev_class;
1197 <NAME>html_cluev_type_init</NAME>
1198 <RETURNS>void </RETURNS>
1202 <NAME>html_cluev_class_init</NAME>
1203 <RETURNS>void </RETURNS>
1204 HTMLClueVClass *klass,HTMLType type,guint object_size
1207 <NAME>html_cluev_init</NAME>
1208 <RETURNS>void </RETURNS>
1209 HTMLClueV *cluev,HTMLClueVClass *klass,gint x,gint y,gint percent
1212 <NAME>html_cluev_new</NAME>
1213 <RETURNS>HTMLObject *</RETURNS>
1214 gint x,gint y,gint percent
1217 <NAME>HTMLColor</NAME>
1225 <NAME>html_color_new</NAME>
1226 <RETURNS>HTMLColor *</RETURNS>
1230 <NAME>html_color_new_from_gdk_color</NAME>
1231 <RETURNS>HTMLColor *</RETURNS>
1232 const GdkColor *color
1235 <NAME>html_color_new_from_rgb</NAME>
1236 <RETURNS>HTMLColor *</RETURNS>
1237 gushort red, gushort green, gushort blue
1240 <NAME>html_color_ref</NAME>
1241 <RETURNS>void </RETURNS>
1245 <NAME>html_color_unref</NAME>
1246 <RETURNS>void </RETURNS>
1250 <NAME>html_color_alloc</NAME>
1251 <RETURNS>void </RETURNS>
1252 HTMLColor *color, HTMLPainter *painter
1255 <NAME>html_color_free</NAME>
1256 <RETURNS>void </RETURNS>
1257 HTMLColor *color, HTMLPainter *painter
1260 <NAME>html_color_equal</NAME>
1261 <RETURNS>gboolean </RETURNS>
1262 HTMLColor *color1, HTMLColor *color2
1265 <NAME>html_color_set</NAME>
1266 <RETURNS>void </RETURNS>
1267 HTMLColor *color, GdkColor *c
1270 <NAME>HTMLColorSet</NAME>
1273 HTMLColor *color [HTMLColors];
1274 gboolean changed [HTMLColors];
1276 /* slave sets - they must be updated when setting this one
1277 engine has master set and painters have slave ones
1283 <NAME>html_colorset_new</NAME>
1284 <RETURNS>HTMLColorSet *</RETURNS>
1288 <NAME>html_colorset_destroy</NAME>
1289 <RETURNS>void </RETURNS>
1293 <NAME>html_colorset_add_slave</NAME>
1294 <RETURNS>void </RETURNS>
1295 HTMLColorSet *set,HTMLColorSet *slave
1298 <NAME>html_colorset_set_color</NAME>
1299 <RETURNS>void </RETURNS>
1300 HTMLColorSet *set,GdkColor *color,HTMLColorId idx
1303 <NAME>html_colorset_get_color</NAME>
1304 <RETURNS>HTMLColor *</RETURNS>
1305 HTMLColorSet *set,HTMLColorId idx
1308 <NAME>html_colorset_get_color_allocated</NAME>
1309 <RETURNS>HTMLColor *</RETURNS>
1310 HTMLPainter *painter,HTMLColorId idx
1313 <NAME>html_colorset_set_by</NAME>
1314 <RETURNS>void </RETURNS>
1315 HTMLColorSet *s, HTMLColorSet *o
1318 <NAME>html_colorset_set_unchanged</NAME>
1319 <RETURNS>void </RETURNS>
1320 HTMLColorSet *s, HTMLColorSet *o
1323 <NAME>html_colorset_set_style</NAME>
1324 <RETURNS>void </RETURNS>
1325 HTMLColorSet *s, GtkStyle *style
1328 <NAME>HTMLCursor</NAME>
1334 guint have_target_x : 1;
1340 <NAME>html_cursor_new</NAME>
1341 <RETURNS>HTMLCursor *</RETURNS>
1345 <NAME>html_cursor_destroy</NAME>
1346 <RETURNS>void </RETURNS>
1350 <NAME>html_cursor_dup</NAME>
1351 <RETURNS>HTMLCursor *</RETURNS>
1352 const HTMLCursor *cursor
1355 <NAME>html_cursor_copy</NAME>
1356 <RETURNS>void </RETURNS>
1357 HTMLCursor *dest,const HTMLCursor *src
1360 <NAME>html_cursor_home</NAME>
1361 <RETURNS>void </RETURNS>
1362 HTMLCursor *cursor,HTMLEngine *engine
1365 <NAME>html_cursor_forward</NAME>
1366 <RETURNS>gboolean </RETURNS>
1367 HTMLCursor *cursor,HTMLEngine *engine
1370 <NAME>html_cursor_backward</NAME>
1371 <RETURNS>gboolean </RETURNS>
1372 HTMLCursor *cursor,HTMLEngine *engine
1375 <NAME>html_cursor_forward_n</NAME>
1376 <RETURNS>gboolean </RETURNS>
1377 HTMLCursor *cursor,HTMLEngine *e,guint n
1380 <NAME>html_cursor_backward_n</NAME>
1381 <RETURNS>gboolean </RETURNS>
1382 HTMLCursor *cursor,HTMLEngine *e,guint n
1385 <NAME>html_cursor_up</NAME>
1386 <RETURNS>gboolean </RETURNS>
1387 HTMLCursor *cursor,HTMLEngine *engine
1390 <NAME>html_cursor_down</NAME>
1391 <RETURNS>gboolean </RETURNS>
1392 HTMLCursor *cursor,HTMLEngine *engine
1395 <NAME>html_cursor_beginning_of_document</NAME>
1396 <RETURNS>void </RETURNS>
1397 HTMLCursor *cursor,HTMLEngine *engine
1400 <NAME>html_cursor_end_of_document</NAME>
1401 <RETURNS>void </RETURNS>
1402 HTMLCursor *cursor,HTMLEngine *engine
1405 <NAME>html_cursor_beginning_of_line</NAME>
1406 <RETURNS>gboolean </RETURNS>
1407 HTMLCursor *cursor,HTMLEngine *engine
1410 <NAME>html_cursor_end_of_line</NAME>
1411 <RETURNS>gboolean </RETURNS>
1412 HTMLCursor *cursor,HTMLEngine *engine
1415 <NAME>html_cursor_beginning_of_paragraph</NAME>
1416 <RETURNS>gboolean </RETURNS>
1417 HTMLCursor *cursor,HTMLEngine *engine
1420 <NAME>html_cursor_end_of_paragraph</NAME>
1421 <RETURNS>gboolean </RETURNS>
1422 HTMLCursor *cursor,HTMLEngine *engine
1425 <NAME>html_cursor_jump_to</NAME>
1426 <RETURNS>gboolean </RETURNS>
1427 HTMLCursor *cursor,HTMLEngine *engine,HTMLObject *obj,guint offset
1430 <NAME>html_cursor_normalize</NAME>
1431 <RETURNS>void </RETURNS>
1435 <NAME>html_cursor_get_position</NAME>
1436 <RETURNS>gint </RETURNS>
1440 <NAME>html_cursor_jump_to_position</NAME>
1441 <RETURNS>void </RETURNS>
1442 HTMLCursor *cursor,HTMLEngine *engine,gint position
1445 <NAME>html_cursor_get_current_char</NAME>
1446 <RETURNS>unicode_char_t </RETURNS>
1447 const HTMLCursor *cursor
1450 <NAME>html_cursor_get_prev_char</NAME>
1451 <RETURNS>unicode_char_t </RETURNS>
1452 const HTMLCursor *cursor
1455 <NAME>html_cursor_equal</NAME>
1456 <RETURNS>gboolean </RETURNS>
1457 const HTMLCursor *a,const HTMLCursor *b
1460 <NAME>html_cursor_precedes</NAME>
1461 <RETURNS>gboolean </RETURNS>
1462 const HTMLCursor *a,const HTMLCursor *b
1465 <NAME>html_cursor_follows</NAME>
1466 <RETURNS>gboolean </RETURNS>
1467 const HTMLCursor *a,const HTMLCursor *b
1470 <NAME>HTMLDrawQueueClearElement</NAME>
1471 struct HTMLDrawQueueClearElement {
1473 guint width, height;
1474 GdkColor *background_color;
1475 GdkPixbuf *background_image;
1476 guint background_image_x_offset, background_image_y_offset;
1480 <NAME>HTMLDrawQueue</NAME>
1481 struct HTMLDrawQueue {
1482 /* The associated engine. */
1485 /* Elements to be drawn. */
1487 /* Pointer to the last element in the list, for faster appending. */
1490 /* Elements to be cleared (HTMLDrawQueueClearElement). */
1492 /* Pointer to the last element. */
1497 <NAME>html_draw_queue_new</NAME>
1498 <RETURNS>HTMLDrawQueue *</RETURNS>
1502 <NAME>html_draw_queue_destroy</NAME>
1503 <RETURNS>void </RETURNS>
1504 HTMLDrawQueue *queue
1507 <NAME>html_draw_queue_flush</NAME>
1508 <RETURNS>void </RETURNS>
1509 HTMLDrawQueue *queue
1512 <NAME>html_draw_queue_clear</NAME>
1513 <RETURNS>void </RETURNS>
1514 HTMLDrawQueue *queue
1517 <NAME>html_draw_queue_add</NAME>
1518 <RETURNS>void </RETURNS>
1519 HTMLDrawQueue *queue,HTMLObject *object
1522 <NAME>html_draw_queue_add_clear</NAME>
1523 <RETURNS>void </RETURNS>
1524 HTMLDrawQueue *queue,gint x,gint y,guint width,guint height,const GdkColor *background_color
1527 <NAME>html_draw_queue_add_clear_with_background</NAME>
1528 <RETURNS>void </RETURNS>
1529 HTMLDrawQueue *queue,gint x,gint y,guint width,guint height,GdkPixbuf *background_image,guint image_x_offset,guint image_y_offset
1532 <NAME>HTML_EMBEDDED</NAME>
1533 #define HTML_EMBEDDED(x) ((HTMLEmbedded *)(x))
1536 <NAME>HTML_EMBEDDED_CLASS</NAME>
1537 #define HTML_EMBEDDED_CLASS(x) ((HTMLEmbeddedClass *)(x))
1540 <NAME>HTMLEmbedded</NAME>
1541 struct HTMLEmbedded {
1547 GtkWidget *widget, *parent;
1548 gint16 width, height;
1554 <NAME>html_embedded_class</NAME>
1555 extern HTMLEmbeddedClass html_embedded_class;
1558 <NAME>html_embedded_type_init</NAME>
1559 <RETURNS>void </RETURNS>
1563 <NAME>html_embedded_class_init</NAME>
1564 <RETURNS>void </RETURNS>
1565 HTMLEmbeddedClass *klass,HTMLType type,guint object_size
1568 <NAME>html_embedded_init</NAME>
1569 <RETURNS>void </RETURNS>
1570 HTMLEmbedded *element,HTMLEmbeddedClass *klass,GtkWidget *parent,gchar *name,gchar *value
1573 <NAME>html_embedded_set_widget</NAME>
1574 <RETURNS>void </RETURNS>
1575 HTMLEmbedded *element,GtkWidget *widget
1578 <NAME>html_embedded_get_name</NAME>
1579 <RETURNS>gchar *</RETURNS>
1580 HTMLEmbedded *element
1583 <NAME>html_embedded_set_form</NAME>
1584 <RETURNS>void </RETURNS>
1585 HTMLEmbedded *element,HTMLForm *form
1588 <NAME>html_embedded_reset</NAME>
1589 <RETURNS>void </RETURNS>
1590 HTMLEmbedded *element
1593 <NAME>html_embedded_encode</NAME>
1594 <RETURNS>gchar *</RETURNS>
1595 HTMLEmbedded *element
1598 <NAME>html_embedded_encode_string</NAME>
1599 <RETURNS>gchar *</RETURNS>
1603 <NAME>html_embedded_new_widget</NAME>
1604 <RETURNS>HTMLEmbedded *</RETURNS>
1605 GtkWidget *parent,GtkHTMLEmbedded *eb
1608 <NAME>html_embedded_size_recalc</NAME>
1609 <RETURNS>void </RETURNS>
1613 <NAME>html_engine_get_current_clueflow_style</NAME>
1614 <RETURNS>HTMLClueFlowStyle </RETURNS>
1618 <NAME>html_engine_get_current_clueflow_indentation</NAME>
1619 <RETURNS>guint </RETURNS>
1623 <NAME>html_engine_get_current_clueflow_alignment</NAME>
1624 <RETURNS>HTMLHAlignType </RETURNS>
1628 <NAME>html_engine_set_clueflow_style</NAME>
1629 <RETURNS>gboolean </RETURNS>
1630 HTMLEngine *engine,HTMLClueFlowStyle style,HTMLHAlignType alignment,gint indentation_delta,HTMLEngineSetClueFlowStyleMask mask,gboolean do_undo
1633 <NAME>html_engine_get_current_clueflow_style</NAME>
1634 <RETURNS>HTMLClueFlowStyle </RETURNS>
1638 <NAME>html_engine_get_current_clueflow_indentation</NAME>
1639 <RETURNS>guint </RETURNS>
1643 <NAME>html_engine_get_current_clueflow_alignment</NAME>
1644 <RETURNS>HTMLHAlignType </RETURNS>
1648 <NAME>html_engine_hide_cursor</NAME>
1649 <RETURNS>void </RETURNS>
1653 <NAME>html_engine_show_cursor</NAME>
1654 <RETURNS>void </RETURNS>
1658 <NAME>html_engine_draw_cursor_in_area</NAME>
1659 <RETURNS>void </RETURNS>
1660 HTMLEngine *engine,gint x,gint y,gint width,gint height
1663 <NAME>html_engine_setup_blinking_cursor</NAME>
1664 <RETURNS>void </RETURNS>
1668 <NAME>html_engine_stop_blinking_cursor</NAME>
1669 <RETURNS>void </RETURNS>
1673 <NAME>html_engine_reset_blinking_cursor</NAME>
1674 <RETURNS>void </RETURNS>
1678 <NAME>html_engine_update_insertion_font_style</NAME>
1679 <RETURNS>gboolean </RETURNS>
1683 <NAME>html_engine_get_font_style</NAME>
1684 <RETURNS>GtkHTMLFontStyle </RETURNS>
1688 <NAME>html_engine_get_document_font_style</NAME>
1689 <RETURNS>GtkHTMLFontStyle </RETURNS>
1693 <NAME>html_engine_set_font_style</NAME>
1694 <RETURNS>gboolean </RETURNS>
1695 HTMLEngine *engine,GtkHTMLFontStyle and_mask,GtkHTMLFontStyle or_mask
1698 <NAME>html_engine_toggle_font_style</NAME>
1699 <RETURNS>gboolean </RETURNS>
1700 HTMLEngine *engine,GtkHTMLFontStyle style
1703 <NAME>html_engine_font_size_inc_dec</NAME>
1704 <RETURNS>void </RETURNS>
1705 HTMLEngine *e,gboolean inc
1708 <NAME>html_engine_update_insertion_color</NAME>
1709 <RETURNS>gboolean </RETURNS>
1713 <NAME>html_engine_set_color</NAME>
1714 <RETURNS>gboolean </RETURNS>
1715 HTMLEngine *engine,HTMLColor *color
1718 <NAME>html_engine_get_color</NAME>
1719 <RETURNS>HTMLColor *</RETURNS>
1723 <NAME>html_engine_get_document_color</NAME>
1724 <RETURNS>HTMLColor *</RETURNS>
1728 <NAME>html_engine_update_insertion_url_and_target</NAME>
1729 <RETURNS>gboolean </RETURNS>
1733 <NAME>html_engine_get_url</NAME>
1734 <RETURNS>const gchar *</RETURNS>
1738 <NAME>html_engine_set_url</NAME>
1739 <RETURNS>void </RETURNS>
1740 HTMLEngine *e,const gchar *url
1743 <NAME>html_engine_get_target</NAME>
1744 <RETURNS>const gchar *</RETURNS>
1748 <NAME>html_engine_set_target</NAME>
1749 <RETURNS>void </RETURNS>
1750 HTMLEngine *e,const gchar *url
1753 <NAME>html_engine_get_document_url</NAME>
1754 <RETURNS>const gchar *</RETURNS>
1758 <NAME>html_engine_get_document_target</NAME>
1759 <RETURNS>const gchar *</RETURNS>
1763 <NAME>html_engine_insert_image</NAME>
1764 <RETURNS>void </RETURNS>
1765 HTMLEngine *e,const gchar *file,const gchar *url,const gchar *target,gint16 width,gint16 height,gboolean percent_width,gboolean percent_height,gint8 border,HTMLColor *border_color,HTMLHAlignType halign,HTMLVAlignType valign,gint8 hspace,gint8 vspace
1768 <NAME>html_engine_move_cursor</NAME>
1769 <RETURNS>guint </RETURNS>
1770 HTMLEngine *e,HTMLEngineCursorMovement movement,guint count
1773 <NAME>html_engine_jump_to_object</NAME>
1774 <RETURNS>void </RETURNS>
1775 HTMLEngine *e,HTMLObject *object,guint offset
1778 <NAME>html_engine_jump_at</NAME>
1779 <RETURNS>void </RETURNS>
1780 HTMLEngine *e,gint x,gint y
1783 <NAME>html_engine_beginning_of_document</NAME>
1784 <RETURNS>void </RETURNS>
1788 <NAME>html_engine_end_of_document</NAME>
1789 <RETURNS>void </RETURNS>
1793 <NAME>html_engine_beginning_of_line</NAME>
1794 <RETURNS>gboolean </RETURNS>
1798 <NAME>html_engine_end_of_line</NAME>
1799 <RETURNS>gboolean </RETURNS>
1803 <NAME>html_engine_scroll_down</NAME>
1804 <RETURNS>gint </RETURNS>
1805 HTMLEngine *engine,gint amount
1808 <NAME>html_engine_scroll_up</NAME>
1809 <RETURNS>gint </RETURNS>
1810 HTMLEngine *engine,gint amount
1813 <NAME>html_engine_forward_word</NAME>
1814 <RETURNS>gboolean </RETURNS>
1818 <NAME>html_engine_backward_word</NAME>
1819 <RETURNS>gboolean </RETURNS>
1823 <NAME>html_engine_insert_rule</NAME>
1824 <RETURNS>void </RETURNS>
1825 HTMLEngine *e,gint length,gint percent,gint size,gboolean shade,HTMLHAlignType halign
1828 <NAME>html_rule_set</NAME>
1829 <RETURNS>void </RETURNS>
1830 HTMLRule *rule,HTMLEngine *e,gint length,gint percent,gint size,gboolean shade,HTMLHAlignType halign
1833 <NAME>html_engine_edit_selection_updater_new</NAME>
1834 <RETURNS>HTMLEngineEditSelectionUpdater *</RETURNS>
1838 <NAME>html_engine_edit_selection_updater_destroy</NAME>
1839 <RETURNS>void </RETURNS>
1840 HTMLEngineEditSelectionUpdater *updater
1843 <NAME>html_engine_edit_selection_updater_reset</NAME>
1844 <RETURNS>void </RETURNS>
1845 HTMLEngineEditSelectionUpdater *updater
1848 <NAME>html_engine_edit_selection_updater_schedule</NAME>
1849 <RETURNS>void </RETURNS>
1850 HTMLEngineEditSelectionUpdater *updater
1853 <NAME>html_engine_edit_selection_updater_update_now</NAME>
1854 <RETURNS>void </RETURNS>
1855 HTMLEngineEditSelectionUpdater *updater
1858 <NAME>html_engine_create_table</NAME>
1859 <RETURNS>HTMLObject *</RETURNS>
1860 HTMLEngine *e,gint width,gint percent,gint padding,gint spacing,gint border
1863 <NAME>html_engine_insert_table</NAME>
1864 <RETURNS>void </RETURNS>
1865 HTMLEngine *e, gint *values
1868 <NAME>html_engine_insert_table_cell</NAME>
1869 <RETURNS>HTMLObject *</RETURNS>
1870 HTMLEngine *e,gint percent,gint rs,gint cs,gint pad,gint width,HTMLImagePointer *imagePtr
1873 <NAME>html_engine_capitalize_word</NAME>
1874 <RETURNS>void </RETURNS>
1878 <NAME>html_engine_upcase_downcase_word</NAME>
1879 <RETURNS>void </RETURNS>
1880 HTMLEngine *e,gboolean up
1883 <NAME>html_engine_undo</NAME>
1884 <RETURNS>void </RETURNS>
1888 <NAME>html_engine_redo</NAME>
1889 <RETURNS>void </RETURNS>
1893 <NAME>html_engine_set_mark</NAME>
1894 <RETURNS>void </RETURNS>
1898 <NAME>html_engine_select_word_editable</NAME>
1899 <RETURNS>void </RETURNS>
1903 <NAME>html_engine_select_line_editable</NAME>
1904 <RETURNS>void </RETURNS>
1908 <NAME>html_engine_clipboard_push</NAME>
1909 <RETURNS>void </RETURNS>
1913 <NAME>html_engine_clipboard_pop</NAME>
1914 <RETURNS>void </RETURNS>
1918 <NAME>html_engine_clipboard_clear</NAME>
1919 <RETURNS>void </RETURNS>
1923 <NAME>html_engine_selection_push</NAME>
1924 <RETURNS>void </RETURNS>
1928 <NAME>html_engine_selection_pop</NAME>
1929 <RETURNS>void </RETURNS>
1933 <NAME>html_engine_cut_and_paste_begin</NAME>
1934 <RETURNS>void </RETURNS>
1935 HTMLEngine *e,gchar *op_name
1938 <NAME>html_engine_cut_and_paste_end</NAME>
1939 <RETURNS>void </RETURNS>
1943 <NAME>html_engine_cut_and_paste</NAME>
1944 <RETURNS>void </RETURNS>
1945 HTMLEngine *e,gchar *op_name,HTMLObjectForallFunc iterator,gpointer data
1948 <NAME>html_engine_spell_check_range</NAME>
1949 <RETURNS>void </RETURNS>
1950 HTMLEngine *e,HTMLCursor *begin,HTMLCursor *end
1953 <NAME>html_engine_set_data_by_type</NAME>
1954 <RETURNS>void </RETURNS>
1955 HTMLEngine *e,HTMLType object_type,const gchar *key,const gpointer value
1958 <NAME>html_engine_ensure_editable</NAME>
1959 <RETURNS>void </RETURNS>
1963 <NAME>html_engine_new_text</NAME>
1964 <RETURNS>HTMLObject *</RETURNS>
1965 HTMLEngine *e,const gchar *text,gint len
1968 <NAME>html_engine_new_text_empty</NAME>
1969 <RETURNS>HTMLObject *</RETURNS>
1973 <NAME>html_engine_cursor_on_bop</NAME>
1974 <RETURNS>gboolean </RETURNS>
1978 <NAME>html_engine_get_indent</NAME>
1979 <RETURNS>guint </RETURNS>
1983 <NAME>html_engine_indent_pre_paragraph</NAME>
1984 <RETURNS>void </RETURNS>
1988 <NAME>html_is_in_word</NAME>
1989 <RETURNS>gboolean </RETURNS>
1993 <NAME>paragraph_alignment_to_html</NAME>
1994 <RETURNS>HTMLHAlignType </RETURNS>
1995 GtkHTMLParagraphAlignment alignment
1998 <NAME>paragraph_style_to_clueflow_style</NAME>
1999 <RETURNS>HTMLClueFlowStyle </RETURNS>
2000 GtkHTMLParagraphStyle style
2003 <NAME>html_alignment_to_paragraph</NAME>
2004 <RETURNS>GtkHTMLParagraphAlignment </RETURNS>
2005 HTMLHAlignType alignment
2008 <NAME>clueflow_style_to_paragraph_style</NAME>
2009 <RETURNS>GtkHTMLParagraphStyle </RETURNS>
2010 HTMLClueFlowStyle style
2013 <NAME>html_engine_print</NAME>
2014 <RETURNS>void </RETURNS>
2015 HTMLEngine *e,GnomePrintContext *print_context
2018 <NAME>html_engine_print_with_header_footer</NAME>
2019 <RETURNS>void </RETURNS>
2020 HTMLEngine *e,GnomePrintContext *print_context,gdouble header_height,gdouble footer_height,GtkHTMLPrintCallback header_print,GtkHTMLPrintCallback footer_print,gpointer user_data
2023 <NAME>html_engine_print_set_min_split_index</NAME>
2024 <RETURNS>void </RETURNS>
2025 HTMLEngine *e,gdouble idx
2028 <NAME>HTMLEngineSaveState</NAME>
2029 struct HTMLEngineSaveState {
2031 HTMLEngineSaveReceiverFn receiver;
2042 <NAME>html_engine_save_encode</NAME>
2043 <RETURNS>gboolean </RETURNS>
2044 HTMLEngineSaveState *state,const gchar *buffer,guint length
2047 <NAME>html_engine_save_encode_string</NAME>
2048 <RETURNS>gboolean </RETURNS>
2049 HTMLEngineSaveState *state,const gchar *s
2052 <NAME>html_engine_save_output_string</NAME>
2053 <RETURNS>gboolean </RETURNS>
2054 HTMLEngineSaveState *state,const gchar *format,...
2057 <NAME>html_engine_save</NAME>
2058 <RETURNS>gboolean </RETURNS>
2059 HTMLEngine *engine,HTMLEngineSaveReceiverFn receiver,gpointer user_data
2062 <NAME>html_engine_save_plain</NAME>
2063 <RETURNS>gboolean </RETURNS>
2064 HTMLEngine *engine,HTMLEngineSaveReceiverFn receiver,gpointer user_data
2067 <NAME>html_engine_save_buffer_free</NAME>
2068 <RETURNS>void </RETURNS>
2069 HTMLEngineSaveState *state
2072 <NAME>html_engine_save_buffer_peek_text</NAME>
2073 <RETURNS>guchar *</RETURNS>
2074 HTMLEngineSaveState *state
2077 <NAME>html_engine_save_buffer_new</NAME>
2078 <RETURNS>HTMLEngineSaveState *</RETURNS>
2082 <NAME>html_engine_save_get_sample_body</NAME>
2083 <RETURNS>gchar *</RETURNS>
2084 HTMLEngine *e,HTMLObject *o
2087 <NAME>html_engine_save_get_paragraph_align</NAME>
2088 <RETURNS>const gchar *</RETURNS>
2089 GtkHTMLParagraphAlignment align
2092 <NAME>html_engine_save_get_paragraph_style</NAME>
2093 <RETURNS>const gchar *</RETURNS>
2094 GtkHTMLParagraphStyle style
2097 <NAME>html_engine_search</NAME>
2098 <RETURNS>gboolean </RETURNS>
2099 HTMLEngine *e,const gchar *text,gboolean case_sensitive,gboolean forward,gboolean regular
2102 <NAME>html_engine_search_next</NAME>
2103 <RETURNS>gboolean </RETURNS>
2107 <NAME>html_engine_search_incremental</NAME>
2108 <RETURNS>gboolean </RETURNS>
2109 HTMLEngine *e,const gchar *text,gboolean forward
2112 <NAME>HTML_TYPE_ENGINE</NAME>
2113 #define HTML_TYPE_ENGINE (html_engine_get_type ())
2116 <NAME>HTML_ENGINE</NAME>
2117 #define HTML_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE_ENGINE, HTMLEngine))
2120 <NAME>HTML_ENGINE_CLASS</NAME>
2121 #define HTML_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HTML_TYPE_ENGINE, HTMLEngineClass))
2124 <NAME>HTML_IS_ENGINE</NAME>
2125 #define HTML_IS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HTML_TYPE_ENGINE))
2128 <NAME>HTML_IS_ENGINE_CLASS</NAME>
2129 #define HTML_IS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HTML_TYPE_ENGINE))
2132 <NAME>LEFT_BORDER</NAME>
2133 #define LEFT_BORDER 10
2136 <NAME>RIGHT_BORDER</NAME>
2137 #define RIGHT_BORDER 10
2140 <NAME>TOP_BORDER</NAME>
2141 #define TOP_BORDER 10
2144 <NAME>BOTTOM_BORDER</NAME>
2145 #define BOTTOM_BORDER 10
2148 <NAME>HTMLEngine</NAME>
2151 HTMLDrawQueue *draw_queue;
2153 HTMLPainter *painter;
2155 HTMLSettings *settings;
2156 HTMLSettings *defaultSettings;
2165 HTMLObject *clipboard;
2166 guint clipboard_len;
2167 GList *clipboard_stack;
2169 /* Freeze counter. When greater than zero, we never trigger relayouts
2170 nor repaints. When going from nonzero to zero, we relayout and
2171 repaint everything. */
2177 HTMLStringTokenizer *st;
2187 /* Current indentation level. */
2190 /* For the widget */
2194 HTMLHAlignType divAlign;
2196 /* Number of tokens parsed in the current time-slice */
2201 gint x_offset, y_offset;
2206 gboolean inTextArea;
2211 HTMLStack *font_style_stack; /* Font style stack, elements are GtkHTMLFontStyles. */
2212 HTMLStack *font_face_stack;
2213 HTMLStack *color_stack; /* Color stack, elements are GdkColors. */
2214 HTMLStack *clueflow_style_stack; /* Clueflow style stack, elements are HTMLClueFlowStyles. */
2219 HTMLBlockStackElement *blockStack;
2221 /* timer id to schedule paint events */
2224 /* timer id for parsing routine */
2227 /* FIXME: replace with a `gchar *'? */
2232 /* The background pixmap, an HTMLImagePointer */
2233 gpointer bgPixmapPtr;
2235 /* Stack of lists currently active */
2236 HTMLStack *listStack;
2238 /* Stack of embedded "object"'s */
2239 HTMLStack *embeddedStack;
2241 /* The associated widget. */
2244 gpointer image_factory;
2246 HTMLStack *glossaryStack; /* HTMLGlossaryEntry */
2249 * This list holds strings which are displayed in the view,
2250 * but are not actually contained in the HTML source.
2251 * e.g. The numbers in an ordered list.
2257 HTMLSelect *formSelect;
2258 HTMLTextArea *formTextArea;
2263 /* This is TRUE if we cannot insert a paragraph break (which is just an
2264 extra empty line). It's set to FALSE as soon as some element is
2265 added to a flow. The purpose is to avoid having paragraph breaks to
2266 be inserted in sequence, or after elements that have some vspace of
2268 gboolean avoid_para;
2270 /* This is TRUE if we want a paragraph break to be inserted before the
2272 gboolean pending_para;
2274 /* Alignment for the pending paragraph we are going to insert. */
2275 HTMLHAlignType pending_para_alignment;
2277 /* Whether we have the keyboard focus. */
2278 guint have_focus : 1;
2280 HTMLInterval *selection;
2281 gboolean selected_in;
2285 /* Editing stuff. -- FIXME it should be in a separate object. */
2287 /* The current position of the cursor. */
2290 /* If no region is active, this is NULL. Otherwise, this is
2291 one extreme of the selected region. The other extreme is
2292 always the cursor. */
2295 /* Hide counter for the cursor. When greater than zero, it
2296 means the cursor is invisible. */
2297 gint cursor_hide_count;
2299 /* Timer ID for cursor blink. */
2300 gint blinking_timer_id;
2302 /* Blinking status (visible/invisible). */
2303 gboolean blinking_status;
2305 /* Font style for insertion. If HTML_FONT_STYLE_DEFAULT, use that of
2306 the text we are in. */
2307 GtkHTMLFontStyle insertion_font_style;
2308 HTMLColor *insertion_color;
2309 gchar *insertion_url;
2310 gchar *insertion_target;
2312 /* if we are doing shift selection - Shift + some event (arrows, mouse motion, ...) */
2313 gboolean shift_selection;
2315 /* This object is used to update the keyboard selection in the
2317 HTMLEngineEditSelectionUpdater *selection_updater;
2319 /* keeps selection between operation, which are changing selection
2320 and need restore it after done */
2321 GList *selection_stack;
2323 /* search & replace */
2324 HTMLSearch *search_info;
2325 HTMLReplace *replace_info;
2327 /* id-to-object mapping */
2328 GHashTable *id_table;
2330 gdouble min_split_index;
2332 gboolean need_spell_check;
2336 <NAME>html_engine_get_type</NAME>
2337 <RETURNS>guint </RETURNS>
2341 <NAME>html_engine_new</NAME>
2342 <RETURNS>HTMLEngine *</RETURNS>
2346 <NAME>html_engine_realize</NAME>
2347 <RETURNS>void </RETURNS>
2348 HTMLEngine *engine,GdkWindow *window
2351 <NAME>html_engine_unrealize</NAME>
2352 <RETURNS>void </RETURNS>
2356 <NAME>html_engine_set_editable</NAME>
2357 <RETURNS>void </RETURNS>
2358 HTMLEngine *e,gboolean editable
2361 <NAME>html_engine_get_editable</NAME>
2362 <RETURNS>gboolean </RETURNS>
2366 <NAME>html_engine_set_focus</NAME>
2367 <RETURNS>void </RETURNS>
2368 HTMLEngine *engine,gboolean have_focus
2371 <NAME>html_engine_begin</NAME>
2372 <RETURNS>GtkHTMLStream *</RETURNS>
2373 HTMLEngine *p,char *content_type
2376 <NAME>html_engine_parse</NAME>
2377 <RETURNS>void </RETURNS>
2381 <NAME>html_engine_stop_parser</NAME>
2382 <RETURNS>void </RETURNS>
2386 <NAME>html_engine_calc_size</NAME>
2387 <RETURNS>void </RETURNS>
2391 <NAME>html_engine_get_doc_height</NAME>
2392 <RETURNS>gint </RETURNS>
2396 <NAME>html_engine_get_doc_width</NAME>
2397 <RETURNS>gint </RETURNS>
2401 <NAME>html_engine_draw</NAME>
2402 <RETURNS>void </RETURNS>
2403 HTMLEngine *e,gint x,gint y,gint width,gint height
2406 <NAME>html_engine_draw_background</NAME>
2407 <RETURNS>void </RETURNS>
2408 HTMLEngine *e,gint x,gint y,gint width,gint height
2411 <NAME>html_engine_schedule_update</NAME>
2412 <RETURNS>void </RETURNS>
2416 <NAME>html_engine_make_cursor_visible</NAME>
2417 <RETURNS>gboolean </RETURNS>
2421 <NAME>html_engine_goto_anchor</NAME>
2422 <RETURNS>gboolean </RETURNS>
2423 HTMLEngine *e,const gchar *anchor
2426 <NAME>html_engine_flush_draw_queue</NAME>
2427 <RETURNS>void </RETURNS>
2431 <NAME>html_engine_queue_draw</NAME>
2432 <RETURNS>void </RETURNS>
2433 HTMLEngine *e,HTMLObject *o
2436 <NAME>html_engine_queue_clear</NAME>
2437 <RETURNS>void </RETURNS>
2438 HTMLEngine *e,gint x,gint y,guint width,guint height
2441 <NAME>html_engine_set_painter</NAME>
2442 <RETURNS>void </RETURNS>
2443 HTMLEngine *e,HTMLPainter *painter,gint max_width
2446 <NAME>html_engine_get_object_at</NAME>
2447 <RETURNS>HTMLObject *</RETURNS>
2448 HTMLEngine *e,gint x,gint y,guint *offset_return,gboolean for_cursor
2451 <NAME>html_engine_get_point_at</NAME>
2452 <RETURNS>HTMLPoint *</RETURNS>
2453 HTMLEngine *e,gint x,gint y,gboolean for_cursor
2456 <NAME>html_engine_get_link_at</NAME>
2457 <RETURNS>const gchar *</RETURNS>
2458 HTMLEngine *e,gint x,gint y
2461 <NAME>html_engine_form_submitted</NAME>
2462 <RETURNS>void </RETURNS>
2463 HTMLEngine *engine,const gchar *method,const gchar *action,const gchar *encoding
2466 <NAME>html_engine_canonicalize_url</NAME>
2467 <RETURNS>gchar *</RETURNS>
2468 HTMLEngine *e,const char *in_url
2471 <NAME>html_engine_get_cursor</NAME>
2472 <RETURNS>HTMLCursor *</RETURNS>
2476 <NAME>html_engine_normalize_cursor</NAME>
2477 <RETURNS>void </RETURNS>
2481 <NAME>html_engine_frozen</NAME>
2482 <RETURNS>gboolean </RETURNS>
2486 <NAME>html_engine_freeze</NAME>
2487 <RETURNS>void </RETURNS>
2491 <NAME>html_engine_thaw</NAME>
2492 <RETURNS>void </RETURNS>
2496 <NAME>html_engine_load_empty</NAME>
2497 <RETURNS>void </RETURNS>
2501 <NAME>html_engine_replace</NAME>
2502 <RETURNS>void </RETURNS>
2503 HTMLEngine *e,const gchar *text,const gchar *rep_text,gboolean case_sensitive,gboolean forward,gboolean regular,void (*ask)(HTMLEngine *, gpointer), gpointer ask_data
2506 <NAME>html_engine_replace_do</NAME>
2507 <RETURNS>void </RETURNS>
2508 HTMLEngine *e, HTMLReplaceQueryAnswer answer
2511 <NAME>html_engine_replaced</NAME>
2512 <RETURNS>gint </RETURNS>
2516 <NAME>html_engine_init_magic_links</NAME>
2517 <RETURNS>void </RETURNS>
2521 <NAME>html_engine_spell_check</NAME>
2522 <RETURNS>void </RETURNS>
2526 <NAME>html_engine_get_word</NAME>
2527 <RETURNS>gchar *</RETURNS>
2531 <NAME>html_engine_word_is_valid</NAME>
2532 <RETURNS>gboolean </RETURNS>
2536 <NAME>html_engine_replace_word_with</NAME>
2537 <RETURNS>void </RETURNS>
2538 HTMLEngine *e,const gchar *word
2541 <NAME>html_engine_get_view_width</NAME>
2542 <RETURNS>gint </RETURNS>
2546 <NAME>html_engine_get_view_height</NAME>
2547 <RETURNS>gint </RETURNS>
2551 <NAME>html_engine_add_object_with_id</NAME>
2552 <RETURNS>void </RETURNS>
2553 HTMLEngine *e,const gchar *id,HTMLObject *obj
2556 <NAME>html_engine_get_object_by_id</NAME>
2557 <RETURNS>HTMLObject *</RETURNS>
2558 HTMLEngine *e,const gchar *id
2561 <NAME>html_engine_get_top_html_engine</NAME>
2562 <RETURNS>HTMLEngine *</RETURNS>
2566 <NAME>html_engine_thaw_idle_reset</NAME>
2567 <RETURNS>void </RETURNS>
2571 <NAME>ENTITY_NBSP</NAME>
2572 #define ENTITY_NBSP 160
2575 <NAME>html_entity_parse</NAME>
2576 <RETURNS>gulong </RETURNS>
2577 const gchar *s, guint len
2580 <NAME>html_entity_prepare</NAME>
2581 <RETURNS>gchar *</RETURNS>
2585 <NAME>HTMLButtonType</NAME>
2593 <NAME>HTMLChangeFlags</NAME>
2595 HTML_CHANGE_NONE = 0,
2596 HTML_CHANGE_MIN_WIDTH = 1 << 0,
2597 HTML_CHANGE_PREF_WIDTH = 1 << 1,
2598 HTML_CHANGE_ALL = ((HTML_CHANGE_PREF_WIDTH << 1) - 1)
2602 <NAME>HTMLClearType</NAME>
2611 <NAME>HTMLClueFlowStyle</NAME>
2613 HTML_CLUEFLOW_STYLE_NORMAL,
2614 HTML_CLUEFLOW_STYLE_H1,
2615 HTML_CLUEFLOW_STYLE_H2,
2616 HTML_CLUEFLOW_STYLE_H3,
2617 HTML_CLUEFLOW_STYLE_H4,
2618 HTML_CLUEFLOW_STYLE_H5,
2619 HTML_CLUEFLOW_STYLE_H6,
2620 HTML_CLUEFLOW_STYLE_ADDRESS,
2621 HTML_CLUEFLOW_STYLE_PRE,
2622 HTML_CLUEFLOW_STYLE_ITEMDOTTED,
2623 HTML_CLUEFLOW_STYLE_ITEMROMAN,
2624 HTML_CLUEFLOW_STYLE_ITEMDIGIT,
2625 HTML_CLUEFLOW_STYLE_NOWRAP,
2626 HTML_CLUEFLOW_NUMSTYLES
2627 } HTMLClueFlowStyle;
2630 <NAME>HTMLColorId</NAME>
2638 HTMLHighlightTextColor,
2639 HTMLSpellErrorColor,
2645 <NAME>HTMLEngineCursorMovement</NAME>
2647 HTML_ENGINE_CURSOR_UP,
2648 HTML_ENGINE_CURSOR_DOWN,
2649 HTML_ENGINE_CURSOR_RIGHT,
2650 HTML_ENGINE_CURSOR_LEFT,
2651 HTML_ENGINE_CURSOR_HOME,
2652 HTML_ENGINE_CURSOR_END,
2653 HTML_ENGINE_CURSOR_PGUP,
2654 HTML_ENGINE_CURSOR_PGDOWN
2655 } HTMLEngineCursorMovement;
2658 <NAME>HTMLEngineSetClueFlowStyleMask</NAME>
2660 HTML_ENGINE_SET_CLUEFLOW_NONE = 0,
2661 HTML_ENGINE_SET_CLUEFLOW_STYLE = 1 << 0,
2662 HTML_ENGINE_SET_CLUEFLOW_ALIGNMENT = 1 << 1,
2663 HTML_ENGINE_SET_CLUEFLOW_INDENTATION = 1 << 2,
2664 HTML_ENGINE_SET_CLUEFLOW_INDENTATION_DELTA = 1 << 3
2665 } HTMLEngineSetClueFlowStyleMask;
2668 <NAME>HTMLFitType</NAME>
2676 <NAME>HTMLGlossaryEntry</NAME>
2678 HTML_GLOSSARY_DL = 1,
2679 HTML_GLOSSARY_DD = 2
2680 } HTMLGlossaryEntry;
2683 <NAME>HTMLHAlignType</NAME>
2692 <NAME>HTMLListNumType</NAME>
2694 HTML_LIST_NUM_TYPE_NUMERIC,
2695 HTML_LIST_NUM_TYPE_LOWALPHA,
2696 HTML_LIST_NUM_TYPE_UPALPHA,
2697 HTML_LIST_NUM_TYPE_LOWROMAN,
2698 HTML_LIST_NUM_TYPE_UPROMAN
2702 <NAME>HTMLListType</NAME>
2704 HTML_LIST_TYPE_UNORDERED,
2705 HTML_LIST_TYPE_UNORDEREDPLAIN,
2706 HTML_LIST_TYPE_ORDERED,
2707 HTML_LIST_TYPE_MENU,
2712 <NAME>HTMLObjectFlags</NAME>
2714 HTML_OBJECT_FLAG_NONE = 0,
2715 HTML_OBJECT_FLAG_SEPARATOR = 1 << 0,
2716 HTML_OBJECT_FLAG_NEWLINE = 1 << 1,
2717 HTML_OBJECT_FLAG_SELECTED = 1 << 2,
2718 HTML_OBJECT_FLAG_ALLSELECTED = 1 << 3,
2719 HTML_OBJECT_FLAG_FIXEDWIDTH = 1 << 4,
2720 HTML_OBJECT_FLAG_ALIGNED = 1 << 5,
2721 HTML_OBJECT_FLAG_PRINTED = 1 << 6,
2722 HTML_OBJECT_FLAG_HIDDEN = 1 << 7
2726 <NAME>HTMLReplaceQueryAnswer</NAME>
2732 } HTMLReplaceQueryAnswer;
2735 <NAME>HTMLType</NAME>
2743 HTML_TYPE_CLUEALIGNED,
2751 HTML_TYPE_IMAGEINPUT,
2758 HTML_TYPE_TABLECELL,
2761 HTML_TYPE_TEXTINPUT,
2762 HTML_TYPE_TEXTSLAVE,
2769 <NAME>HTMLUndoDirection</NAME>
2773 } HTMLUndoDirection;
2776 <NAME>HTMLURLDupFlags</NAME>
2778 HTML_URL_DUP_ALL = 0,
2779 HTML_URL_DUP_NOPROTOCOL = 1 << 0,
2780 HTML_URL_DUP_NOUSERNAME = 1 << 1,
2781 HTML_URL_DUP_NOPASSWORD = 1 << 2,
2782 HTML_URL_DUP_NOHOSTNAME = 1 << 3,
2783 HTML_URL_DUP_NOPORT = 1 << 4,
2784 HTML_URL_DUP_NOPATH = 1 << 5,
2785 HTML_URL_DUP_NOREFERENCE = 1 << 6,
2786 HTML_URL_DUP_NOCGIARGS = 1 << 7
2790 <NAME>HTMLVAlignType</NAME>
2799 <NAME>html_valign_name</NAME>
2800 <RETURNS>const gchar *</RETURNS>
2801 HTMLVAlignType valign
2804 <NAME>html_halign_name</NAME>
2805 <RETURNS>const gchar *</RETURNS>
2806 HTMLHAlignType halign
2809 <NAME>GTK_HTML_GCONF_DIR</NAME>
2810 #define GTK_HTML_GCONF_DIR "/GNOME/Documents/HTML_Editor"
2813 <NAME>GTK_HTML_GNOME_CONFIG_PREFIX</NAME>
2814 #define GTK_HTML_GNOME_CONFIG_PREFIX "/gtkhtml/Settings/"
2817 <NAME>GTK_HTML_PROPERTY</NAME>
2818 #define GTK_HTML_PROPERTY(w,p) (GTK_HTML_CLASS (GTK_OBJECT (w)->klass)->properties-> ## p)
2821 <NAME>gtk_html_class_properties_new</NAME>
2822 <RETURNS>GtkHTMLClassProperties *</RETURNS>
2826 <NAME>gtk_html_class_properties_destroy</NAME>
2827 <RETURNS>void </RETURNS>
2828 GtkHTMLClassProperties *p
2831 <NAME>gtk_html_class_properties_copy</NAME>
2832 <RETURNS>void </RETURNS>
2833 GtkHTMLClassProperties *p1,GtkHTMLClassProperties *p2
2836 <NAME>gtk_html_class_properties_load</NAME>
2837 <RETURNS>void </RETURNS>
2838 GtkHTMLClassProperties *p
2841 <NAME>gtk_html_class_properties_save</NAME>
2842 <RETURNS>void </RETURNS>
2843 GtkHTMLClassProperties *p
2846 <NAME>GTK_TYPE_HTML_CURSOR_SKIP</NAME>
2847 #define GTK_TYPE_HTML_CURSOR_SKIP (gtk_html_cursor_skip_get_type ())
2850 <NAME>GTK_TYPE_HTML_COMMAND</NAME>
2851 #define GTK_TYPE_HTML_COMMAND (gtk_html_command_get_type ())
2854 <NAME>gtk_html_cursor_skip_get_type</NAME>
2855 <RETURNS>GtkType </RETURNS>
2859 <NAME>gtk_html_command_get_type</NAME>
2860 <RETURNS>GtkType </RETURNS>
2864 <NAME>HTML_FONT_MANAGER</NAME>
2865 #define HTML_FONT_MANAGER(x) ((HTMLFontManager *)x)
2868 <NAME>HTMLFont</NAME>
2876 <NAME>HTMLFontSet</NAME>
2877 struct HTMLFontSet {
2878 HTMLFont *font [GTK_HTML_FONT_STYLE_MAX_FONT];
2884 <NAME>HTMLFontManager</NAME>
2885 struct HTMLFontManager {
2886 HTMLPainter *painter;
2888 GHashTable *font_sets;
2889 HTMLFontSet variable;
2897 <NAME>html_font_manager_init</NAME>
2898 <RETURNS>void </RETURNS>
2899 HTMLFontManager *manager,HTMLPainter *painter
2902 <NAME>html_font_manager_finalize</NAME>
2903 <RETURNS>void </RETURNS>
2904 HTMLFontManager *manager
2907 <NAME>html_font_manager_set_default</NAME>
2908 <RETURNS>void </RETURNS>
2909 HTMLFontManager *manager,gchar *variable,gchar *fixed,gint var_size,gint fix_size
2912 <NAME>html_font_manager_get_font</NAME>
2913 <RETURNS>HTMLFont *</RETURNS>
2914 HTMLFontManager *manager,gchar *face,GtkHTMLFontStyle style
2917 <NAME>html_font_new</NAME>
2918 <RETURNS>HTMLFont *</RETURNS>
2919 gpointer data,guint space_width
2922 <NAME>html_font_destroy</NAME>
2923 <RETURNS>void </RETURNS>
2927 <NAME>html_font_ref</NAME>
2928 <RETURNS>void </RETURNS>
2929 HTMLFont *font,HTMLPainter *painter
2932 <NAME>html_font_unref</NAME>
2933 <RETURNS>void </RETURNS>
2934 HTMLFont *font,HTMLPainter *painter
2937 <NAME>HTML_FORM</NAME>
2938 #define HTML_FORM(x) ((HTMLForm *) (x))
2941 <NAME>HTMLForm</NAME>
2949 /* Used by radio buttons */
2950 GSList *radio_group;
2956 <NAME>html_form_new</NAME>
2957 <RETURNS>HTMLForm *</RETURNS>
2958 HTMLEngine *engine, gchar *_action, gchar *_method
2961 <NAME>html_form_add_element</NAME>
2962 <RETURNS>void </RETURNS>
2963 HTMLForm *form, HTMLEmbedded *e
2966 <NAME>html_form_add_hidden</NAME>
2967 <RETURNS>void </RETURNS>
2968 HTMLForm *form, HTMLHidden *h
2971 <NAME>html_form_remove_element</NAME>
2972 <RETURNS>void </RETURNS>
2973 HTMLForm *form, HTMLEmbedded *e
2976 <NAME>html_form_submit</NAME>
2977 <RETURNS>void </RETURNS>
2981 <NAME>html_form_reset</NAME>
2982 <RETURNS>void </RETURNS>
2986 <NAME>html_form_destroy</NAME>
2987 <RETURNS>void </RETURNS>
2991 <NAME>HTML_TYPE_GDK_PAINTER</NAME>
2992 #define HTML_TYPE_GDK_PAINTER (html_gdk_painter_get_type ())
2995 <NAME>HTML_GDK_PAINTER</NAME>
2996 #define HTML_GDK_PAINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE_GDK_PAINTER, HTMLGdkPainter))
2999 <NAME>HTML_GDK_PAINTER_CLASS</NAME>
3000 #define HTML_GDK_PAINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HTML_TYPE_GDK_PAINTER, HTMLGdkPainterClass))
3003 <NAME>HTML_IS_GDK_PAINTER</NAME>
3004 #define HTML_IS_GDK_PAINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HTML_TYPE_GDK_PAINTER))
3007 <NAME>HTML_IS_GDK_PAINTER_CLASS</NAME>
3008 #define HTML_IS_GDK_PAINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HTML_TYPE_GDK_PAINTER))
3011 <NAME>HTMLGdkPainter</NAME>
3012 struct HTMLGdkPainter {
3015 /* GdkWindow to draw on */
3018 /* The current GC used. */
3021 /* For the double-buffering system. */
3022 gboolean double_buffer;
3024 gint x1, y1, x2, y2;
3025 GdkColor background;
3026 gboolean set_background;
3030 /* Colors used for shading. */
3037 <NAME>html_gdk_painter_get_type</NAME>
3038 <RETURNS>GtkType </RETURNS>
3042 <NAME>html_gdk_painter_new</NAME>
3043 <RETURNS>HTMLPainter *</RETURNS>
3044 gboolean double_buffer
3047 <NAME>html_gdk_painter_realize</NAME>
3048 <RETURNS>void </RETURNS>
3049 HTMLGdkPainter *painter,GdkWindow *window
3052 <NAME>html_gdk_painter_unrealize</NAME>
3053 <RETURNS>void </RETURNS>
3054 HTMLGdkPainter *painter
3057 <NAME>html_gdk_painter_realized</NAME>
3058 <RETURNS>gboolean </RETURNS>
3059 HTMLGdkPainter *painter
3062 <NAME>HTML_HIDDEN</NAME>
3063 #define HTML_HIDDEN(x) ((HTMLHidden *) (x))
3066 <NAME>HTML_HIDDEN_CLASS</NAME>
3067 #define HTML_HIDDEN_CLASS(x) ((HTMLHiddenClass *) (x))
3070 <NAME>HTMLHidden</NAME>
3072 HTMLEmbedded element;
3076 <NAME>html_hidden_class</NAME>
3077 extern HTMLHiddenClass html_hidden_class;
3080 <NAME>html_hidden_type_init</NAME>
3081 <RETURNS>void </RETURNS>
3085 <NAME>html_hidden_class_init</NAME>
3086 <RETURNS>void </RETURNS>
3087 HTMLHiddenClass *klass,HTMLType type,guint object_size
3090 <NAME>html_hidden_init</NAME>
3091 <RETURNS>void </RETURNS>
3092 HTMLHidden *hidden,HTMLHiddenClass *klass,gchar *name,gchar *value
3095 <NAME>html_hidden_new</NAME>
3096 <RETURNS>HTMLObject *</RETURNS>
3097 gchar *name,gchar *value
3100 <NAME>HTML_HSPACE</NAME>
3101 #define HTML_HSPACE(x) ((HTMLHSpace *)(x))
3104 <NAME>HTML_HSPACE_CLASS</NAME>
3105 #define HTML_HSPACE_CLASS(x) ((HTMLHSpaceClass *)(x))
3108 <NAME>HTMLHSpace</NAME>
3112 /* FIXME!!! WHY!?!?!? Shouldn't we use the one from HTMLObject??? */
3117 <NAME>html_hspace_class</NAME>
3118 extern HTMLHSpaceClass html_hspace_class;
3121 <NAME>html_hspace_type_init</NAME>
3122 <RETURNS>void </RETURNS>
3126 <NAME>html_hspace_class_init</NAME>
3127 <RETURNS>void </RETURNS>
3128 HTMLHSpaceClass *klass,HTMLType type,guint object_size
3131 <NAME>html_hspace_init</NAME>
3132 <RETURNS>void </RETURNS>
3133 HTMLHSpace *hspace,HTMLHSpaceClass *klass,HTMLFont *font,gboolean hidden
3136 <NAME>html_hspace_new</NAME>
3137 <RETURNS>HTMLObject *</RETURNS>
3138 HTMLFont *font,gboolean hidden
3141 <NAME>HTML_IFRAME</NAME>
3142 #define HTML_IFRAME(x) ((HTMLIFrame *)(x))
3145 <NAME>HTML_IFRAME_CLASS</NAME>
3146 #define HTML_IFRAME_CLASS(x) ((HTMLIFrameClass *)(x))
3149 <NAME>HTMLIFrame</NAME>
3151 HTMLEmbedded embedded;
3156 HTMLPainter *gdk_painter;
3159 gboolean frameborder;
3163 <NAME>html_iframe_type_init</NAME>
3164 <RETURNS>void </RETURNS>
3168 <NAME>html_iframe_class_init</NAME>
3169 <RETURNS>void </RETURNS>
3170 HTMLIFrameClass *klass,HTMLType type,guint object_size
3173 <NAME>html_iframe_init</NAME>
3174 <RETURNS>void </RETURNS>
3175 HTMLIFrame *iframe,HTMLIFrameClass *klass,GtkWidget *parent,char *url,gint width,gint height,gboolean border
3178 <NAME>html_iframe_new</NAME>
3179 <RETURNS>HTMLObject *</RETURNS>
3180 GtkWidget *parent,char *src,gint width,gint height,gboolean border
3183 <NAME>HTMLImagePointer</NAME>
3184 struct HTMLImagePointer {
3187 GdkPixbufLoader *loader;
3189 GdkPixbufAnimation *animation;
3190 GSList *interests; /* A list of HTMLImage's, or a NULL pointer for the background pixmap */
3191 HTMLImageFactory *factory;
3193 guint stall_timeout;
3197 <NAME>HTMLImageAnimation</NAME>
3198 struct HTMLImageAnimation {
3199 /* stuff for animated image */
3200 /* draw coordination */
3204 /* remember engine offset */
3211 /* animation timeout function */
3217 /* active draw flag */
3222 <NAME>HTML_IMAGE</NAME>
3223 #define HTML_IMAGE(x) ((HTMLImage *)(x))
3226 <NAME>HTML_IMAGE_POINTER</NAME>
3227 #define HTML_IMAGE_POINTER(x) ((HTMLImagePointer *)(x))
3230 <NAME>HTMLImage</NAME>
3233 HTMLImagePointer *image_ptr;
3234 HTMLImageAnimation *animation;
3238 guint have_color: 1;
3242 gint16 specified_width;
3243 gint16 specified_height;
3244 gboolean percent_width;
3245 gboolean percent_height;
3250 HTMLVAlignType valign;
3258 <NAME>image_class</NAME>
3259 extern HTMLImageClass image_class;
3262 <NAME>html_image_type_init</NAME>
3263 <RETURNS>void </RETURNS>
3267 <NAME>html_image_class_init</NAME>
3268 <RETURNS>void </RETURNS>
3269 HTMLImageClass *klass,HTMLType type,guint object_size
3272 <NAME>html_image_init</NAME>
3273 <RETURNS>void </RETURNS>
3274 HTMLImage *image,HTMLImageClass *klass,HTMLImageFactory *imf,const gchar *filename,const gchar *url,const gchar *target,gint16 width,gint16 height,gboolean percent_width,gboolean percent_height,gint8 border,HTMLColor *border_color,HTMLVAlignType valign
3277 <NAME>html_image_new</NAME>
3278 <RETURNS>HTMLObject *</RETURNS>
3279 HTMLImageFactory *imf,const gchar *filename,const gchar *url,const gchar *target,gint16 width,gint16 height,gboolean percent_width,gboolean percent_height,gint8 border,HTMLColor *border_color,HTMLVAlignType valign
3282 <NAME>html_image_set_size</NAME>
3283 <RETURNS>void </RETURNS>
3284 HTMLImage *image,gint w,gint h,gboolean pw,gboolean ph
3287 <NAME>html_image_set_spacing</NAME>
3288 <RETURNS>void </RETURNS>
3289 HTMLImage *image,gint hspace,gint vspace
3292 <NAME>html_image_set_url</NAME>
3293 <RETURNS>void </RETURNS>
3294 HTMLImage *image,const gchar *url
3297 <NAME>html_image_set_valign</NAME>
3298 <RETURNS>void </RETURNS>
3299 HTMLImage *image,HTMLVAlignType valign
3302 <NAME>html_image_set_border</NAME>
3303 <RETURNS>void </RETURNS>
3304 HTMLImage *image,gint border
3307 <NAME>html_image_set_alt</NAME>
3308 <RETURNS>void </RETURNS>
3309 HTMLImage *image,gchar *alt
3312 <NAME>html_image_resolve_image_url</NAME>
3313 <RETURNS>gchar *</RETURNS>
3314 GtkHTML *html,gchar *image_url
3317 <NAME>html_image_factory_new</NAME>
3318 <RETURNS>HTMLImageFactory *</RETURNS>
3322 <NAME>html_image_factory_free</NAME>
3323 <RETURNS>void </RETURNS>
3324 HTMLImageFactory *factory
3327 <NAME>html_image_factory_cleanup</NAME>
3328 <RETURNS>void </RETURNS>
3329 HTMLImageFactory *factory
3332 <NAME>html_image_factory_stop_animations</NAME>
3333 <RETURNS>void </RETURNS>
3334 HTMLImageFactory *factory
3337 <NAME>html_image_factory_deactivate_animations</NAME>
3338 <RETURNS>void </RETURNS>
3339 HTMLImageFactory *factory
3342 <NAME>html_image_factory_register</NAME>
3343 <RETURNS>HTMLImagePointer *</RETURNS>
3344 HTMLImageFactory *factory,HTMLImage *i,const char *filename
3347 <NAME>html_image_factory_unregister</NAME>
3348 <RETURNS>void </RETURNS>
3349 HTMLImageFactory *factory,HTMLImagePointer *pointer,HTMLImage *i
3352 <NAME>HTML_IMAGEINPUT</NAME>
3353 #define HTML_IMAGEINPUT(x) ((HTMLImageInput *) (x))
3356 <NAME>HTML_IMAGEINPUT_CLASS</NAME>
3357 #define HTML_IMAGEINPUT_CLASS(x) ((HTMLImageInputClass *) (x))
3360 <NAME>HTMLImageInput</NAME>
3361 struct HTMLImageInput {
3362 HTMLEmbedded element;
3369 <NAME>html_imageinput_class</NAME>
3370 extern HTMLImageInputClass html_imageinput_class;
3373 <NAME>html_imageinput_type_init</NAME>
3374 <RETURNS>void </RETURNS>
3378 <NAME>html_imageinput_class_init</NAME>
3379 <RETURNS>void </RETURNS>
3380 HTMLImageInputClass *klass,HTMLType type,guint object_size
3383 <NAME>html_imageinput_init</NAME>
3384 <RETURNS>void </RETURNS>
3385 HTMLImageInput *img,HTMLImageInputClass *klass,HTMLImageFactory *imf,gchar *name,gchar *url
3388 <NAME>html_imageinput_new</NAME>
3389 <RETURNS>HTMLObject *</RETURNS>
3390 HTMLImageFactory *imf,gchar *name,gchar *url
3393 <NAME>HTMLPoint</NAME>
3400 <NAME>html_point_new</NAME>
3401 <RETURNS>HTMLPoint *</RETURNS>
3402 HTMLObject *o,guint off
3405 <NAME>html_point_construct</NAME>
3406 <RETURNS>void </RETURNS>
3407 HTMLPoint *p,HTMLObject *o,guint off
3410 <NAME>html_point_destroy</NAME>
3411 <RETURNS>void </RETURNS>
3415 <NAME>html_point_max</NAME>
3416 <RETURNS>HTMLPoint *</RETURNS>
3417 HTMLPoint *a,HTMLPoint *b
3420 <NAME>html_point_min</NAME>
3421 <RETURNS>HTMLPoint *</RETURNS>
3422 HTMLPoint *a,HTMLPoint *b
3425 <NAME>html_point_eq</NAME>
3426 <RETURNS>gboolean </RETURNS>
3427 const HTMLPoint *a,const HTMLPoint *b
3430 <NAME>HTMLInterval</NAME>
3431 struct HTMLInterval {
3437 <NAME>html_interval_new</NAME>
3438 <RETURNS>HTMLInterval *</RETURNS>
3439 HTMLObject *from,HTMLObject *to,guint from_offset,guint to_offset
3442 <NAME>html_interval_new_from_cursor</NAME>
3443 <RETURNS>HTMLInterval *</RETURNS>
3444 HTMLCursor *a,HTMLCursor *b
3447 <NAME>html_interval_new_from_points</NAME>
3448 <RETURNS>HTMLInterval *</RETURNS>
3449 HTMLPoint *from,HTMLPoint *to
3452 <NAME>html_interval_validate</NAME>
3453 <RETURNS>void </RETURNS>
3457 <NAME>html_interval_destroy</NAME>
3458 <RETURNS>void </RETURNS>
3462 <NAME>html_interval_get_length</NAME>
3463 <RETURNS>guint </RETURNS>
3464 HTMLInterval *i,HTMLObject *obj
3467 <NAME>html_interval_get_bytes</NAME>
3468 <RETURNS>guint </RETURNS>
3469 HTMLInterval *i,HTMLObject *obj
3472 <NAME>html_interval_get_start</NAME>
3473 <RETURNS>guint </RETURNS>
3474 HTMLInterval *i,HTMLObject *obj
3477 <NAME>html_interval_get_start_index</NAME>
3478 <RETURNS>guint </RETURNS>
3479 HTMLInterval *i,HTMLObject *obj
3482 <NAME>html_interval_get_head</NAME>
3483 <RETURNS>HTMLObject *</RETURNS>
3484 HTMLInterval *i,HTMLObject *o
3487 <NAME>html_interval_select</NAME>
3488 <RETURNS>void </RETURNS>
3489 HTMLInterval *i,HTMLEngine *e
3492 <NAME>html_interval_unselect</NAME>
3493 <RETURNS>void </RETURNS>
3494 HTMLInterval *i,HTMLEngine *e
3497 <NAME>html_interval_get_from_index</NAME>
3498 <RETURNS>gint </RETURNS>
3502 <NAME>html_interval_get_to_index</NAME>
3503 <RETURNS>gint </RETURNS>
3507 <NAME>html_interval_forall</NAME>
3508 <RETURNS>void </RETURNS>
3509 HTMLInterval *i,HTMLEngine *e,HTMLObjectForallFunc f,gpointer data
3512 <NAME>html_interval_eq</NAME>
3513 <RETURNS>gboolean </RETURNS>
3514 const HTMLInterval *a,const HTMLInterval *b
3517 <NAME>html_interval_intersection</NAME>
3518 <RETURNS>HTMLInterval *</RETURNS>
3519 HTMLInterval *a,HTMLInterval *b
3522 <NAME>html_interval_substract</NAME>
3523 <RETURNS>void *</RETURNS>
3524 HTMLInterval *a,HTMLInterval *b,HTMLInterval **s1,HTMLInterval **s2
3527 <NAME>HTML_LINK_TEXT</NAME>
3528 #define HTML_LINK_TEXT(x) ((HTMLLinkText *)(x))
3531 <NAME>HTML_LINK_TEXT_CLASS</NAME>
3532 #define HTML_LINK_TEXT_CLASS(x) ((HTMLLinkTextClass *)(x))
3535 <NAME>HTMLLinkText</NAME>
3536 struct HTMLLinkText {
3544 <NAME>html_link_text_class</NAME>
3545 extern HTMLLinkTextClass html_link_text_class;
3548 <NAME>html_link_text_type_init</NAME>
3549 <RETURNS>void </RETURNS>
3553 <NAME>html_link_text_class_init</NAME>
3554 <RETURNS>void </RETURNS>
3555 HTMLLinkTextClass *klass,HTMLType type,guint object_size
3558 <NAME>html_link_text_init</NAME>
3559 <RETURNS>void </RETURNS>
3560 HTMLLinkText *link_text_,HTMLLinkTextClass *klass,const gchar *text,gint len,GtkHTMLFontStyle font_style,HTMLColor *color,const gchar *url,const gchar *target
3563 <NAME>html_link_text_new</NAME>
3564 <RETURNS>HTMLObject *</RETURNS>
3565 const gchar *text,GtkHTMLFontStyle font_style,HTMLColor *color,const gchar *url,const gchar *target
3568 <NAME>html_link_text_new_with_len</NAME>
3569 <RETURNS>HTMLObject *</RETURNS>
3570 const gchar *text,gint len,GtkHTMLFontStyle font_style,HTMLColor *color,const gchar *url,const gchar *target
3573 <NAME>html_link_text_set_url</NAME>
3574 <RETURNS>void </RETURNS>
3575 HTMLLinkText *link,const gchar *url
3578 <NAME>html_link_text_to_text</NAME>
3579 <RETURNS>void </RETURNS>
3580 HTMLLinkText *link,HTMLEngine *e
3583 <NAME>HTMLList</NAME>
3586 HTMLListNumType numType;
3591 <NAME>html_list_new</NAME>
3592 <RETURNS>HTMLList *</RETURNS>
3593 HTMLListType t, HTMLListNumType nt
3596 <NAME>html_list_destroy</NAME>
3597 <RETURNS>void </RETURNS>
3601 <NAME>HTML_OBJECT</NAME>
3602 #define HTML_OBJECT(x) ((HTMLObject *) (x))
3605 <NAME>HTML_OBJECT_CLASS</NAME>
3606 #define HTML_OBJECT_CLASS(x) ((HTMLObjectClass *) (x))
3609 <NAME>HTML_OBJECT_TYPE</NAME>
3610 #define HTML_OBJECT_TYPE(x) (HTML_OBJECT (x)->klass->type)
3613 <NAME>HTMLObject</NAME>
3615 HTMLObjectClass *klass;
3617 /* Pointer to the parent object. */
3623 HTMLChangeFlags change;
3627 gint ascent, descent;
3638 /* FIXME maybe unify with `flags'? */
3639 guint redraw_pending : 1;
3642 /* If an object has a redraw pending and is being destroyed, this flag
3643 is set to TRUE instead of g_free()ing the object. When the draw
3644 queue is flushed, the g_free() is performed. */
3645 guint free_pending : 1;
3651 <NAME>html_object_class</NAME>
3652 extern HTMLObjectClass html_object_class;
3655 <NAME>html_object_type_init</NAME>
3656 <RETURNS>void </RETURNS>
3660 <NAME>html_object_init</NAME>
3661 <RETURNS>void </RETURNS>
3662 HTMLObject *self,HTMLObjectClass *klass
3665 <NAME>html_object_class_init</NAME>
3666 <RETURNS>void </RETURNS>
3667 HTMLObjectClass *klass,HTMLType type,guint object_size
3670 <NAME>html_object_new</NAME>
3671 <RETURNS>HTMLObject *</RETURNS>
3675 <NAME>html_object_destroy</NAME>
3676 <RETURNS>void </RETURNS>
3680 <NAME>html_object_copy</NAME>
3681 <RETURNS>void </RETURNS>
3682 HTMLObject *self,HTMLObject *dest
3685 <NAME>html_object_dup</NAME>
3686 <RETURNS>HTMLObject *</RETURNS>
3690 <NAME>html_object_op_copy</NAME>
3691 <RETURNS>HTMLObject *</RETURNS>
3692 HTMLObject *self,HTMLEngine *e,GList *from,GList *to,guint *len
3695 <NAME>html_object_op_cut</NAME>
3696 <RETURNS>HTMLObject *</RETURNS>
3697 HTMLObject *self,HTMLEngine *e,GList *from,GList *to,GList *left,GList *right,guint *len
3700 <NAME>html_object_merge</NAME>
3701 <RETURNS>gboolean </RETURNS>
3702 HTMLObject *self,HTMLObject *with,HTMLEngine *e
3705 <NAME>html_object_remove_child</NAME>
3706 <RETURNS>void </RETURNS>
3707 HTMLObject *self,HTMLObject *child
3710 <NAME>html_object_split</NAME>
3711 <RETURNS>void </RETURNS>
3712 HTMLObject *self,HTMLEngine *e,HTMLObject *child,gint offset,gint level,GList **left,GList **right
3715 <NAME>html_object_set_parent</NAME>
3716 <RETURNS>void </RETURNS>
3717 HTMLObject *self,HTMLObject *parent
3720 <NAME>html_object_get_left_margin</NAME>
3721 <RETURNS>gint </RETURNS>
3722 HTMLObject *self,gint y
3725 <NAME>html_object_get_right_margin</NAME>
3726 <RETURNS>gint </RETURNS>
3727 HTMLObject *self,gint y
3730 <NAME>html_object_set_painter</NAME>
3731 <RETURNS>void </RETURNS>
3732 HTMLObject *o,HTMLPainter *p,gint max_width
3735 <NAME>html_object_clear_word_width</NAME>
3736 <RETURNS>void </RETURNS>
3740 <NAME>html_object_reset</NAME>
3741 <RETURNS>void </RETURNS>
3745 <NAME>html_object_is_text</NAME>
3746 <RETURNS>gboolean </RETURNS>
3750 <NAME>html_object_get_engine</NAME>
3751 <RETURNS>HTMLEngine *</RETURNS>
3752 HTMLObject *self,HTMLEngine *e
3755 <NAME>html_object_forall</NAME>
3756 <RETURNS>void </RETURNS>
3757 HTMLObject *self,HTMLEngine *e,HTMLObjectForallFunc func,gpointer data
3760 <NAME>html_object_is_container</NAME>
3761 <RETURNS>gboolean </RETURNS>
3765 <NAME>html_object_next_not_type</NAME>
3766 <RETURNS>HTMLObject *</RETURNS>
3767 HTMLObject *self,HTMLType t
3770 <NAME>html_object_prev_not_type</NAME>
3771 <RETURNS>HTMLObject *</RETURNS>
3772 HTMLObject *self,HTMLType t
3775 <NAME>html_object_next_not_slave</NAME>
3776 <RETURNS>HTMLObject *</RETURNS>
3780 <NAME>html_object_prev_not_slave</NAME>
3781 <RETURNS>HTMLObject *</RETURNS>
3785 <NAME>html_object_next_by_type</NAME>
3786 <RETURNS>HTMLObject *</RETURNS>
3787 HTMLObject *self,HTMLType t
3790 <NAME>html_object_prev_by_type</NAME>
3791 <RETURNS>HTMLObject *</RETURNS>
3792 HTMLObject *self,HTMLType t
3795 <NAME>html_object_search</NAME>
3796 <RETURNS>gboolean </RETURNS>
3797 HTMLObject *self,HTMLSearch *info
3800 <NAME>html_object_search_next</NAME>
3801 <RETURNS>gboolean </RETURNS>
3802 HTMLObject *self,HTMLSearch *info
3805 <NAME>html_object_draw</NAME>
3806 <RETURNS>void </RETURNS>
3807 HTMLObject *o,HTMLPainter *p,gint x,gint y,gint width,gint height,gint tx,gint ty
3810 <NAME>html_object_draw_background</NAME>
3811 <RETURNS>void </RETURNS>
3812 HTMLObject *o,HTMLPainter *p,gint x,gint y,gint width,gint height,gint tx,gint ty
3815 <NAME>html_object_set_bg_color</NAME>
3816 <RETURNS>void </RETURNS>
3817 HTMLObject *o,GdkColor *color
3820 <NAME>html_object_get_bg_color</NAME>
3821 <RETURNS>GdkColor *</RETURNS>
3822 HTMLObject *o,HTMLPainter *p
3825 <NAME>html_object_is_transparent</NAME>
3826 <RETURNS>gboolean </RETURNS>
3830 <NAME>html_object_fit_line</NAME>
3831 <RETURNS>HTMLFitType </RETURNS>
3832 HTMLObject *o,HTMLPainter *painter,gboolean start_of_line,gboolean first_run,gint width_left
3835 <NAME>html_object_calc_size</NAME>
3836 <RETURNS>gboolean </RETURNS>
3837 HTMLObject *o,HTMLPainter *painter
3840 <NAME>html_object_set_max_ascent</NAME>
3841 <RETURNS>void </RETURNS>
3842 HTMLObject *o,HTMLPainter *painter,gint a
3845 <NAME>html_object_set_max_descent</NAME>
3846 <RETURNS>void </RETURNS>
3847 HTMLObject *o,HTMLPainter *painter,gint d
3850 <NAME>html_object_set_max_width</NAME>
3851 <RETURNS>void </RETURNS>
3852 HTMLObject *o,HTMLPainter *painter,gint max_width
3855 <NAME>html_object_calc_min_width</NAME>
3856 <RETURNS>gint </RETURNS>
3857 HTMLObject *o,HTMLPainter *painter
3860 <NAME>html_object_calc_preferred_width</NAME>
3861 <RETURNS>gint </RETURNS>
3862 HTMLObject *o,HTMLPainter *painter
3865 <NAME>html_object_calc_abs_position</NAME>
3866 <RETURNS>void </RETURNS>
3867 HTMLObject *o,gint *x_return,gint *y_return
3870 <NAME>html_object_calc_intersection</NAME>
3871 <RETURNS>void </RETURNS>
3872 HTMLObject *o,ArtIRect *intersection,gint x,gint y,gint width,gint height
3875 <NAME>html_object_relayout</NAME>
3876 <RETURNS>gboolean </RETURNS>
3877 HTMLObject *obj,HTMLEngine *engine,HTMLObject *child
3880 <NAME>html_object_get_valign</NAME>
3881 <RETURNS>HTMLVAlignType </RETURNS>
3885 <NAME>html_object_get_url</NAME>
3886 <RETURNS>const gchar *</RETURNS>
3890 <NAME>html_object_get_target</NAME>
3891 <RETURNS>const gchar *</RETURNS>
3895 <NAME>html_object_find_anchor</NAME>
3896 <RETURNS>HTMLAnchor *</RETURNS>
3897 HTMLObject *o,const gchar *name,gint *x,gint *y
3900 <NAME>html_object_set_link</NAME>
3901 <RETURNS>HTMLObject *</RETURNS>
3902 HTMLObject *self,HTMLColor *color,const gchar *url,const gchar *target
3905 <NAME>html_object_remove_link</NAME>
3906 <RETURNS>HTMLObject *</RETURNS>
3907 HTMLObject *self,HTMLColor *color
3910 <NAME>html_object_accepts_cursor</NAME>
3911 <RETURNS>gboolean </RETURNS>
3915 <NAME>html_object_get_cursor</NAME>
3916 <RETURNS>void </RETURNS>
3917 HTMLObject *obj,HTMLPainter *painter,guint offset,gint *x1,gint *y1,gint *x2,gint *y2
3920 <NAME>html_object_get_cursor_base</NAME>
3921 <RETURNS>void </RETURNS>
3922 HTMLObject *obj,HTMLPainter *painter,guint offset,gint *x,gint *y
3925 <NAME>html_object_get_length</NAME>
3926 <RETURNS>guint </RETURNS>
3930 <NAME>html_object_get_bytes</NAME>
3931 <RETURNS>guint </RETURNS>
3935 <NAME>html_object_get_index</NAME>
3936 <RETURNS>guint </RETURNS>
3937 HTMLObject *self,guint offset
3940 <NAME>html_object_check_point</NAME>
3941 <RETURNS>HTMLObject *</RETURNS>
3942 HTMLObject *clue,HTMLPainter *painter,gint x,gint y,guint *offset_return,gboolean for_cursor
3945 <NAME>html_object_cursor_forward</NAME>
3946 <RETURNS>gboolean </RETURNS>
3947 HTMLObject *self,HTMLCursor *cursor
3950 <NAME>html_object_cursor_backward</NAME>
3951 <RETURNS>gboolean </RETURNS>
3952 HTMLObject *self,HTMLCursor *cursor
3955 <NAME>html_object_next</NAME>
3956 <RETURNS>HTMLObject *</RETURNS>
3957 HTMLObject *self,HTMLObject *child
3960 <NAME>html_object_prev</NAME>
3961 <RETURNS>HTMLObject *</RETURNS>
3962 HTMLObject *self,HTMLObject *child
3965 <NAME>html_object_head</NAME>
3966 <RETURNS>HTMLObject *</RETURNS>
3970 <NAME>html_object_tail</NAME>
3971 <RETURNS>HTMLObject *</RETURNS>
3975 <NAME>html_object_tail_not_slave</NAME>
3976 <RETURNS>HTMLObject *</RETURNS>
3980 <NAME>html_object_next_leaf</NAME>
3981 <RETURNS>HTMLObject *</RETURNS>
3985 <NAME>html_object_prev_leaf</NAME>
3986 <RETURNS>HTMLObject *</RETURNS>
3990 <NAME>html_object_next_leaf_not_type</NAME>
3991 <RETURNS>HTMLObject *</RETURNS>
3992 HTMLObject *self,HTMLType t
3995 <NAME>html_object_prev_leaf_not_type</NAME>
3996 <RETURNS>HTMLObject *</RETURNS>
3997 HTMLObject *self,HTMLType t
4000 <NAME>html_object_get_head_leaf</NAME>
4001 <RETURNS>HTMLObject *</RETURNS>
4005 <NAME>html_object_get_tail_leaf</NAME>
4006 <RETURNS>HTMLObject *</RETURNS>
4010 <NAME>html_object_check_page_split</NAME>
4011 <RETURNS>gint </RETURNS>
4012 HTMLObject *self,gint y
4015 <NAME>html_object_select_range</NAME>
4016 <RETURNS>gboolean </RETURNS>
4017 HTMLObject *self,HTMLEngine *engine,guint start,gint length,gboolean queue_draw
4020 <NAME>html_object_append_selection_string</NAME>
4021 <RETURNS>void </RETURNS>
4022 HTMLObject *self,GString *buffer
4025 <NAME>html_object_get_selection_string</NAME>
4026 <RETURNS>gchar *</RETURNS>
4030 <NAME>html_object_save</NAME>
4031 <RETURNS>gboolean </RETURNS>
4032 HTMLObject *self,HTMLEngineSaveState *state
4035 <NAME>html_object_save_plain</NAME>
4036 <RETURNS>gboolean </RETURNS>
4037 HTMLObject *self,HTMLEngineSaveState *state,gint requested_width
4040 <NAME>html_object_change_set</NAME>
4041 <RETURNS>void </RETURNS>
4042 HTMLObject *self,HTMLChangeFlags f
4045 <NAME>html_object_change_set_down</NAME>
4046 <RETURNS>void </RETURNS>
4047 HTMLObject *self,HTMLChangeFlags f
4050 <NAME>html_object_set_data</NAME>
4051 <RETURNS>void </RETURNS>
4052 HTMLObject *object,const gchar *key,gpointer data
4055 <NAME>html_object_get_data</NAME>
4056 <RETURNS>gpointer </RETURNS>
4057 HTMLObject *object,const gchar *key
4060 <NAME>html_object_copy_data_from_object</NAME>
4061 <RETURNS>void </RETURNS>
4062 HTMLObject *dst,HTMLObject *src
4065 <NAME>html_object_get_bound_list</NAME>
4066 <RETURNS>GList *</RETURNS>
4067 HTMLObject *obj,GList *list
4070 <NAME>html_object_move_cursor_before_remove</NAME>
4071 <RETURNS>void </RETURNS>
4072 HTMLObject *o,HTMLEngine *e
4075 <NAME>html_object_could_remove_whole</NAME>
4076 <RETURNS>gboolean </RETURNS>
4077 HTMLObject *o,GList *from,GList *to,GList *left,GList *right
4080 <NAME>html_object_check_cut_lists</NAME>
4081 <RETURNS>void </RETURNS>
4082 HTMLObject *self,HTMLObject *replacement,GList *left,GList *right
4085 <NAME>HTML_TYPE_PAINTER</NAME>
4086 #define HTML_TYPE_PAINTER (html_painter_get_type ())
4089 <NAME>HTML_PAINTER</NAME>
4090 #define HTML_PAINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE_PAINTER, HTMLPainter))
4093 <NAME>HTML_PAINTER_CLASS</NAME>
4094 #define HTML_PAINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HTML_TYPE_PAINTER, HTMLPainterClass))
4097 <NAME>HTML_IS_PAINTER</NAME>
4098 #define HTML_IS_PAINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HTML_TYPE_PAINTER))
4101 <NAME>HTML_IS_PAINTER_CLASS</NAME>
4102 #define HTML_IS_PAINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HTML_TYPE_PAINTER))
4105 <NAME>HTMLPainter</NAME>
4106 struct HTMLPainter {
4109 HTMLFontManager font_manager;
4110 HTMLColorSet *color_set;
4111 HTMLFontFace *font_face;
4112 GtkHTMLFontStyle font_style;
4116 <NAME>html_painter_get_type</NAME>
4117 <RETURNS>GtkType </RETURNS>
4121 <NAME>html_painter_new</NAME>
4122 <RETURNS>HTMLPainter *</RETURNS>
4126 <NAME>html_painter_begin</NAME>
4127 <RETURNS>void </RETURNS>
4128 HTMLPainter *painter,int x1,int y1,int x2,int y2
4131 <NAME>html_painter_end</NAME>
4132 <RETURNS>void </RETURNS>
4133 HTMLPainter *painter
4136 <NAME>html_painter_alloc_color</NAME>
4137 <RETURNS>void </RETURNS>
4138 HTMLPainter *painter,GdkColor *color
4141 <NAME>html_painter_free_color</NAME>
4142 <RETURNS>void </RETURNS>
4143 HTMLPainter *painter,GdkColor *color
4146 <NAME>html_painter_set_color_set</NAME>
4147 <RETURNS>void </RETURNS>
4148 HTMLPainter *painter,HTMLColorSet *color_set
4151 <NAME>html_painter_get_default_background_color</NAME>
4152 <RETURNS>const GdkColor *</RETURNS>
4153 HTMLPainter *painter
4156 <NAME>html_painter_get_default_foreground_color</NAME>
4157 <RETURNS>const GdkColor *</RETURNS>
4158 HTMLPainter *painter
4161 <NAME>html_painter_get_default_link_color</NAME>
4162 <RETURNS>const GdkColor *</RETURNS>
4163 HTMLPainter *painter
4166 <NAME>html_painter_get_default_highlight_color</NAME>
4167 <RETURNS>const GdkColor *</RETURNS>
4168 HTMLPainter *painter
4171 <NAME>html_painter_get_default_highlight_foreground_color</NAME>
4172 <RETURNS>const GdkColor *</RETURNS>
4173 HTMLPainter *painter
4176 <NAME>html_painter_get_black</NAME>
4177 <RETURNS>const GdkColor *</RETURNS>
4178 const HTMLPainter *painter
4181 <NAME>html_painter_find_font_face</NAME>
4182 <RETURNS>HTMLFontFace *</RETURNS>
4183 HTMLPainter *p,const gchar *families
4186 <NAME>html_painter_set_font_style</NAME>
4187 <RETURNS>void </RETURNS>
4188 HTMLPainter *p,GtkHTMLFontStyle f
4191 <NAME>html_painter_get_font_style</NAME>
4192 <RETURNS>GtkHTMLFontStyle </RETURNS>
4196 <NAME>html_painter_set_font_face</NAME>
4197 <RETURNS>void </RETURNS>
4198 HTMLPainter *p,HTMLFontFace *f
4201 <NAME>html_painter_get_font</NAME>
4202 <RETURNS>gpointer </RETURNS>
4203 HTMLPainter *painter,HTMLFontFace *face,GtkHTMLFontStyle style
4206 <NAME>html_painter_calc_ascent</NAME>
4207 <RETURNS>guint </RETURNS>
4208 HTMLPainter *p,GtkHTMLFontStyle f,HTMLFontFace *face
4211 <NAME>html_painter_calc_descent</NAME>
4212 <RETURNS>guint </RETURNS>
4213 HTMLPainter *p,GtkHTMLFontStyle f,HTMLFontFace *face
4216 <NAME>html_painter_calc_text_width</NAME>
4217 <RETURNS>guint </RETURNS>
4218 HTMLPainter *p,const gchar *text,guint len,GtkHTMLFontStyle font_style,HTMLFontFace *face
4221 <NAME>html_painter_set_pen</NAME>
4222 <RETURNS>void </RETURNS>
4223 HTMLPainter *painter,const GdkColor *color
4226 <NAME>html_painter_draw_line</NAME>
4227 <RETURNS>void </RETURNS>
4228 HTMLPainter *painter,gint x1,gint y1,gint x2,gint y2
4231 <NAME>html_painter_draw_rect</NAME>
4232 <RETURNS>void </RETURNS>
4233 HTMLPainter *painter,gint x,gint y,gint width,gint height
4236 <NAME>html_painter_draw_text</NAME>
4237 <RETURNS>void </RETURNS>
4238 HTMLPainter *painter,gint x,gint y,const gchar *text,gint len
4241 <NAME>html_painter_fill_rect</NAME>
4242 <RETURNS>void </RETURNS>
4243 HTMLPainter *painter,gint x,gint y,gint width,gint height
4246 <NAME>html_painter_draw_pixmap</NAME>
4247 <RETURNS>void </RETURNS>
4248 HTMLPainter *painter,GdkPixbuf *pixbuf,gint x,gint y,gint scale_width,gint scale_height,const GdkColor *color
4251 <NAME>html_painter_draw_ellipse</NAME>
4252 <RETURNS>void </RETURNS>
4253 HTMLPainter *painter,gint x,gint y,gint width,gint height
4256 <NAME>html_painter_clear</NAME>
4257 <RETURNS>void </RETURNS>
4258 HTMLPainter *painter
4261 <NAME>html_painter_set_background_color</NAME>
4262 <RETURNS>void </RETURNS>
4263 HTMLPainter *painter,const GdkColor *color
4266 <NAME>html_painter_draw_shade_line</NAME>
4267 <RETURNS>void </RETURNS>
4268 HTMLPainter *p,gint x,gint y,gint width
4271 <NAME>html_painter_draw_panel</NAME>
4272 <RETURNS>void </RETURNS>
4273 HTMLPainter *painter,GdkColor *bg,gint x,gint y,gint width,gint height,GtkHTMLEtchStyle inset,gint bordersize
4276 <NAME>html_painter_set_clip_rectangle</NAME>
4277 <RETURNS>void </RETURNS>
4278 HTMLPainter *painter,gint x,gint y,gint width,gint height
4281 <NAME>html_painter_draw_background</NAME>
4282 <RETURNS>void </RETURNS>
4283 HTMLPainter *painter,GdkColor *color,GdkPixbuf *pixbuf,gint x,gint y,gint width,gint height,gint tile_x,gint tile_y
4286 <NAME>html_painter_get_pixel_size</NAME>
4287 <RETURNS>guint </RETURNS>
4288 HTMLPainter *painter
4291 <NAME>html_painter_draw_spell_error</NAME>
4292 <RETURNS>void </RETURNS>
4293 HTMLPainter *painter,gint x,gint y,const gchar *text,guint off,gint len
4296 <NAME>html_painter_alloc_font</NAME>
4297 <RETURNS>HTMLFont *</RETURNS>
4298 HTMLPainter *painter,gchar *face_name,gdouble size,GtkHTMLFontStyle style
4301 <NAME>html_painter_ref_font</NAME>
4302 <RETURNS>void </RETURNS>
4303 HTMLPainter *painter,HTMLFont *font
4306 <NAME>html_painter_unref_font</NAME>
4307 <RETURNS>void </RETURNS>
4308 HTMLPainter *painter,HTMLFont *font
4311 <NAME>html_painter_get_space_width</NAME>
4312 <RETURNS>guint </RETURNS>
4313 HTMLPainter *painter,GtkHTMLFontStyle font_style,HTMLFontFace *face
4316 <NAME>HTML_TYPE_PRINTER</NAME>
4317 #define HTML_TYPE_PRINTER (html_printer_get_type ())
4320 <NAME>HTML_PRINTER</NAME>
4321 #define HTML_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE_PRINTER, HTMLPrinter))
4324 <NAME>HTML_PRINTER_CLASS</NAME>
4325 #define HTML_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HTML_TYPE_PRINTER, HTMLPrinterClass))
4328 <NAME>HTML_IS_PRINTER</NAME>
4329 #define HTML_IS_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HTML_TYPE_PRINTER))
4332 <NAME>HTML_IS_PRINTER_CLASS</NAME>
4333 #define HTML_IS_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HTML_TYPE_PRINTER))
4336 <NAME>HTMLPrinter</NAME>
4337 struct HTMLPrinter {
4340 GnomePrintContext *print_context;
4344 <NAME>html_printer_get_type</NAME>
4345 <RETURNS>GtkType </RETURNS>
4349 <NAME>html_printer_new</NAME>
4350 <RETURNS>HTMLPainter *</RETURNS>
4351 GnomePrintContext *print_context
4354 <NAME>html_printer_get_page_width</NAME>
4355 <RETURNS>guint </RETURNS>
4356 HTMLPrinter *printer
4359 <NAME>html_printer_get_page_height</NAME>
4360 <RETURNS>guint </RETURNS>
4361 HTMLPrinter *printer
4364 <NAME>html_printer_scale_to_gnome_print</NAME>
4365 <RETURNS>gdouble </RETURNS>
4369 <NAME>html_printer_coordinates_to_gnome_print</NAME>
4370 <RETURNS>void </RETURNS>
4371 HTMLPrinter *printer,gint engine_x,gint engine_y,gdouble *print_x_return,gdouble *print_y_return
4374 <NAME>HTML_RADIO</NAME>
4375 #define HTML_RADIO(x) ((HTMLRadio *) (x))
4378 <NAME>HTML_RADIO_CLASS</NAME>
4379 #define HTML_RADIO_CLASS(x) ((HTMLRadioClass *) (x))
4382 <NAME>HTMLRadio</NAME>
4384 HTMLEmbedded element;
4385 gint default_checked;
4389 <NAME>html_radio_class</NAME>
4390 extern HTMLRadioClass html_radio_class;
4393 <NAME>html_radio_type_init</NAME>
4394 <RETURNS>void </RETURNS>
4398 <NAME>html_radio_class_init</NAME>
4399 <RETURNS>void </RETURNS>
4400 HTMLRadioClass *klass,HTMLType type,guint object_size
4403 <NAME>html_radio_init</NAME>
4404 <RETURNS>void </RETURNS>
4405 HTMLRadio *radio,HTMLRadioClass *klass,GtkWidget *parent,gchar *name,gchar *value,gboolean checked,GSList **radio_group
4408 <NAME>html_radio_new</NAME>
4409 <RETURNS>HTMLObject *</RETURNS>
4410 GtkWidget *parent,gchar *name,gchar *value,gboolean checked,GSList **radio_group
4413 <NAME>HTMLReplace</NAME>
4414 struct HTMLReplace {
4417 void (*ask) (HTMLEngine *, gpointer);
4422 <NAME>html_replace_new</NAME>
4423 <RETURNS>HTMLReplace *</RETURNS>
4424 const gchar *text, void (*ask) (HTMLEngine *, gpointer), gpointer ask_data
4427 <NAME>html_replace_destroy</NAME>
4428 <RETURNS>void </RETURNS>
4429 HTMLReplace *replace
4432 <NAME>HTML_RULE</NAME>
4433 #define HTML_RULE(x) ((HTMLRule *) (x))
4436 <NAME>HTML_RULE_CLASS</NAME>
4437 #define HTML_RULE_CLASS(x) ((HTMLRuleClass *) (x))
4440 <NAME>HTMLRule</NAME>
4447 HTMLHAlignType halign;
4451 <NAME>html_rule_class</NAME>
4452 extern HTMLRuleClass html_rule_class;
4455 <NAME>html_rule_type_init</NAME>
4456 <RETURNS>void </RETURNS>
4460 <NAME>html_rule_class_init</NAME>
4461 <RETURNS>void </RETURNS>
4462 HTMLRuleClass *klass,HTMLType type,guint object_size
4465 <NAME>html_rule_init</NAME>
4466 <RETURNS>void </RETURNS>
4467 HTMLRule *rule,HTMLRuleClass *klass,gint length,gint percent,gint size,gboolean shade,HTMLHAlignType halign
4470 <NAME>html_rule_new</NAME>
4471 <RETURNS>HTMLObject *</RETURNS>
4472 gint length,gint percent,gint size,gboolean shade,HTMLHAlignType halign
4475 <NAME>HTMLSearch</NAME>
4483 gboolean case_sensitive;
4494 regex_t *reb; /* regex buffer */
4498 <NAME>html_search_new</NAME>
4499 <RETURNS>HTMLSearch *</RETURNS>
4500 HTMLEngine *e,const gchar *text,gboolean case_sensitive,gboolean forward,gboolean regular
4503 <NAME>html_search_destroy</NAME>
4504 <RETURNS>void </RETURNS>
4508 <NAME>html_search_push</NAME>
4509 <RETURNS>void </RETURNS>
4510 HTMLSearch *search, HTMLObject *obj
4513 <NAME>html_search_pop</NAME>
4514 <RETURNS>HTMLObject *</RETURNS>
4518 <NAME>html_search_child_on_stack</NAME>
4519 <RETURNS>gboolean </RETURNS>
4520 HTMLSearch *search, HTMLObject *obj
4523 <NAME>html_search_next_parent</NAME>
4524 <RETURNS>gboolean </RETURNS>
4528 <NAME>html_search_set_text</NAME>
4529 <RETURNS>void </RETURNS>
4530 HTMLSearch *search,const gchar *text
4533 <NAME>html_search_set_forward</NAME>
4534 <RETURNS>void </RETURNS>
4535 HTMLSearch *search,gboolean forward
4538 <NAME>HTML_SELECT</NAME>
4539 #define HTML_SELECT(x) ((HTMLSelect *) (x))
4542 <NAME>HTML_SELECT_CLASS</NAME>
4543 #define HTML_SELECT_CLASS(x) ((HTMLSelectClass *) (x))
4546 <NAME>HTMLSelect</NAME>
4548 HTMLEmbedded element;
4552 gint default_selected;
4556 GList *default_selection;
4562 <NAME>html_select_class</NAME>
4563 extern HTMLSelectClass html_select_class;
4566 <NAME>html_select_type_init</NAME>
4567 <RETURNS>void </RETURNS>
4571 <NAME>html_select_class_init</NAME>
4572 <RETURNS>void </RETURNS>
4573 HTMLSelectClass *klass,HTMLType type,guint object_size
4576 <NAME>html_select_init</NAME>
4577 <RETURNS>void </RETURNS>
4578 HTMLSelect *ti,HTMLSelectClass *klass,GtkWidget *parent,gchar *name,gint size,gboolean multi
4581 <NAME>html_select_new</NAME>
4582 <RETURNS>HTMLObject *</RETURNS>
4583 GtkWidget *parent,gchar *name,gint size,gboolean multi
4586 <NAME>html_select_add_option</NAME>
4587 <RETURNS>void </RETURNS>
4588 HTMLSelect *select,gchar *value,gboolean selected
4591 <NAME>html_select_set_text</NAME>
4592 <RETURNS>void </RETURNS>
4593 HTMLSelect *select,gchar *text
4596 <NAME>html_engine_select_interval</NAME>
4597 <RETURNS>void </RETURNS>
4598 HTMLEngine *e,HTMLInterval *i
4601 <NAME>html_engine_select_region</NAME>
4602 <RETURNS>void </RETURNS>
4603 HTMLEngine *e,gint x1,gint y1,gint x2,gint y2
4606 <NAME>html_engine_select_word</NAME>
4607 <RETURNS>void </RETURNS>
4611 <NAME>html_engine_select_line</NAME>
4612 <RETURNS>void </RETURNS>
4616 <NAME>html_engine_unselect_all</NAME>
4617 <RETURNS>void </RETURNS>
4621 <NAME>html_engine_clear_selection</NAME>
4622 <RETURNS>void </RETURNS>
4626 <NAME>html_engine_deactivate_selection</NAME>
4627 <RETURNS>void </RETURNS>
4631 <NAME>html_engine_disable_selection</NAME>
4632 <RETURNS>void </RETURNS>
4636 <NAME>html_engine_get_selection_string</NAME>
4637 <RETURNS>gchar *</RETURNS>
4641 <NAME>html_engine_is_selection_active</NAME>
4642 <RETURNS>gboolean </RETURNS>
4646 <NAME>html_engine_activate_selection</NAME>
4647 <RETURNS>void </RETURNS>
4648 HTMLEngine *e,guint32 time
4651 <NAME>HTML_NUM_FONT_SIZES</NAME>
4652 #define HTML_NUM_FONT_SIZES 7
4655 <NAME>HTMLSettings</NAME>
4656 struct HTMLSettings {
4657 gint fontSizes [HTML_NUM_FONT_SIZES];
4660 gchar *fontBaseFace;
4661 gchar *fixedFontFace;
4663 guint underlineLinks : 1;
4664 guint forceDefault : 1;
4666 HTMLColorSet *color_set;
4670 <NAME>html_settings_new</NAME>
4671 <RETURNS>HTMLSettings *</RETURNS>
4675 <NAME>html_settings_reset</NAME>
4676 <RETURNS>void </RETURNS>
4677 HTMLSettings *settings,HTMLSettings *orig,HTMLPainter *painter
4680 <NAME>html_settings_destroy</NAME>
4681 <RETURNS>void </RETURNS>
4682 HTMLSettings *settings
4685 <NAME>html_settings_set_font_sizes</NAME>
4686 <RETURNS>void </RETURNS>
4687 HTMLSettings *settings,const gint *newFontSizes
4690 <NAME>html_settings_get_font_sizes</NAME>
4691 <RETURNS>void </RETURNS>
4692 HTMLSettings *settings,gint *fontSizes
4695 <NAME>html_settings_reset_font_sizes</NAME>
4696 <RETURNS>void </RETURNS>
4697 HTMLSettings *settings
4700 <NAME>html_settings_copy</NAME>
4701 <RETURNS>void </RETURNS>
4702 HTMLSettings *dest, HTMLSettings *src
4705 <NAME>html_settings_set_font_base_face</NAME>
4706 <RETURNS>void </RETURNS>
4707 HTMLSettings *settings, const gchar *face
4710 <NAME>html_settings_set_fixed_font_face</NAME>
4711 <RETURNS>void </RETURNS>
4712 HTMLSettings *settings, const gchar *face
4715 <NAME>HTMLStack</NAME>
4717 HTMLStackFreeFunc free_func;
4723 <NAME>html_stack_new</NAME>
4724 <RETURNS>HTMLStack *</RETURNS>
4725 HTMLStackFreeFunc free_func
4728 <NAME>html_stack_clear</NAME>
4729 <RETURNS>void </RETURNS>
4733 <NAME>html_stack_destroy</NAME>
4734 <RETURNS>void </RETURNS>
4738 <NAME>html_stack_pop</NAME>
4739 <RETURNS>gpointer </RETURNS>
4743 <NAME>html_stack_top</NAME>
4744 <RETURNS>gpointer </RETURNS>
4748 <NAME>html_stack_push</NAME>
4749 <RETURNS>void </RETURNS>
4750 HTMLStack *stack, gpointer data
4753 <NAME>html_stack_is_empty</NAME>
4754 <RETURNS>gboolean </RETURNS>
4758 <NAME>html_stack_count</NAME>
4759 <RETURNS>guint </RETURNS>
4763 <NAME>HTMLStringTokenizer</NAME>
4764 struct HTMLStringTokenizer {
4773 <NAME>html_string_tokenizer_new</NAME>
4774 <RETURNS>HTMLStringTokenizer *</RETURNS>
4778 <NAME>html_string_tokenizer_destroy</NAME>
4779 <RETURNS>void </RETURNS>
4780 HTMLStringTokenizer *st
4783 <NAME>html_string_tokenizer_tokenize</NAME>
4784 <RETURNS>void </RETURNS>
4785 HTMLStringTokenizer *t,const gchar *str,gchar *separators
4788 <NAME>html_string_tokenizer_has_more_tokens</NAME>
4789 <RETURNS>gboolean </RETURNS>
4790 HTMLStringTokenizer *t
4793 <NAME>html_string_tokenizer_next_token</NAME>
4794 <RETURNS>gchar *</RETURNS>
4795 HTMLStringTokenizer *t
4798 <NAME>HTML_TABLE</NAME>
4799 #define HTML_TABLE(x) ((HTMLTable *)(x))
4802 <NAME>HTML_TABLE_CLASS</NAME>
4803 #define HTML_TABLE_CLASS(x) ((HTMLTableClass *)(x))
4806 <NAME>HTMLTable</NAME>
4810 gint specified_width;
4812 HTMLTableCell ***cells;
4813 gint col, totalCols;
4814 gint row, totalRows, allocRows;
4819 HTMLVAlignType capAlign;
4823 GArray *columnFixed;
4828 HTMLImagePointer *bgPixmap;
4832 <NAME>html_table_type_init</NAME>
4833 <RETURNS>void </RETURNS>
4837 <NAME>html_table_class_init</NAME>
4838 <RETURNS>void </RETURNS>
4839 HTMLTableClass *klass,HTMLType type,guint object_size
4842 <NAME>html_table_init</NAME>
4843 <RETURNS>void </RETURNS>
4844 HTMLTable *table,HTMLTableClass *klass,gint width,gint percent,gint padding,gint spacing,gint border
4847 <NAME>html_table_new</NAME>
4848 <RETURNS>HTMLObject *</RETURNS>
4849 gint width,gint percent,gint padding,gint spacing,gint border
4852 <NAME>html_table_end_row</NAME>
4853 <RETURNS>void </RETURNS>
4857 <NAME>html_table_start_row</NAME>
4858 <RETURNS>void </RETURNS>
4862 <NAME>html_table_add_cell</NAME>
4863 <RETURNS>void </RETURNS>
4864 HTMLTable *table,HTMLTableCell *cell
4867 <NAME>html_table_end_table</NAME>
4868 <RETURNS>void </RETURNS>
4872 <NAME>HTML_TABLE_CELL</NAME>
4873 #define HTML_TABLE_CELL(x) ((HTMLTableCell *)(x))
4876 <NAME>HTML_TABLE_CELL_CLASS</NAME>
4877 #define HTML_TABLE_CELL_CLASS(x) ((HTMLTableCellClass *)(x))
4880 <NAME>HTMLTableCell</NAME>
4881 struct HTMLTableCell {
4896 guint bg_allocated : 1;
4898 HTMLImagePointer *bgPixmap;
4899 gboolean have_bgPixmap;
4903 <NAME>html_table_cell_class</NAME>
4904 extern HTMLTableCellClass html_table_cell_class;
4907 <NAME>html_table_cell_type_init</NAME>
4908 <RETURNS>void </RETURNS>
4912 <NAME>html_table_cell_class_init</NAME>
4913 <RETURNS>void </RETURNS>
4914 HTMLTableCellClass *klass,HTMLType type,guint object_size
4917 <NAME>html_table_cell_init</NAME>
4918 <RETURNS>void </RETURNS>
4919 HTMLTableCell *cell,HTMLTableCellClass *klass,gint percent,gint rs,gint cs,gint pad
4922 <NAME>html_table_cell_new</NAME>
4923 <RETURNS>HTMLObject *</RETURNS>
4924 gint percent,gint rs,gint cs,gint pad
4927 <NAME>html_table_cell_link</NAME>
4928 <RETURNS>void </RETURNS>
4932 <NAME>html_table_cell_unlink</NAME>
4933 <RETURNS>void </RETURNS>
4937 <NAME>html_table_cell_set_fixed_width</NAME>
4938 <RETURNS>void </RETURNS>
4939 HTMLTableCell *cell,gint width
4942 <NAME>html_table_cell_set_fixed_height</NAME>
4943 <RETURNS>void </RETURNS>
4944 HTMLTableCell *cell,gint height
4947 <NAME>html_table_cell_set_bg_pixmap</NAME>
4948 <RETURNS>void </RETURNS>
4949 HTMLTableCell *cell,HTMLImagePointer *imagePtr
4952 <NAME>html_table_cell_set_position</NAME>
4953 <RETURNS>void </RETURNS>
4954 HTMLTableCell *cell,gint row,gint col
4957 <NAME>html_table_cell_get_fixed_width</NAME>
4958 <RETURNS>gint </RETURNS>
4959 HTMLTableCell *cell,HTMLPainter *painter
4962 <NAME>HTML_TEXT</NAME>
4963 #define HTML_TEXT(x) ((HTMLText *)(x))
4966 <NAME>HTML_TEXT_CLASS</NAME>
4967 #define HTML_TEXT_CLASS(x) ((HTMLTextClass *)(x))
4970 <NAME>SpellError</NAME>
4977 <NAME>HTMLText</NAME>
4986 GtkHTMLFontStyle font_style;
4991 guint select_length;
4993 GList *spell_errors;
4997 <NAME>html_text_class</NAME>
4998 extern HTMLTextClass html_text_class;
5001 <NAME>html_text_type_init</NAME>
5002 <RETURNS>void </RETURNS>
5006 <NAME>html_text_class_init</NAME>
5007 <RETURNS>void </RETURNS>
5008 HTMLTextClass *klass,HTMLType type,guint object_size
5011 <NAME>html_text_init</NAME>
5012 <RETURNS>void </RETURNS>
5013 HTMLText *text_object,HTMLTextClass *klass,const gchar *text,gint len,GtkHTMLFontStyle font_style,HTMLColor *color
5016 <NAME>html_text_new</NAME>
5017 <RETURNS>HTMLObject *</RETURNS>
5018 const gchar *text,GtkHTMLFontStyle font_style,HTMLColor *color
5021 <NAME>html_text_new_with_len</NAME>
5022 <RETURNS>HTMLObject *</RETURNS>
5023 const gchar *text,gint len,GtkHTMLFontStyle font_style,HTMLColor *color
5026 <NAME>html_text_queue_draw</NAME>
5027 <RETURNS>void </RETURNS>
5028 HTMLText *text,HTMLEngine *engine,guint offset,guint len
5031 <NAME>html_text_get_font_style</NAME>
5032 <RETURNS>GtkHTMLFontStyle </RETURNS>
5033 const HTMLText *text
5036 <NAME>html_text_get_color</NAME>
5037 <RETURNS>HTMLColor *</RETURNS>
5038 HTMLText *text,HTMLPainter *painter
5041 <NAME>html_text_set_font_style</NAME>
5042 <RETURNS>void </RETURNS>
5043 HTMLText *text,HTMLEngine *engine,GtkHTMLFontStyle style
5046 <NAME>html_text_set_color</NAME>
5047 <RETURNS>void </RETURNS>
5048 HTMLText *text,HTMLEngine *engine,HTMLColor *color
5051 <NAME>html_text_append</NAME>
5052 <RETURNS>void </RETURNS>
5053 HTMLText *text,const gchar *str,gint len
5056 <NAME>html_text_set_text</NAME>
5057 <RETURNS>void </RETURNS>
5058 HTMLText *text,const gchar *new_text
5061 <NAME>html_text_set_font_face</NAME>
5062 <RETURNS>void </RETURNS>
5063 HTMLText *text,HTMLFontFace *face
5066 <NAME>html_text_get_nb_width</NAME>
5067 <RETURNS>gint </RETURNS>
5068 HTMLText *text,HTMLPainter *painter,gboolean begin
5071 <NAME>html_text_get_bytes</NAME>
5072 <RETURNS>guint </RETURNS>
5076 <NAME>html_text_get_index</NAME>
5077 <RETURNS>guint </RETURNS>
5078 HTMLText *text,guint offset
5081 <NAME>html_text_get_char</NAME>
5082 <RETURNS>unicode_char_t </RETURNS>
5083 HTMLText *text,guint offset
5086 <NAME>html_text_get_text</NAME>
5087 <RETURNS>gchar *</RETURNS>
5088 HTMLText *text,guint offset
5091 <NAME>html_text_spell_errors_clear</NAME>
5092 <RETURNS>void </RETURNS>
5096 <NAME>html_text_spell_errors_clear_interval</NAME>
5097 <RETURNS>void </RETURNS>
5098 HTMLText *text,HTMLInterval *i
5101 <NAME>html_text_spell_errors_add</NAME>
5102 <RETURNS>void </RETURNS>
5103 HTMLText *text,guint off,guint len
5106 <NAME>html_text_magic_link</NAME>
5107 <RETURNS>gboolean </RETURNS>
5108 HTMLText *text,HTMLEngine *engine,guint offset
5111 <NAME>html_text_trail_space_width</NAME>
5112 <RETURNS>gint </RETURNS>
5113 HTMLText *text,HTMLPainter *painter
5116 <NAME>html_text_request_word_width</NAME>
5117 <RETURNS>void </RETURNS>
5118 HTMLText *text,HTMLPainter *painter
5121 <NAME>html_text_convert_nbsp</NAME>
5122 <RETURNS>gboolean </RETURNS>
5123 HTMLText *text,gboolean free_text
5126 <NAME>HTMLTextHelperFunc</NAME>
5127 <RETURNS>HTMLObject *</RETURNS>
5128 HTMLText *, gint begin, gint end
5131 <NAME>html_text_op_copy_helper</NAME>
5132 <RETURNS>HTMLObject *</RETURNS>
5133 HTMLText *text,GList *from,GList *to,guint *len,HTMLTextHelperFunc f
5136 <NAME>html_text_op_cut_helper</NAME>
5137 <RETURNS>HTMLObject *</RETURNS>
5138 HTMLText *text,HTMLEngine *e,GList *from,GList *to,GList *left,GList *right,guint *len,HTMLTextHelperFunc f
5141 <NAME>html_text_clear_word_width</NAME>
5142 <RETURNS>void </RETURNS>
5146 <NAME>HTML_TEXTAREA</NAME>
5147 #define HTML_TEXTAREA(x) ((HTMLTextArea *) (x))
5150 <NAME>HTML_TEXTAREA_CLASS</NAME>
5151 #define HTML_TEXTAREA_CLASS(x) ((HTMLTextAreaClass *) (x))
5154 <NAME>HTMLTextArea</NAME>
5155 struct HTMLTextArea {
5156 HTMLEmbedded element;
5160 gchar *default_text;
5164 <NAME>html_textarea_class</NAME>
5165 extern HTMLTextAreaClass html_textarea_class;
5168 <NAME>html_textarea_type_init</NAME>
5169 <RETURNS>void </RETURNS>
5173 <NAME>html_textarea_class_init</NAME>
5174 <RETURNS>void </RETURNS>
5175 HTMLTextAreaClass *klass,HTMLType type,guint object_size
5178 <NAME>html_textarea_init</NAME>
5179 <RETURNS>void </RETURNS>
5180 HTMLTextArea *ti,HTMLTextAreaClass *klass,GtkWidget *parent,gchar *name,gint r,gint c
5183 <NAME>html_textarea_new</NAME>
5184 <RETURNS>HTMLObject *</RETURNS>
5185 GtkWidget *parent,gchar *name,gint r,gint c
5188 <NAME>html_textarea_set_text</NAME>
5189 <RETURNS>void </RETURNS>
5190 HTMLTextArea *textarea,gchar *text
5193 <NAME>HTML_TEXTINPUT</NAME>
5194 #define HTML_TEXTINPUT(x) ((HTMLTextInput *) (x))
5197 <NAME>HTML_TEXTINPUT_CLASS</NAME>
5198 #define HTML_TEXTINPUT_CLASS(x) ((HTMLTextInputClass *) (x))
5201 <NAME>HTMLTextInput</NAME>
5202 struct HTMLTextInput {
5203 HTMLEmbedded element;
5207 gchar *default_text;
5211 <NAME>html_text_input_class</NAME>
5212 extern HTMLTextInputClass html_text_input_class;
5215 <NAME>html_text_input_type_init</NAME>
5216 <RETURNS>void </RETURNS>
5220 <NAME>html_text_input_class_init</NAME>
5221 <RETURNS>void </RETURNS>
5222 HTMLTextInputClass *klass,HTMLType type,guint object_size
5225 <NAME>html_text_input_init</NAME>
5226 <RETURNS>void </RETURNS>
5227 HTMLTextInput *ti,HTMLTextInputClass *klass,GtkWidget *parent,gchar *name,gchar *value,gint size,gint maxlen,gboolean password
5230 <NAME>html_text_input_new</NAME>
5231 <RETURNS>HTMLObject *</RETURNS>
5232 GtkWidget *parent,gchar *name,gchar *value,gint size,gint maxlen,gboolean password
5235 <NAME>HTML_TEXT_SLAVE</NAME>
5236 #define HTML_TEXT_SLAVE(x) ((HTMLTextSlave *) (x))
5239 <NAME>HTML_TEXT_SLAVE_CLASS</NAME>
5240 #define HTML_TEXT_SLAVE_CLASS(x) ((HTMLTextSlaveClass *) (x))
5243 <NAME>HTMLTextSlave</NAME>
5244 struct HTMLTextSlave {
5254 <NAME>html_text_slave_type_init</NAME>
5255 <RETURNS>void </RETURNS>
5259 <NAME>html_text_slave_class_init</NAME>
5260 <RETURNS>void </RETURNS>
5261 HTMLTextSlaveClass *klass,HTMLType type,guint object_size
5264 <NAME>html_text_slave_init</NAME>
5265 <RETURNS>void </RETURNS>
5266 HTMLTextSlave *slave,HTMLTextSlaveClass *klass,HTMLText *owner,guint posStart,guint posLen,guint start_word
5269 <NAME>html_text_slave_new</NAME>
5270 <RETURNS>HTMLObject *</RETURNS>
5271 HTMLText *owner,guint posStart,guint posLen,guint start_word
5274 <NAME>TAG_ESCAPE</NAME>
5275 #define TAG_ESCAPE 13
5278 <NAME>TAB_SIZE</NAME>
5282 <NAME>html_tokenizer_new</NAME>
5283 <RETURNS>HTMLTokenizer *</RETURNS>
5287 <NAME>html_tokenizer_destroy</NAME>
5288 <RETURNS>void </RETURNS>
5289 HTMLTokenizer *tokenizer
5292 <NAME>html_tokenizer_begin</NAME>
5293 <RETURNS>void </RETURNS>
5294 HTMLTokenizer *t,gchar *content_type
5297 <NAME>html_tokenizer_write</NAME>
5298 <RETURNS>void </RETURNS>
5299 HTMLTokenizer *t,const gchar *string,size_t size
5302 <NAME>html_tokenizer_end</NAME>
5303 <RETURNS>void </RETURNS>
5307 <NAME>html_tokenizer_peek_token</NAME>
5308 <RETURNS>gchar *</RETURNS>
5312 <NAME>html_tokenizer_next_token</NAME>
5313 <RETURNS>gchar *</RETURNS>
5317 <NAME>html_tokenizer_has_more_tokens</NAME>
5318 <RETURNS>gboolean </RETURNS>
5322 <NAME>g_unichar_to_utf8</NAME>
5323 <RETURNS>gint </RETURNS>
5324 gint c, gchar *outbuf
5327 <NAME>html_types_init</NAME>
5328 <RETURNS>void </RETURNS>
5332 <NAME>html_type_name</NAME>
5333 <RETURNS>const gchar *</RETURNS>
5337 <NAME>html_type_from_name</NAME>
5338 <RETURNS>HTMLType </RETURNS>
5342 <NAME>HTMLObject</NAME>
5345 <NAME>HTMLObjectClass</NAME>
5348 <NAME>HTMLAnchor</NAME>
5351 <NAME>HTMLAnchorClass</NAME>
5354 <NAME>HTMLBlockStackElement</NAME>
5357 <NAME>HTMLButton</NAME>
5360 <NAME>HTMLButtonClass</NAME>
5363 <NAME>HTMLCheckBox</NAME>
5366 <NAME>HTMLCheckBoxClass</NAME>
5369 <NAME>HTMLClue</NAME>
5372 <NAME>HTMLClueAligned</NAME>
5375 <NAME>HTMLClueAlignedClass</NAME>
5378 <NAME>HTMLClueClass</NAME>
5381 <NAME>HTMLClueFlow</NAME>
5384 <NAME>HTMLClueFlowClass</NAME>
5387 <NAME>HTMLClueH</NAME>
5390 <NAME>HTMLClueHClass</NAME>
5393 <NAME>HTMLClueV</NAME>
5396 <NAME>HTMLClueVClass</NAME>
5399 <NAME>HTMLColor</NAME>
5402 <NAME>HTMLColorSet</NAME>
5405 <NAME>HTMLCursor</NAME>
5408 <NAME>HTMLDrawQueue</NAME>
5411 <NAME>HTMLDrawQueueClearElement</NAME>
5414 <NAME>HTMLEmbedded</NAME>
5417 <NAME>HTMLEmbeddedClass</NAME>
5420 <NAME>HTMLEngine</NAME>
5423 <NAME>HTMLEngineClass</NAME>
5426 <NAME>HTMLEngineEditSelectionUpdater</NAME>
5429 <NAME>HTMLEngineSaveState</NAME>
5432 <NAME>HTMLFontFace</NAME>
5433 typedef gchar HTMLFontFace;
5436 <NAME>HTMLFont</NAME>
5439 <NAME>HTMLFontManager</NAME>
5442 <NAME>HTMLFontSet</NAME>
5445 <NAME>HTMLForm</NAME>
5448 <NAME>HTMLGdkPainter</NAME>
5451 <NAME>HTMLGdkPainterClass</NAME>
5454 <NAME>HTMLHidden</NAME>
5457 <NAME>HTMLHiddenClass</NAME>
5460 <NAME>HTMLHSpace</NAME>
5463 <NAME>HTMLHSpaceClass</NAME>
5466 <NAME>HTMLIFrame</NAME>
5469 <NAME>HTMLIFrameClass</NAME>
5472 <NAME>HTMLImage</NAME>
5475 <NAME>HTMLImageAnimation</NAME>
5478 <NAME>HTMLImageClass</NAME>
5481 <NAME>HTMLImageFactory</NAME>
5484 <NAME>HTMLImageInput</NAME>
5487 <NAME>HTMLImageInputClass</NAME>
5490 <NAME>HTMLImagePointer</NAME>
5493 <NAME>HTMLInterval</NAME>
5496 <NAME>HTMLLinkText</NAME>
5499 <NAME>HTMLLinkTextClass</NAME>
5502 <NAME>HTMLList</NAME>
5505 <NAME>HTMLPainter</NAME>
5508 <NAME>HTMLPainterClass</NAME>
5511 <NAME>HTMLPoint</NAME>
5514 <NAME>HTMLPrinter</NAME>
5517 <NAME>HTMLPrinterClass</NAME>
5520 <NAME>HTMLRadio</NAME>
5523 <NAME>HTMLRadioClass</NAME>
5526 <NAME>HTMLReplace</NAME>
5529 <NAME>HTMLRule</NAME>
5532 <NAME>HTMLRuleClass</NAME>
5535 <NAME>HTMLSelect</NAME>
5538 <NAME>HTMLSelectClass</NAME>
5541 <NAME>HTMLSearch</NAME>
5544 <NAME>HTMLSettings</NAME>
5547 <NAME>HTMLStack</NAME>
5550 <NAME>HTMLStringTokenizer</NAME>
5553 <NAME>HTMLTable</NAME>
5556 <NAME>HTMLTableCell</NAME>
5559 <NAME>HTMLTableCellClass</NAME>
5562 <NAME>HTMLTableClass</NAME>
5565 <NAME>HTMLText</NAME>
5568 <NAME>HTMLTextArea</NAME>
5571 <NAME>HTMLTextAreaClass</NAME>
5574 <NAME>HTMLTextClass</NAME>
5577 <NAME>HTMLTextInput</NAME>
5580 <NAME>HTMLTextInputClass</NAME>
5583 <NAME>HTMLTextSlave</NAME>
5586 <NAME>HTMLTextSlaveClass</NAME>
5589 <NAME>HTMLTokenizer</NAME>
5592 <NAME>HTMLUndo</NAME>
5595 <NAME>HTMLUndoData</NAME>
5598 <NAME>HTMLUndoAction</NAME>
5601 <NAME>HTMLVSpace</NAME>
5604 <NAME>HTMLVSpaceClass</NAME>
5607 <NAME>SpellError</NAME>
5610 <NAME>HTMLObjectForallFunc</NAME>
5611 <RETURNS>void </RETURNS>
5617 <NAME>HTMLFontManagerAllocFont</NAME>
5618 <RETURNS>gpointer </RETURNS>
5621 GtkHTMLFontStyle style
5624 <NAME>HTMLFontManagerRefFont</NAME>
5625 <RETURNS>void </RETURNS>
5629 <NAME>HTMLFontManagerUnrefFont</NAME>
5630 <RETURNS>void </RETURNS>
5634 <NAME>HTMLStackFreeFunc</NAME>
5635 <RETURNS>void </RETURNS>
5639 <NAME>HTMLUndoFunc</NAME>
5640 <RETURNS>void </RETURNS>
5643 HTMLUndoDirection dir
5646 <NAME>HTMLUndoDataDestroyFunc</NAME>
5647 <RETURNS>void </RETURNS>
5651 <NAME>HTMLEngineSaveReceiverFn</NAME>
5652 typedef GtkHTMLSaveReceiverFn HTMLEngineSaveReceiverFn;
5655 <NAME>HTML_UNDO_ACTION</NAME>
5656 #define HTML_UNDO_ACTION(x) ((HTMLUndoAction *) x)
5659 <NAME>HTMLUndoAction</NAME>
5660 struct HTMLUndoAction {
5662 gchar *description; /* A text description of the action, to be displayed in the menus. */
5663 HTMLUndoFunc function; /* Function to call when the action is performed. */
5664 HTMLUndoData *data; /* Data to pass to the action function when it's called. */
5665 guint position; /* Cursor position, to be set when the action is executed. */
5669 <NAME>html_undo_action_new</NAME>
5670 <RETURNS>HTMLUndoAction *</RETURNS>
5671 const gchar *description,HTMLUndoFunc function,HTMLUndoData *data,guint position
5674 <NAME>html_undo_action_destroy</NAME>
5675 <RETURNS>void </RETURNS>
5676 HTMLUndoAction *action
5679 <NAME>HTML_UNDO_LIMIT</NAME>
5680 #define HTML_UNDO_LIMIT 1024
5683 <NAME>HTMLUndo</NAME>
5685 /* List of undo actions (HTMLUndoAction). */
5687 guint undo_stack_size;
5689 /* List of redo actions (HTMLUndoAction). */
5691 guint redo_stack_size;
5693 /* these lists are stacks containing other
5694 levels undo/redo after calling html_undo_level_start */
5695 GSList *undo_levels;
5696 GSList *redo_levels;
5697 guint undo_levels_size;
5701 <NAME>HTML_UNDO_DATA</NAME>
5702 #define HTML_UNDO_DATA(x) ((HTMLUndoData *) x)
5705 <NAME>HTMLUndoData</NAME>
5706 struct HTMLUndoData {
5707 HTMLUndoDataDestroyFunc destroy;
5712 <NAME>html_undo_new</NAME>
5713 <RETURNS>HTMLUndo *</RETURNS>
5717 <NAME>html_undo_destroy</NAME>
5718 <RETURNS>void </RETURNS>
5722 <NAME>html_undo_do_undo</NAME>
5723 <RETURNS>void </RETURNS>
5724 HTMLUndo *undo,HTMLEngine *engine
5727 <NAME>html_undo_do_redo</NAME>
5728 <RETURNS>void </RETURNS>
5729 HTMLUndo *undo,HTMLEngine *engine
5732 <NAME>html_undo_discard_redo</NAME>
5733 <RETURNS>void </RETURNS>
5737 <NAME>html_undo_add_undo_action</NAME>
5738 <RETURNS>void </RETURNS>
5739 HTMLUndo *undo,HTMLUndoAction *action
5742 <NAME>html_undo_add_redo_action</NAME>
5743 <RETURNS>void </RETURNS>
5744 HTMLUndo *undo,HTMLUndoAction *action
5747 <NAME>html_undo_add_action</NAME>
5748 <RETURNS>void </RETURNS>
5749 HTMLUndo *undo,HTMLUndoAction *action,HTMLUndoDirection dir
5752 <NAME>html_undo_level_begin</NAME>
5753 <RETURNS>void </RETURNS>
5754 HTMLUndo *undo,const gchar *description
5757 <NAME>html_undo_level_end</NAME>
5758 <RETURNS>void </RETURNS>
5762 <NAME>html_undo_data_init</NAME>
5763 <RETURNS>void </RETURNS>
5767 <NAME>html_undo_data_ref</NAME>
5768 <RETURNS>void </RETURNS>
5772 <NAME>html_undo_data_unref</NAME>
5773 <RETURNS>void </RETURNS>
5777 <NAME>html_undo_direction_reverse</NAME>
5778 <RETURNS>HTMLUndoDirection </RETURNS>
5779 HTMLUndoDirection dir
5782 <NAME>HTMLURL</NAME>
5794 <NAME>HTMLURL</NAME>
5797 <NAME>html_url_new</NAME>
5798 <RETURNS>HTMLURL *</RETURNS>
5802 <NAME>html_url_destroy</NAME>
5803 <RETURNS>void </RETURNS>
5807 <NAME>html_url_dup</NAME>
5808 <RETURNS>HTMLURL *</RETURNS>
5809 const HTMLURL *url, HTMLURLDupFlags flags
5812 <NAME>html_url_set_protocol</NAME>
5813 <RETURNS>void </RETURNS>
5814 HTMLURL *url, const gchar *protocol
5817 <NAME>html_url_set_username</NAME>
5818 <RETURNS>void </RETURNS>
5819 HTMLURL *url, const gchar *username
5822 <NAME>html_url_set_password</NAME>
5823 <RETURNS>void </RETURNS>
5824 HTMLURL *url, const gchar *password
5827 <NAME>html_url_set_hostname</NAME>
5828 <RETURNS>void </RETURNS>
5829 HTMLURL *url, const gchar *password
5832 <NAME>html_url_set_port</NAME>
5833 <RETURNS>void </RETURNS>
5834 HTMLURL *url, gushort port
5837 <NAME>html_url_set_path</NAME>
5838 <RETURNS>void </RETURNS>
5839 HTMLURL *url, const gchar *path
5842 <NAME>html_url_set_reference</NAME>
5843 <RETURNS>void </RETURNS>
5844 HTMLURL *url, const gchar *reference
5847 <NAME>html_url_get_protocol</NAME>
5848 <RETURNS>const gchar *</RETURNS>
5852 <NAME>html_url_get_username</NAME>
5853 <RETURNS>const gchar *</RETURNS>
5857 <NAME>html_url_get_password</NAME>
5858 <RETURNS>const gchar *</RETURNS>
5862 <NAME>html_url_get_hostname</NAME>
5863 <RETURNS>const gchar *</RETURNS>
5867 <NAME>html_url_get_port</NAME>
5868 <RETURNS>gushort </RETURNS>
5872 <NAME>html_url_get_path</NAME>
5873 <RETURNS>const gchar *</RETURNS>
5877 <NAME>html_url_get_reference</NAME>
5878 <RETURNS>const gchar *</RETURNS>
5882 <NAME>html_url_to_string</NAME>
5883 <RETURNS>gchar *</RETURNS>
5887 <NAME>html_url_append_path</NAME>
5888 <RETURNS>HTMLURL *</RETURNS>
5889 const HTMLURL *url, const gchar *path
5892 <NAME>HTML_VSPACE</NAME>
5893 #define HTML_VSPACE(x) ((HTMLVSpace *)(x))
5896 <NAME>HTMLVSpace</NAME>
5899 HTMLClearType clear;
5903 <NAME>html_vspace_class</NAME>
5904 extern HTMLVSpaceClass html_vspace_class;
5907 <NAME>html_vspace_type_init</NAME>
5908 <RETURNS>void </RETURNS>
5912 <NAME>html_vspace_class_init</NAME>
5913 <RETURNS>void </RETURNS>
5914 HTMLVSpaceClass *klass,HTMLType type,guint object_size
5917 <NAME>html_vspace_init</NAME>
5918 <RETURNS>void </RETURNS>
5919 HTMLVSpace *vspace,HTMLVSpaceClass *klass,HTMLClearType clear
5922 <NAME>html_vspace_new</NAME>
5923 <RETURNS>HTMLObject *</RETURNS>
5927 <NAME>LEFT_BORDER</NAME>
5928 #define LEFT_BORDER 10
5931 <NAME>RIGHT_BORDER</NAME>
5932 #define RIGHT_BORDER 10
5935 <NAME>TOP_BORDER</NAME>
5936 #define TOP_BORDER 10
5939 <NAME>BOTTOM_BORDER</NAME>
5940 #define BOTTOM_BORDER 10
5943 <NAME>HTMLParser</NAME>
5950 HTMLStringTokenizer *st;
5960 /* Current indentation level. */
5963 /* For the widget */
5967 HTMLHAlignType divAlign;
5969 /* Number of tokens parsed in the current time-slice */
5976 gboolean inTextArea;
5981 HTMLStack *font_style_stack; /* Font style stack, elements are GtkHTMLFontStyles. */
5982 HTMLStack *font_face_stack;
5983 HTMLStack *color_stack; /* Color stack, elements are GdkColors. */
5984 HTMLStack *clueflow_style_stack; /* Clueflow style stack, elements are HTMLClueFlowStyles. */
5989 HTMLBlockStackElement *blockStack;
5991 /* timer id to schedule paint events */
5994 /* timer id for parsing routine */
5997 /* FIXME: replace with a `gchar *'? */
6002 /* The background pixmap, an HTMLImagePointer */
6003 gpointer bgPixmapPtr;
6005 HTMLStack *listStack; /* Stack of lists currently active */
6006 HTMLStack *embeddedStack; /* Stack of embedded "object"'s */
6007 HTMLStack *glossaryStack; /* HTMLGlossaryEntry */
6010 * This list holds strings which are displayed in the view,
6011 * but are not actually contained in the HTML source.
6012 * e.g. The numbers in an ordered list.
6018 HTMLSelect *formSelect;
6019 HTMLTextArea *formTextArea;
6024 /* This is TRUE if we cannot insert a paragraph break (which is just an
6025 extra empty line). It's set to FALSE as soon as some element is
6026 added to a flow. The purpose is to avoid having paragraph breaks to
6027 be inserted in sequence, or after elements that have some vspace of
6029 gboolean avoid_para;
6031 /* This is TRUE if we want a paragraph break to be inserted before the
6033 gboolean pending_para;
6035 /* Alignment for the pending paragraph we are going to insert. */
6036 HTMLHAlignType pending_para_alignment;
6040 <NAME>html_parser_new</NAME>
6041 <RETURNS>HTMLParser *</RETURNS>
6045 <NAME>html_parser_destroy</NAME>
6046 <RETURNS>void </RETURNS>
6050 <NAME>html_parser_begin</NAME>
6051 <RETURNS>GtkHTMLStream *</RETURNS>
6052 HTMLParser *p,char *content_type
6055 <NAME>html_parser_run</NAME>
6056 <RETURNS>void </RETURNS>
6060 <NAME>html_parser_stop</NAME>
6061 <RETURNS>void </RETURNS>
6065 <NAME>html_engine_copy</NAME>
6066 <RETURNS>void </RETURNS>
6070 <NAME>html_engine_cut</NAME>
6071 <RETURNS>void </RETURNS>
6075 <NAME>html_engine_cut_line</NAME>
6076 <RETURNS>void </RETURNS>
6080 <NAME>html_engine_delete</NAME>
6081 <RETURNS>void </RETURNS>
6085 <NAME>html_engine_paste</NAME>
6086 <RETURNS>void </RETURNS>
6090 <NAME>html_engine_paste_object</NAME>
6091 <RETURNS>void </RETURNS>
6092 HTMLEngine *e,HTMLObject *o,guint len
6095 <NAME>html_engine_paste_text</NAME>
6096 <RETURNS>void </RETURNS>
6097 HTMLEngine *e,const gchar *text,guint len
6100 <NAME>html_engine_insert_text</NAME>
6101 <RETURNS>void </RETURNS>
6102 HTMLEngine *e,const gchar *text,guint len
6105 <NAME>html_engine_insert_object</NAME>
6106 <RETURNS>void </RETURNS>
6107 HTMLEngine *e,HTMLObject *o,guint len
6110 <NAME>html_engine_insert_link</NAME>
6111 <RETURNS>void </RETURNS>
6112 HTMLEngine *e,const gchar *url,const gchar *target
6115 <NAME>html_engine_insert_empty_paragraph</NAME>
6116 <RETURNS>void </RETURNS>
6120 <NAME>html_engine_delete_n</NAME>
6121 <RETURNS>void </RETURNS>
6122 HTMLEngine *e,guint len,gboolean forward