#include <cr-doc-handler.h>
Data Fields | |
CRDocHandlerPriv * | priv |
gpointer | app_data |
This pointer is to be used by the application for it custom needs. | |
void(* | start_document )(CRDocHandler *a_this) |
Is called at the beginning of the parsing of the document. | |
void(* | end_document )(CRDocHandler *a_this) |
Is called to notify the end of the parsing of the document. | |
void(* | charset )(CRDocHandler *a_this, CRString *a_charset, CRParsingLocation *a_charset_sym_location) |
Is called to notify an at charset rule. | |
void(* | import_style )(CRDocHandler *a_this, GList *a_media_list, CRString *a_uri, CRString *a_uri_default_ns, CRParsingLocation *a_location) |
Is called to notify an import statement in the stylesheet. | |
void(* | import_style_result )(CRDocHandler *a_this, GList *a_media_list, CRString *a_uri, CRString *a_uri_default_ns, CRStyleSheet *a_sheet) |
void(* | namespace_declaration )(CRDocHandler *a_this, CRString *a_prefix, CRString *a_uri, CRParsingLocation *a_location) |
Is called to notify a namespace declaration. | |
void(* | comment )(CRDocHandler *a_this, CRString *a_comment) |
Is called to notify a comment. | |
void(* | start_selector )(CRDocHandler *a_this, CRSelector *a_selector_list) |
Is called to notify the beginning of a rule statement. | |
void(* | end_selector )(CRDocHandler *a_this, CRSelector *a_selector_list) |
Is called to notify the end of a rule statement. | |
void(* | property )(CRDocHandler *a_this, CRString *a_name, CRTerm *a_expression, gboolean a_is_important) |
Is called to notify a declaration. | |
void(* | start_font_face )(CRDocHandler *a_this, CRParsingLocation *a_location) |
Is called to notify the start of a font face statement. | |
void(* | end_font_face )(CRDocHandler *a_this) |
Is called to notify the end of a font face statement. | |
void(* | start_media )(CRDocHandler *a_this, GList *a_media_list, CRParsingLocation *a_location) |
Is called to notify the beginning of a media statement. | |
void(* | end_media )(CRDocHandler *a_this, GList *a_media_list) |
Is called to notify the end of a media statement. | |
void(* | start_page )(CRDocHandler *a_this, CRString *a_name, CRString *a_pseudo_page, CRParsingLocation *a_location) |
Is called to notify the beginning of a page statement. | |
void(* | end_page )(CRDocHandler *a_this, CRString *a_name, CRString *pseudo_page) |
Is called to notify the end of a page statement. | |
void(* | ignorable_at_rule )(CRDocHandler *a_this, CRString *a_name) |
Is Called to notify an unknown at-rule not supported by this parser. | |
void(* | error )(CRDocHandler *a_this) |
Is called to notify a parsing error. | |
void(* | unrecoverable_error )(CRDocHandler *a_this) |
Is called to notify an unrecoverable parsing error. | |
gboolean | resolve_import |
gulong | ref_count |
An instance of this class is to be passed to a parser. Then, during the parsing the parser calls the convenient function pointer whenever a particular event (a css construction) occurs.
Definition at line 53 of file cr-doc-handler.h.
|
This pointer is to be used by the application for it custom needs. It is there to extend the doc handler. Definition at line 61 of file cr-doc-handler.h. |
|
Is called to notify an at charset rule.
|
|
Is called to notify a comment.
|
|
Is called to notify the end of the parsing of the document.
|
|
Is called to notify the end of a font face statement.
|
|
Is called to notify the end of a media statement.
|
|
Is called to notify the end of a page statement.
|
|
Is called to notify the end of a rule statement.
|
|
Is called to notify a parsing error. After this error the application must ignore the rule being parsed, if any. After completion of this callback, the parser will then try to resume the parsing, ignoring the current error. |
|
Is Called to notify an unknown at-rule not supported by this parser.
|
|
Is called to notify an import statement in the stylesheet.
|
|
|
|
Is called to notify a namespace declaration. Not used yet.
|
|
Definition at line 55 of file cr-doc-handler.h. Referenced by cr_doc_handler_new(). |
|
Is called to notify a declaration.
|
|
Definition at line 272 of file cr-doc-handler.h. |
|
Definition at line 271 of file cr-doc-handler.h. |
|
Is called at the beginning of the parsing of the document.
|
|
Is called to notify the start of a font face statement. The parser invokes this method at the beginning of every font face statement in the style sheet. There will be a corresponding end_font_face () event for every start_font_face () event.
|
|
Is called to notify the beginning of a media statement. The parser will invoke this method at the beginning of every media statement in the style sheet. There will be a corresponding end_media() event for every start_media() event.
|
|
Is called to notify the beginning of a page statement. The parser invokes this function at the beginning of every page statement in the style sheet. There will be a corresponding end_page() event for every single start_page() event.
|
|
Is called to notify the beginning of a rule statement.
|
|
Is called to notify an unrecoverable parsing error. This is the place to put emergency routines that free allocated resources. |