Go to the documentation of this file.
24 #ifndef __CR_STYLESHEET_H__
25 #define __CR_STYLESHEET_H__
An abstraction of a css stylesheet as defined by the css2 spec in chapter 4.
gchar * cr_stylesheet_to_string(CRStyleSheet const *a_this)
CRStatement * parent_import_rule
void cr_stylesheet_destroy(CRStyleSheet *a_this)
Destructor of the CRStyleSheet class.
void cr_stylesheet_ref(CRStyleSheet *a_this)
gboolean cr_stylesheet_unref(CRStyleSheet *a_this)
gint cr_stylesheet_nr_rules(CRStyleSheet const *a_this)
Return the number of rules in the stylesheet.
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec.
CRStatement * cr_stylesheet_statement_get_from_list(CRStyleSheet *a_this, int itemnr)
Use an index to get a CRStatement from the rules in a given stylesheet.
gpointer croco_data
custom data used by libcroco
gpointer app_data
custom application data pointer Can be used by applications.
gulong ref_count
the reference count of this insance Please, don't never ever modify it directly.
void cr_stylesheet_dump(CRStyleSheet const *a_this, FILE *a_fp)
Dumps the current css2 stylesheet to a file.
CRStyleSheet * cr_stylesheet_new(CRStatement *a_stmts)
Constructor of the CRStyleSheet class.
CRStatement * statements
The css statements list.
enum CRStyleOrigin origin