#include <cr-box.h>
Data Fields | |
enum CRBoxType | type |
CRBoxEdge | inner_edge |
The inner edge, or content edge. | |
CRBoxEdge | padding_edge |
The padding edge. | |
CRBoxEdge | border_edge |
The border edge. | |
CRBoxEdge | outer_edge |
The outer edge aka margin edge. | |
CRBoxContent * | content |
The content (text or image) of this box. | |
gboolean | as_simple_content |
if TRUE, it means that this box has a simple content. | |
CRStyle * | style |
The value infered from what has been found in the css stylesheet. | |
CRBox * | parent |
the containing box | |
CRBox * | next |
the next box in the flow | |
CRBox * | prev |
the previous box in the flow | |
CRBox * | children |
the children (contained) boxes | |
CRBoxModel * | box_model |
CRBoxData * | box_data |
some custom data used by libcroco | |
gpointer * | app_data |
some application data that will never be used by libcroco. | |
gulong | ref_count |
Abstracts the css2 box as defined in the css2 spec in chapter 8. It is actually a tree of boxes, each being "generated" by an xml document tree node.
Definition at line 136 of file cr-box.h.
|
some application data that will never be used by libcroco. Applications are free to use it. |
|
if TRUE, it means that this box has a simple content. Simple content means either a text or image content. Normally, to be logic, if this is set to TRUE, the children pointer should be NULL ... see what I mean ? |
|
The border edge. It includes the padding edge plus a surrounding area called "border". If the border is inexistant, the border edge equals the padding edge. Definition at line 168 of file cr-box.h. Referenced by cr_box_to_string(). |
|
some custom data used by libcroco
Definition at line 222 of file cr-box.h. Referenced by cr_box_to_string(). |
|
Definition at line 219 of file cr-box.h. Referenced by cr_box_append_child(), and cr_box_insert_sibling(). |
|
the children (contained) boxes
Definition at line 217 of file cr-box.h. Referenced by cr_box_append_child(), cr_box_destroy(), and cr_box_to_string(). |
|
The content (text or image) of this box.
Definition at line 189 of file cr-box.h. Referenced by cr_box_destroy(). |
|
The inner edge, or content edge. Is the one that immediately wraps the content of the box. The content of the box may be a text, an image, or a set of boxes. If the content is a set of boxes, then this set is inevitably the set of children boxes of this current box. Definition at line 150 of file cr-box.h. Referenced by cr_box_to_string(), and cr_box_view_new_from_xml_css_bufs(). |
|
the next box in the flow
Definition at line 211 of file cr-box.h. Referenced by cr_box_append_child(), cr_box_destroy(), cr_box_insert_sibling(), and cr_box_to_string(). |
|
The outer edge aka margin edge. It includes the border edge plus a surrounding area called "margin". If the border is inexistant, the outer edge equals the border_edge. Definition at line 177 of file cr-box.h. Referenced by cr_box_to_string(). |
|
The padding edge. It includes the inner_edge plus a a surrounding area called "padding". When the padding is inexistent, the padding edge equals the inner or content edge. Definition at line 159 of file cr-box.h. Referenced by cr_box_to_string(). |
|
the containing box
Definition at line 208 of file cr-box.h. Referenced by cr_box_append_child(), cr_box_insert_sibling(), and cr_box_to_string(). |
|
the previous box in the flow
Definition at line 214 of file cr-box.h. Referenced by cr_box_append_child(), cr_box_destroy(), cr_box_insert_sibling(), and cr_box_to_string(). |
|
Definition at line 229 of file cr-box.h. Referenced by cr_box_ref(), and cr_box_unref(). |
|
The value infered from what has been found in the css stylesheet.
Definition at line 205 of file cr-box.h. Referenced by cr_box_destroy(). |
|
Definition at line 138 of file cr-box.h. Referenced by cr_box_to_string(). |