Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cr-box-view.c File Reference

#include "cr-box-view.h"
#include "cr-lay-eng.h"
#include "cr-om-parser.h"
#include <libxml/tree.h>

Go to the source code of this file.

Data Structures

struct  _CRBoxViewPriv

Defines

#define PRIVATE(a_this)   ((a_this)->priv)

Functions

GType cr_box_view_get_type (void)
CRBoxViewcr_box_view_new_from_xml_css_bufs (const guchar *a_xml_buf, const guchar *a_css_buf)
CRBoxViewcr_box_view_new_from_bm (CRBoxModel *a_box_root)
enum CRStatus cr_box_view_set_box_model (CRBoxView *a_this, CRBoxModel *a_box_model)
enum CRStatus cr_box_view_layout (CRBoxView *a_this)
enum CRStatus cr_box_view_get_box_model (CRBoxView *a_this, CRBoxModel **a_box_model)
void cr_box_view_destroy (GtkObject *a_this)


Define Documentation

#define PRIVATE a_this   )     ((a_this)->priv)
 

Definition at line 34 of file cr-box-view.c.

Referenced by cr_box_view_destroy(), cr_box_view_get_box_model(), cr_box_view_layout(), cr_box_view_new_from_bm(), cr_box_view_new_from_xml_css_bufs(), cr_box_view_set_box_model(), cr_cascade_destroy(), cr_cascade_get_sheet(), cr_cascade_new(), cr_cascade_set_sheet(), cr_input_consume_char(), cr_input_consume_chars(), cr_input_consume_white_spaces(), cr_input_destroy(), cr_input_end_of_input(), cr_input_get_byte_addr(), cr_input_get_column_num(), cr_input_get_cur_byte_addr(), cr_input_get_cur_index(), cr_input_get_cur_pos(), cr_input_get_end_of_file(), cr_input_get_end_of_line(), cr_input_get_line_num(), cr_input_get_nb_bytes_left(), cr_input_increment_col_num(), cr_input_increment_line_num(), cr_input_new_from_buf(), cr_input_peek_byte(), cr_input_peek_byte2(), cr_input_peek_char(), cr_input_read_byte(), cr_input_read_char(), cr_input_ref(), cr_input_seek_index(), cr_input_set_column_num(), cr_input_set_cur_index(), cr_input_set_cur_pos(), cr_input_set_end_of_file(), cr_input_set_end_of_line(), cr_input_set_line_num(), cr_input_unref(), cr_lay_eng_create_box_model(), cr_lay_eng_destroy(), cr_lay_eng_new(), cr_om_parser_destroy(), cr_om_parser_new(), cr_om_parser_parse_buf(), cr_om_parser_parse_file(), cr_parser_destroy(), cr_parser_get_sac_handler(), cr_parser_get_use_core_grammar(), cr_parser_new(), cr_parser_parse(), cr_parser_parse_buf(), cr_parser_parse_charset(), cr_parser_parse_declaration(), cr_parser_parse_expr(), cr_parser_parse_file(), cr_parser_parse_font_face(), cr_parser_parse_import(), cr_parser_parse_media(), cr_parser_parse_page(), cr_parser_parse_ruleset(), cr_parser_parse_statement_core(), cr_parser_set_default_sac_handler(), cr_parser_set_sac_handler(), cr_parser_set_tknzr(), cr_parser_set_use_core_grammar(), cr_parser_try_to_skip_spaces_and_comments(), cr_sel_eng_destroy(), cr_sel_eng_matches_node(), cr_sel_eng_new(), cr_tknzr_consume_chars(), cr_tknzr_destroy(), cr_tknzr_get_cur_byte_addr(), cr_tknzr_get_cur_pos(), cr_tknzr_get_input(), cr_tknzr_get_nb_bytes_left(), cr_tknzr_get_next_token(), cr_tknzr_parse_token(), cr_tknzr_peek_byte(), cr_tknzr_peek_byte2(), cr_tknzr_peek_char(), cr_tknzr_read_byte(), cr_tknzr_read_char(), cr_tknzr_ref(), cr_tknzr_seek_index(), cr_tknzr_set_cur_pos(), cr_tknzr_set_input(), cr_tknzr_unget_token(), and cr_tknzr_unref().


Function Documentation

void cr_box_view_destroy GtkObject *  a_this  ) 
 

Definition at line 746 of file cr-box-view.c.

References cr_box_unref(), CR_BOX_VIEW, CR_IS_BOX_VIEW, and PRIVATE.

Referenced by cr_box_view_new_from_bm(), and cr_box_view_new_from_xml_css_bufs().

enum CRStatus cr_box_view_get_box_model CRBoxView a_this,
CRBoxModel **  a_box_model
 

Definition at line 735 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, and PRIVATE.

GType cr_box_view_get_type void   ) 
 

Definition at line 531 of file cr-box-view.c.

enum CRStatus cr_box_view_layout CRBoxView a_this  ) 
 

Definition at line 718 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, CR_IS_BOX_VIEW, cr_lay_eng_layout_box_tree(), CR_OK, and PRIVATE.

CRBoxView* cr_box_view_new_from_bm CRBoxModel a_box_root  ) 
 

Definition at line 671 of file cr-box-view.c.

References cr_box_view_destroy(), cr_box_view_set_box_model(), cr_lay_eng_new(), CR_TYPE_BOX_VIEW, cr_utils_trace_info, and PRIVATE.

CRBoxView* cr_box_view_new_from_xml_css_bufs const guchar *  a_xml_buf,
const guchar *  a_css_buf
 

Definition at line 557 of file cr-box-view.c.

References _CRBoxModel::box, cr_box_destroy(), cr_box_view_destroy(), cr_box_view_set_box_model(), cr_cascade_destroy(), cr_cascade_new(), CR_ERROR, cr_lay_eng_create_box_model(), cr_lay_eng_new(), CR_OK, cr_om_parser_simply_parse_buf(), cr_stylesheet_destroy(), CR_TYPE_BOX_VIEW, CR_UTF_8, cr_utils_trace_info, CRStatus, _CRBox::inner_edge, _CRBoxEdge::max_width, PRIVATE, and _CRBoxEdge::width.

enum CRStatus cr_box_view_set_box_model CRBoxView a_this,
CRBoxModel a_box_model
 

Definition at line 699 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, cr_box_ref(), cr_box_unref(), and PRIVATE.

Referenced by cr_box_view_new_from_bm(), and cr_box_view_new_from_xml_css_bufs().


Generated on Wed Oct 1 01:36:50 2003 for Libcroco by doxygen 1.3.3