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

cr-statement.h File Reference


Detailed Description

Declaration of the CRStatement class.

Definition in file cr-statement.h.

#include <stdio.h>
#include "cr-utils.h"
#include "cr-term.h"
#include "cr-selector.h"
#include "cr-declaration.h"

Go to the source code of this file.

Classes

struct  _CRAtCharsetRule
struct  _CRAtFontFaceRule
struct  _CRAtImportRule
struct  _CRAtMediaRule
struct  _CRAtPageRule
struct  _CRRuleSet
struct  _CRStatement

Typedefs

typedef struct _CRAtCharsetRule CRAtCharsetRule
typedef struct _CRAtFontFaceRule CRAtFontFaceRule
typedef struct _CRAtImportRule CRAtImportRule
typedef struct _CRAtMediaRule CRAtMediaRule
typedef struct _CRAtPageRule CRAtPageRule
typedef struct _CRRuleSet CRRuleSet
typedef struct _CRStyleSheet CRStyleSheet

Enumerations

enum  CRStatementType {
  AT_RULE_STMT = 0, RULESET_STMT, AT_IMPORT_RULE_STMT, AT_MEDIA_RULE_STMT,
  AT_PAGE_RULE_STMT, AT_CHARSET_RULE_STMT, AT_FONT_FACE_RULE_STMT
}

Functions

CRStatement * cr_statement_append (CRStatement *a_this, CRStatement *a_new)
enum CRStatus cr_statement_at_charset_rule_get_charset (CRStatement *a_this, CRString **a_charset)
CRStatement * cr_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)
CRStatement * cr_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)
CRStatement * cr_statement_at_media_get_from_list (CRStatement *a_this, int itemnr)
gint cr_statement_at_media_nr_rules (CRStatement *a_this)
CRStatement * cr_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)
enum CRStatus cr_statement_at_page_rule_get_sel (CRStatement *a_this, CRSelector **a_sel)
CRStatement * cr_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)
enum CRStatus cr_statement_at_page_rule_set_sel (CRStatement *a_this, CRSelector *a_sel)
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)
CRStatement * cr_statement_font_face_rule_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
CRStatement * cr_statement_get_from_list (CRStatement *a_this, int itemnr)
enum CRStatus cr_statement_get_parent_sheet (CRStatement *a_this, CRStyleSheet **a_sheet)
gchar * cr_statement_list_to_string (CRStatement *a_this, gulong a_indent)
CRStatement * cr_statement_new_at_charset_rule (CRStyleSheet *a_sheet, CRString *a_charset)
CRStatement * cr_statement_new_at_font_face_rule (CRStyleSheet *a_sheet, CRDeclaration *a_font_decls)
CRStatement * cr_statement_new_at_import_rule (CRStyleSheet *a_container_sheet, CRString *a_url, GList *a_media_list, CRStyleSheet *a_imported_sheet)
CRStatement * cr_statement_new_at_media_rule (CRStyleSheet *a_sheet, CRStatement *a_ruleset, GList *a_media)
CRStatement * cr_statement_new_at_page_rule (CRStyleSheet *a_sheet, CRDeclaration *a_decl_list, CRString *a_name, CRString *a_pseudo)
CRStatement * cr_statement_new_ruleset (CRStyleSheet *a_sheet, CRSelector *a_sel_list, CRDeclaration *a_decl_list, CRStatement *a_media_rule)
gint cr_statement_nr_rules (CRStatement *a_this)
CRStatement * cr_statement_parse_from_buf (const guchar *a_buf, enum CREncoding a_encoding)
CRStatement * cr_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)
CRStatement * cr_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)
enum CRStatus cr_statement_set_parent_sheet (CRStatement *a_this, CRStyleSheet *a_sheet)
gchar * cr_statement_to_string (CRStatement *a_this, gulong a_indent)
CRStatement * cr_statement_unlink (CRStatement *a_stmt)


Generated by  Doxygen 1.6.0   Back to index