Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Defines | Functions

cr-statement.c File Reference

#include <string.h>
#include "cr-statement.h"
#include "cr-parser.h"
Include dependency graph for cr-statement.c:

Go to the source code of this file.

Defines

#define DECLARATION_INDENT_NB   2
#define UNUSED(_param)   ((void)(_param))

Functions

CRStatementcr_statement_append (CRStatement *a_this, CRStatement *a_new)
enum CRStatus cr_statement_at_charset_rule_get_charset (CRStatement *a_this, CRString **a_charset)
CRStatementcr_statement_at_charset_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
enum CRStatus cr_statement_at_charset_rule_set_charset (CRStatement *a_this, CRString *a_charset)
enum CRStatus cr_statement_at_font_face_rule_add_decl (CRStatement *a_this, CRString *a_prop, CRTerm *a_value)
enum CRStatus cr_statement_at_font_face_rule_get_decls (CRStatement *a_this, CRDeclaration **a_decls)
enum CRStatus cr_statement_at_font_face_rule_set_decls (CRStatement *a_this, CRDeclaration *a_decls)
enum CRStatus cr_statement_at_import_rule_get_imported_sheet (CRStatement *a_this, CRStyleSheet **a_sheet)
enum CRStatus cr_statement_at_import_rule_get_url (CRStatement *a_this, CRString **a_url)
CRStatementcr_statement_at_import_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
enum CRStatus cr_statement_at_import_rule_set_imported_sheet (CRStatement *a_this, CRStyleSheet *a_sheet)
enum CRStatus cr_statement_at_import_rule_set_url (CRStatement *a_this, CRString *a_url)
CRStatementcr_statement_at_media_get_from_list (CRStatement *a_this, int itemnr)
int cr_statement_at_media_nr_rules (CRStatement *a_this)
CRStatementcr_statement_at_media_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_enc)
enum CRStatus cr_statement_at_page_rule_get_declarations (CRStatement *a_this, CRDeclaration **a_decl_list)
CRStatementcr_statement_at_page_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
enum CRStatus cr_statement_at_page_rule_set_declarations (CRStatement *a_this, CRDeclaration *a_decl_list)
static gchar * cr_statement_at_page_rule_to_string (CRStatement *a_this, gulong a_indent)
static gchar * cr_statement_charset_to_string (CRStatement *a_this, gulong a_indent)
static void cr_statement_clear (CRStatement *a_this)
void cr_statement_destroy (CRStatement *a_this)
gboolean cr_statement_does_buf_parses_against_core (const guchar *a_buf, enum CREncoding a_encoding)
void cr_statement_dump (CRStatement *a_this, FILE *a_fp, gulong a_indent)
void cr_statement_dump_charset (CRStatement *a_this, FILE *a_fp, gulong a_indent)
void cr_statement_dump_font_face_rule (CRStatement *a_this, FILE *a_fp, glong a_indent)
void cr_statement_dump_import_rule (CRStatement *a_this, FILE *a_fp, gulong a_indent)
void cr_statement_dump_media_rule (CRStatement *a_this, FILE *a_fp, gulong a_indent)
void cr_statement_dump_page (CRStatement *a_this, FILE *a_fp, gulong a_indent)
void cr_statement_dump_ruleset (CRStatement *a_this, FILE *a_fp, glong a_indent)
CRStatementcr_statement_font_face_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
static gchar * cr_statement_font_face_rule_to_string (CRStatement *a_this, glong a_indent)
CRStatementcr_statement_get_from_list (CRStatement *a_this, int itemnr)
enum CRStatus cr_statement_get_parent_sheet (CRStatement *a_this, CRStyleSheet **a_sheet)
static gchar * cr_statement_import_rule_to_string (CRStatement *a_this, gulong a_indent)
gchar * cr_statement_list_to_string (CRStatement *a_this, gulong a_indent)
static gchar * cr_statement_media_rule_to_string (CRStatement *a_this, gulong a_indent)
CRStatementcr_statement_new_at_charset_rule (CRStyleSheet *a_sheet, CRString *a_charset)
CRStatementcr_statement_new_at_font_face_rule (CRStyleSheet *a_sheet, CRDeclaration *a_font_decls)
CRStatementcr_statement_new_at_import_rule (CRStyleSheet *a_container_sheet, CRString *a_url, GList *a_media_list, CRStyleSheet *a_imported_sheet)
CRStatementcr_statement_new_at_media_rule (CRStyleSheet *a_sheet, CRStatement *a_rulesets, GList *a_media)
CRStatementcr_statement_new_at_page_rule (CRStyleSheet *a_sheet, CRDeclaration *a_decl_list, CRString *a_name, CRString *a_pseudo)
CRStatementcr_statement_new_ruleset (CRStyleSheet *a_sheet, CRSelector *a_sel_list, CRDeclaration *a_decl_list, CRStatement *a_parent_media_rule)
gint cr_statement_nr_rules (CRStatement *a_this)
CRStatementcr_statement_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
CRStatementcr_statement_prepend (CRStatement *a_this, CRStatement *a_new)
enum CRStatus cr_statement_ruleset_append_decl (CRStatement *a_this, CRDeclaration *a_decl)
enum CRStatus cr_statement_ruleset_append_decl2 (CRStatement *a_this, CRString *a_prop, CRTerm *a_value)
enum CRStatus cr_statement_ruleset_get_declarations (CRStatement *a_this, CRDeclaration **a_decl_list)
enum CRStatus cr_statement_ruleset_get_sel_list (CRStatement *a_this, CRSelector **a_list)
CRStatementcr_statement_ruleset_parse_from_buf (const guchar *a_buf, enum CREncoding a_enc)
enum CRStatus cr_statement_ruleset_set_decl_list (CRStatement *a_this, CRDeclaration *a_list)
enum CRStatus cr_statement_ruleset_set_sel_list (CRStatement *a_this, CRSelector *a_sel_list)
static gchar * cr_statement_ruleset_to_string (CRStatement *a_this, glong a_indent)
enum CRStatus cr_statement_set_parent_sheet (CRStatement *a_this, CRStyleSheet *a_sheet)
gchar * cr_statement_to_string (CRStatement *a_this, gulong a_indent)
CRStatementcr_statement_unlink (CRStatement *a_stmt)
static void parse_at_media_end_media_cb (CRDocHandler *a_this, GList *a_media_list)
static void parse_at_media_end_selector_cb (CRDocHandler *a_this, CRSelector *a_sellist)
static void parse_at_media_property_cb (CRDocHandler *a_this, CRString *a_name, CRTerm *a_value, gboolean a_important)
static void parse_at_media_start_media_cb (CRDocHandler *a_this, GList *a_media_list, CRParsingLocation *a_location)
static void parse_at_media_start_selector_cb (CRDocHandler *a_this, CRSelector *a_sellist)
static void parse_at_media_unrecoverable_error_cb (CRDocHandler *a_this)
static void parse_font_face_end_font_face_cb (CRDocHandler *a_this)
static void parse_font_face_property_cb (CRDocHandler *a_this, CRString *a_name, CRTerm *a_value, gboolean a_important)
static void parse_font_face_start_font_face_cb (CRDocHandler *a_this, CRParsingLocation *a_location)
static void parse_font_face_unrecoverable_error_cb (CRDocHandler *a_this)
static void parse_page_end_page_cb (CRDocHandler *a_this, CRString *a_name, CRString *a_pseudo_page)
static void parse_page_property_cb (CRDocHandler *a_this, CRString *a_name, CRTerm *a_expression, gboolean a_important)
static void parse_page_start_page_cb (CRDocHandler *a_this, CRString *a_name, CRString *a_pseudo_page, CRParsingLocation *a_location)
static void parse_page_unrecoverable_error_cb (CRDocHandler *a_this)
static void parse_ruleset_end_selector_cb (CRDocHandler *a_this, CRSelector *a_sellist)
static void parse_ruleset_property_cb (CRDocHandler *a_this, CRString *a_name, CRTerm *a_value, gboolean a_important)
static void parse_ruleset_start_selector_cb (CRDocHandler *a_this, CRSelector *a_sellist)
static void parse_ruleset_unrecoverable_error_cb (CRDocHandler *a_this)

Detailed Description

Definition of the CRStatement class.

Definition in file cr-statement.c.


Generated by  Doxygen 1.6.0   Back to index