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

cr-stylesheet.c File Reference

The definition of the CRStyleSheet class. More...

#include "string.h"
#include "cr-stylesheet.h"

Go to the source code of this file.

Functions

CRStyleSheetcr_stylesheet_new (CRStatement *a_stmts)
 Constructor of the CRStyleSheet class.

void cr_stylesheet_dump (CRStyleSheet *a_this, FILE *a_fp)
 Dumps the current css2 stylesheet to a file.

void cr_stylesheet_ref (CRStyleSheet *a_this)
gboolean cr_stylesheet_unref (CRStyleSheet *a_this)
void cr_stylesheet_destroy (CRStyleSheet *a_this)
 Destructor of the CRStyleSheet class.


Detailed Description

The definition of the CRStyleSheet class.

Definition in file cr-stylesheet.c.


Function Documentation

void cr_stylesheet_destroy CRStyleSheet a_this  ) 
 

Destructor of the CRStyleSheet class.

Parameters:
a_this the current instance of the CRStyleSheet class.

Definition at line 112 of file cr-stylesheet.c.

References cr_statement_destroy(), and _CRStyleSheet::statements.

Referenced by cr_box_view_new_from_xml_css_bufs(), and cr_stylesheet_unref().

void cr_stylesheet_dump CRStyleSheet a_this,
FILE *  a_fp
 

Dumps the current css2 stylesheet to a file.

Parameters:
a_this the current instance of CRStyleSheet.
a_fp the destination file

Definition at line 67 of file cr-stylesheet.c.

References cr_statement_dump(), _CRStatement::next, and _CRStyleSheet::statements.

CRStyleSheet* cr_stylesheet_new CRStatement a_stmts  ) 
 

Constructor of the CRStyleSheet class.

Parameters:
the initial list of css statements.
Returns:
the newly built css2 stylesheet, or NULL in case of error.

Definition at line 41 of file cr-stylesheet.c.

References cr_utils_trace_info, and _CRStyleSheet::statements.

void cr_stylesheet_ref CRStyleSheet a_this  ) 
 

Definition at line 82 of file cr-stylesheet.c.

References _CRStyleSheet::ref_count.

Referenced by cr_cascade_set_sheet().

gboolean cr_stylesheet_unref CRStyleSheet a_this  ) 
 

Definition at line 90 of file cr-stylesheet.c.

References cr_stylesheet_destroy(), and _CRStyleSheet::ref_count.

Referenced by cr_cascade_destroy(), and cr_cascade_set_sheet().


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