24 #ifndef __CR_STYLESHEET_H__ 25 #define __CR_STYLESHEET_H__
Declaration of the CRStatement class.
CRStatement * statements
The css statements list.
An abstraction of a css stylesheet as defined by the css2 spec in chapter 4.
The Croco library basic types definitions And global definitions.
gchar * cr_stylesheet_to_string(CRStyleSheet const *a_this)
gulong ref_count
the reference count of this insance Please, don't never ever modify it directly.
enum CRStyleOrigin origin
gint cr_stylesheet_nr_rules(CRStyleSheet const *a_this)
Return the number of rules in the stylesheet.
void cr_stylesheet_ref(CRStyleSheet *a_this)
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec.
gboolean cr_stylesheet_unref(CRStyleSheet *a_this)
gpointer croco_data
custom data used by libcroco
void cr_stylesheet_destroy(CRStyleSheet *a_this)
Destructor of the CRStyleSheet class.
void cr_stylesheet_dump(CRStyleSheet const *a_this, FILE *a_fp)
Dumps the current css2 stylesheet to a file.
CRStatement * parent_import_rule
gpointer app_data
custom application data pointer Can be used by applications.
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.
CRStyleSheet * cr_stylesheet_new(CRStatement *a_stmts)
Constructor of the CRStyleSheet class.