|
Graphviz
2.31.20130524.0447
|

Go to the source code of this file.
Data Structures | |
| struct | htextpara_t |
| struct | htmltxt_t |
| struct | htmlimg_t |
| struct | htmldata_t |
| struct | htmltbl_t |
| struct | htmllabel_t |
| struct | htmlcell_t |
| struct | pitem |
Defines | |
| #define | TABLE_H |
| #define | FIXED_FLAG 1 |
| #define | HALIGN_RIGHT (1 << 1) |
| #define | HALIGN_LEFT (1 << 2) |
| #define | HALIGN_MASK (HALIGN_RIGHT | HALIGN_LEFT) |
| #define | HALIGN_TEXT HALIGN_MASK |
| #define | VALIGN_TOP (1 << 3) |
| #define | VALIGN_BOTTOM (1 << 4) |
| #define | VALIGN_MASK (VALIGN_TOP | VALIGN_BOTTOM) |
| #define | BORDER_SET (1 << 5) |
| #define | PAD_SET (1 << 6) |
| #define | SPACE_SET (1 << 7) |
| #define | BALIGN_RIGHT (1 << 8) |
| #define | BALIGN_LEFT (1 << 9) |
| #define | BALIGN_MASK (BALIGN_RIGHT | BALIGN_LEFT) |
| #define | UNSET_ALIGN 0 |
| #define | HTML_UNSET 0 |
| #define | HTML_TBL 1 |
| #define | HTML_TEXT 2 |
| #define | HTML_IMAGE 3 |
| #define | HTML_VRULE 1 |
| #define | HTML_HRULE 2 |
Typedefs | |
| typedef struct htmlcell_t | htmlcell_t |
| typedef struct htmltbl_t | htmltbl_t |
Functions | |
| htmllabel_t * | parseHTML (char *, int *, int) |
| int | make_html_label (void *obj, textlabel_t *lp) |
| void | emit_html_label (GVJ_t *job, htmllabel_t *lp, textlabel_t *) |
| void | free_html_label (htmllabel_t *, int) |
| void | free_html_data (htmldata_t *) |
| void | free_html_text (htmltxt_t *) |
| void | free_html_font (htmlfont_t *) |
| boxf * | html_port (node_t *n, char *pname, int *sides) |
| int | html_path (node_t *n, port *p, int side, boxf *rv, int *k) |
| int | html_inside (node_t *n, pointf p, edge_t *e) |
| #define BALIGN_LEFT (1 << 9) |
Definition at line 33 of file htmltable.h.
| #define BALIGN_MASK (BALIGN_RIGHT | BALIGN_LEFT) |
Definition at line 34 of file htmltable.h.
| #define BALIGN_RIGHT (1 << 8) |
Definition at line 32 of file htmltable.h.
| #define BORDER_SET (1 << 5) |
Definition at line 29 of file htmltable.h.
| #define FIXED_FLAG 1 |
Definition at line 21 of file htmltable.h.
| #define HALIGN_LEFT (1 << 2) |
Definition at line 23 of file htmltable.h.
| #define HALIGN_MASK (HALIGN_RIGHT | HALIGN_LEFT) |
Definition at line 24 of file htmltable.h.
| #define HALIGN_RIGHT (1 << 1) |
Definition at line 22 of file htmltable.h.
| #define HALIGN_TEXT HALIGN_MASK |
Definition at line 25 of file htmltable.h.
| #define HTML_HRULE 2 |
Definition at line 90 of file htmltable.h.
| #define HTML_IMAGE 3 |
Definition at line 87 of file htmltable.h.
Referenced by htmlparse(), free_html_label(), and yyparse().
| #define HTML_TBL 1 |
Definition at line 85 of file htmltable.h.
Referenced by htmlparse(), emit_html_label(), free_html_label(), make_html_label(), and yyparse().
| #define HTML_TEXT 2 |
Definition at line 86 of file htmltable.h.
Referenced by htmlparse(), html_port(), and yyparse().
| #define HTML_UNSET 0 |
Definition at line 84 of file htmltable.h.
| #define HTML_VRULE 1 |
Definition at line 89 of file htmltable.h.
Referenced by htmlparse(), and yyparse().
| #define PAD_SET (1 << 6) |
Definition at line 30 of file htmltable.h.
| #define SPACE_SET (1 << 7) |
Definition at line 31 of file htmltable.h.
| #define TABLE_H |
Definition at line 19 of file htmltable.h.
| #define UNSET_ALIGN 0 |
Definition at line 36 of file htmltable.h.
| #define VALIGN_BOTTOM (1 << 4) |
Definition at line 27 of file htmltable.h.
| #define VALIGN_MASK (VALIGN_TOP | VALIGN_BOTTOM) |
Definition at line 28 of file htmltable.h.
| #define VALIGN_TOP (1 << 3) |
Definition at line 26 of file htmltable.h.
| typedef struct htmlcell_t htmlcell_t |
Definition at line 92 of file htmltable.h.
Definition at line 93 of file htmltable.h.
| void emit_html_label | ( | GVJ_t * | job, |
| htmllabel_t * | lp, | ||
| textlabel_t * | |||
| ) |
Definition at line 679 of file htmltable.c.
References htmlenv_t::pos, textlabel_t::pos, htmlenv_t::finfo, htmlfont_t::color, textlabel_t::fontcolor, htmlfont_t::name, textlabel_t::fontname, htmlfont_t::size, textlabel_t::fontsize, htmlenv_t::imgscale, agget(), GVJ_s::obj, obj_state_s::u, obj_state_s::n, htmlenv_t::objid, obj_state_s::id, htmlenv_t::objid_set, NULL, htmllabel_t::kind, HTML_TBL, htmllabel_t::u, htmllabel_t::tbl, gvrender_set_style(), GVJ_s::gvc, GVC_s::defaultlinestyle, htmltbl_t::data, htmldata_t::pencolor, gvrender_set_pencolor(), DEFAULT_COLOR, htmllabel_t::txt, and free().
Referenced by emit_label().
| void free_html_data | ( | htmldata_t * | ) |
Definition at line 725 of file htmltable.c.
References free(), htmldata_t::href, htmldata_t::port, htmldata_t::target, htmldata_t::id, htmldata_t::title, htmldata_t::bgcolor, and htmldata_t::pencolor.
| void free_html_font | ( | htmlfont_t * | ) |
Definition at line 713 of file htmltable.c.
References htmlfont_t::cnt, htmlfont_t::name, free(), and htmlfont_t::color.
Referenced by free_html_text().
| void free_html_label | ( | htmllabel_t * | , |
| int | |||
| ) |
Definition at line 805 of file htmltable.c.
References htmllabel_t::kind, HTML_TBL, htmllabel_t::u, htmllabel_t::tbl, HTML_IMAGE, free_html_img(), htmllabel_t::img, free_html_text(), htmllabel_t::txt, and free().
Referenced by free_label().
| void free_html_text | ( | htmltxt_t * | ) |
Definition at line 736 of file htmltable.c.
References htmltxt_t::paras, htmltxt_t::nparas, htextpara_t::items, htextpara_t::nitems, textpara_t::str, free(), textpara_t::font, free_html_font(), textpara_t::layout, and textpara_t::free_layout.
Referenced by free_html_label().
Definition at line 894 of file htmltable.c.
References ND_shape_info, assert, ED_tail_port, ED_head_port, GD_rankdir, GD_flip, BOTTOM, and TOP.
Definition at line 863 of file htmltable.c.
References lbl, ND_label, NULL, htmllabel_t::kind, HTML_TEXT, htmllabel_t::u, htmllabel_t::tbl, htmldata_t::box, and htmldata_t::sides.
| int make_html_label | ( | void * | obj, |
| textlabel_t * | lp | ||
| ) |
Definition at line 1976 of file htmltable.c.
References lbl, htmlenv_t::obj, agobjkind, AGRAPH, AGGRAPH, htmlenv_t::g, AGNODE, AGEDGE, htmlenv_t::finfo, htmlfont_t::size, textlabel_t::fontsize, htmlfont_t::name, textlabel_t::fontname, htmlfont_t::color, textlabel_t::fontcolor, htmlfont_t::flags, parseHTML(), textlabel_t::text, GD_charset, SMALLBUF, agxbinit(), textlabel_t::html, FALSE, textlabel_t::charset, CHAR_LATIN1, latin1ToUTF8(), htmlEntityUTF8(), free(), make_simple_label(), agxbfree(), htmllabel_t::kind, HTML_TBL, htmllabel_t::u, htmllabel_t::tbl, htmltbl_t::data, htmldata_t::pencolor, NULL, htmldata_t::box, boxf::UR, pointf_s::x, pointf_s::y, BOTTOM, RIGHT, TOP, LEFT, textlabel_t::dimen, boxf::LL, htmllabel_t::txt, htmltxt_t::box, and textlabel_t::u.
Referenced by make_label().
| htmllabel_t* parseHTML | ( | char * | , |
| int * | , | ||
| int | |||
| ) |
Definition at line 2518 of file htmlparse.c.
References SMALLBUF, str, sfont_t::cfont, NULL, sfont_t::pfont, dtopen(), Dtqueue, agxbinit(), initHTMLlexer(), htmlparse(), clearHTMLlexer(), dtclose(), agxbfree(), and yyparse().
Referenced by make_html_label().
1.7.5