rsvg2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/rsvg2/extconf.rb +1 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +2 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +3 -3
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +2 -2
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
- data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
- data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
- data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- metadata +14 -10
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>cr-sel-eng</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>cr-sel-eng: Libcroco Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
9
|
<link rel="prev" href="libcroco-cr-rgb.html" title="cr-rgb">
|
10
10
|
<link rel="next" href="libcroco-cr-selector.html" title="cr-selector">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#libcroco-cr-sel-eng.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#libcroco-cr-sel-eng.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="libcroco-cr-rgb.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="libcroco-cr-selector.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="libcroco-cr-sel-eng"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,314 +29,392 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="libcroco-cr-sel-eng.top_of_page"></a>cr-sel-eng</span></h2>
|
34
30
|
<p>cr-sel-eng</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="libcroco-cr-sel-eng.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()">*CRPseudoClassSelectorHandler</a>) (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
41
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> *a_add_sel</code></em>,
|
42
|
-
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>);
|
43
|
-
struct <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng">CRSelEng</a>;
|
44
|
-
<a class="link" href="libcroco-cr-sel-eng.html#CRSelEngPriv" title="CRSelEngPriv">CRSelEngPriv</a>;
|
45
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-destroy" title="cr_sel_eng_destroy ()">cr_sel_eng_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);
|
46
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-properties-from-cascade" title="cr_sel_eng_get_matched_properties_from_cascade ()">cr_sel_eng_get_matched_properties_from_cascade</a>
|
47
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
49
|
-
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_props</code></em>);
|
51
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-rulesets" title="cr_sel_eng_get_matched_rulesets ()">cr_sel_eng_get_matched_rulesets</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
52
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> ***a_rulesets</code></em>,
|
55
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_len</code></em>);
|
56
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-style" title="cr_sel_eng_get_matched_style ()">cr_sel_eng_get_matched_style</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_parent_style</code></em>,
|
60
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> **a_style</code></em>,
|
61
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_set_props_to_initial_values</code></em>);
|
62
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-pseudo-class-selector-handler" title="cr_sel_eng_get_pseudo_class_selector_handler ()">cr_sel_eng_get_pseudo_class_selector_handler</a>
|
63
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
64
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
66
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> *a_handler</code></em>);
|
67
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-matches-node" title="cr_sel_eng_matches_node ()">cr_sel_eng_matches_node</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
68
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
70
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *a_result</code></em>);
|
71
|
-
<a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> * <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-new" title="cr_sel_eng_new ()">cr_sel_eng_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
72
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-register-pseudo-class-sel-handler" title="cr_sel_eng_register_pseudo_class_sel_handler ()">cr_sel_eng_register_pseudo_class_sel_handler</a>
|
73
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
74
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
76
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> a_handler</code></em>);
|
77
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-all-pseudo-class-sel-handlers" title="cr_sel_eng_unregister_all_pseudo_class_sel_handlers ()">cr_sel_eng_unregister_all_pseudo_class_sel_handlers</a>
|
78
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);
|
79
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-pseudo-class-sel-handler" title="cr_sel_eng_unregister_pseudo_class_sel_handler ()">cr_sel_eng_unregister_pseudo_class_sel_handler</a>
|
80
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
81
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>);
|
83
|
-
</pre>
|
84
|
-
</div>
|
85
34
|
<div class="refsect1">
|
86
|
-
<a name="libcroco-cr-sel-eng.
|
87
|
-
<
|
88
|
-
|
35
|
+
<a name="libcroco-cr-sel-eng.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<span class="returnvalue">gboolean</span>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<span class="c_punctuation">(</span><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()">*CRPseudoClassSelectorHandler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-new" title="cr_sel_eng_new ()">cr_sel_eng_new</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-register-pseudo-class-sel-handler" title="cr_sel_eng_register_pseudo_class_sel_handler ()">cr_sel_eng_register_pseudo_class_sel_handler</a> <span class="c_punctuation">()</span>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
67
|
+
</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-pseudo-class-sel-handler" title="cr_sel_eng_unregister_pseudo_class_sel_handler ()">cr_sel_eng_unregister_pseudo_class_sel_handler</a> <span class="c_punctuation">()</span>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-all-pseudo-class-sel-handlers" title="cr_sel_eng_unregister_all_pseudo_class_sel_handlers ()">cr_sel_eng_unregister_all_pseudo_class_sel_handlers</a> <span class="c_punctuation">()</span>
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
<tr>
|
80
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-pseudo-class-selector-handler" title="cr_sel_eng_get_pseudo_class_selector_handler ()">cr_sel_eng_get_pseudo_class_selector_handler</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-matches-node" title="cr_sel_eng_matches_node ()">cr_sel_eng_matches_node</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-rulesets" title="cr_sel_eng_get_matched_rulesets ()">cr_sel_eng_get_matched_rulesets</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-properties-from-cascade" title="cr_sel_eng_get_matched_properties_from_cascade ()">cr_sel_eng_get_matched_properties_from_cascade</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-style" title="cr_sel_eng_get_matched_style ()">cr_sel_eng_get_matched_style</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">void</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-destroy" title="cr_sel_eng_destroy ()">cr_sel_eng_destroy</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
</tbody>
|
123
|
+
</table></div>
|
89
124
|
</div>
|
90
125
|
<div class="refsect1">
|
91
|
-
<a name="libcroco-cr-sel-eng.
|
92
|
-
<div class="
|
93
|
-
<
|
94
|
-
<
|
95
|
-
|
96
|
-
|
97
|
-
<
|
98
|
-
|
99
|
-
</
|
100
|
-
<
|
101
|
-
|
102
|
-
<
|
103
|
-
<
|
104
|
-
|
105
|
-
|
106
|
-
</
|
107
|
-
|
108
|
-
</p>
|
126
|
+
<a name="libcroco-cr-sel-eng.other"></a><h2>Types and Values</h2>
|
127
|
+
<div class="informaltable"><table width="100%" border="0">
|
128
|
+
<colgroup>
|
129
|
+
<col width="150px" class="name">
|
130
|
+
<col class="description">
|
131
|
+
</colgroup>
|
132
|
+
<tbody>
|
133
|
+
<tr>
|
134
|
+
<td class="datatype_keyword">struct</td>
|
135
|
+
<td class="function_name"><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng">CRSelEng</a></td>
|
136
|
+
</tr>
|
137
|
+
<tr>
|
138
|
+
<td class="datatype_keyword"> </td>
|
139
|
+
<td class="function_name"><a class="link" href="libcroco-cr-sel-eng.html#CRSelEngPriv" title="CRSelEngPriv">CRSelEngPriv</a></td>
|
140
|
+
</tr>
|
141
|
+
</tbody>
|
142
|
+
</table></div>
|
109
143
|
</div>
|
110
|
-
<
|
111
|
-
<
|
112
|
-
<a name="CRSelEngPriv"></a><h3>CRSelEngPriv</h3>
|
113
|
-
<pre class="programlisting">typedef struct _CRSelEngPriv CRSelEngPriv;</pre>
|
114
|
-
<p>
|
115
|
-
</p>
|
144
|
+
<div class="refsect1">
|
145
|
+
<a name="libcroco-cr-sel-eng.description"></a><h2>Description</h2>
|
116
146
|
</div>
|
117
|
-
<
|
147
|
+
<div class="refsect1">
|
148
|
+
<a name="libcroco-cr-sel-eng.functions_details"></a><h2>Functions</h2>
|
118
149
|
<div class="refsect2">
|
119
|
-
<a name="
|
120
|
-
<pre class="programlisting"><span class="returnvalue">
|
121
|
-
<
|
122
|
-
|
123
|
-
</
|
124
|
-
<div class="variablelist"><table border="0">
|
125
|
-
<col align="left" valign="top">
|
126
|
-
<tbody><tr>
|
127
|
-
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
128
|
-
<td>the current instance of the selection engine.</td>
|
129
|
-
</tr></tbody>
|
130
|
-
</table></div>
|
150
|
+
<a name="CRPseudoClassSelectorHandler"></a><h3>CRPseudoClassSelectorHandler ()</h3>
|
151
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
152
|
+
<span class="c_punctuation">(</span>*CRPseudoClassSelectorHandler<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
153
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> *a_add_sel</code></em>,
|
154
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>);</pre>
|
131
155
|
</div>
|
132
156
|
<hr>
|
133
157
|
<div class="refsect2">
|
134
|
-
<a name="cr-sel-eng-
|
135
|
-
<pre class="programlisting"
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_props</code></em>);</pre>
|
140
|
-
<p>
|
141
|
-
</p>
|
158
|
+
<a name="cr-sel-eng-new"></a><h3>cr_sel_eng_new ()</h3>
|
159
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> *
|
160
|
+
cr_sel_eng_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
161
|
+
<p>Returns the newly built instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> of
|
162
|
+
NULL if an error occurs.</p>
|
142
163
|
</div>
|
143
164
|
<hr>
|
144
165
|
<div class="refsect2">
|
145
|
-
<a name="cr-sel-eng-
|
146
|
-
<pre class="programlisting">enum <
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<
|
156
|
-
<
|
166
|
+
<a name="cr-sel-eng-register-pseudo-class-sel-handler"></a><h3>cr_sel_eng_register_pseudo_class_sel_handler ()</h3>
|
167
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
168
|
+
cr_sel_eng_register_pseudo_class_sel_handler
|
169
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
170
|
+
<em class="parameter"><code><span class="type">guchar</span> *a_pseudo_class_sel_name</code></em>,
|
171
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
172
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> a_handler</code></em>);</pre>
|
173
|
+
<p>Adds a new handler entry in the handlers entry table.</p>
|
174
|
+
<p>Returns CR_OK, upon successful completion, an error code otherwise.</p>
|
175
|
+
<div class="refsect3">
|
176
|
+
<a name="id-1.2.17.6.4.6"></a><h4>Parameters</h4>
|
177
|
+
<div class="informaltable"><table width="100%" border="0">
|
178
|
+
<colgroup>
|
179
|
+
<col width="150px" class="parameters_name">
|
180
|
+
<col class="parameters_description">
|
181
|
+
<col width="200px" class="parameters_annotations">
|
182
|
+
</colgroup>
|
157
183
|
<tbody>
|
158
184
|
<tr>
|
159
|
-
<td
|
160
|
-
<td>the current instance of
|
161
|
-
</
|
162
|
-
<tr>
|
163
|
-
<td><p><span class="term"><em class="parameter"><code>a_sheet</code></em> :</span></p></td>
|
164
|
-
<td>the stylesheet that holds the selectors.</td>
|
185
|
+
<td class="parameter_name"><p>a_this</p></td>
|
186
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a></p></td>
|
187
|
+
<td class="parameter_annotations"> </td>
|
165
188
|
</tr>
|
166
189
|
<tr>
|
167
|
-
<td
|
168
|
-
<td>the
|
169
|
-
|
190
|
+
<td class="parameter_name"><p>a_pseudo_class_sel_name</p></td>
|
191
|
+
<td class="parameter_description"><p>the name of the pseudo class selector.</p></td>
|
192
|
+
<td class="parameter_annotations"> </td>
|
170
193
|
</tr>
|
171
194
|
<tr>
|
172
|
-
<td
|
173
|
-
<td>
|
174
|
-
|
175
|
-
this function and must be freed by the caller. However, the caller
|
176
|
-
must not alter the rulesets statements pointer because they
|
177
|
-
point to statements that are still in the css stylesheet.</td>
|
195
|
+
<td class="parameter_name"><p>a_pseudo_class_type</p></td>
|
196
|
+
<td class="parameter_description"><p>the type of the pseudo class selector.</p></td>
|
197
|
+
<td class="parameter_annotations"> </td>
|
178
198
|
</tr>
|
179
199
|
<tr>
|
180
|
-
<td
|
181
|
-
<td>the
|
182
|
-
|
183
|
-
<
|
184
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
185
|
-
<td>CR_OK upon sucessfull completion, an error code otherwise.</td>
|
200
|
+
<td class="parameter_name"><p>a_handler</p></td>
|
201
|
+
<td class="parameter_description"><p>the actual handler or callback to be called during
|
202
|
+
the selector evaluation process.</p></td>
|
203
|
+
<td class="parameter_annotations"> </td>
|
186
204
|
</tr>
|
187
205
|
</tbody>
|
188
206
|
</table></div>
|
189
207
|
</div>
|
208
|
+
</div>
|
209
|
+
<hr>
|
210
|
+
<div class="refsect2">
|
211
|
+
<a name="cr-sel-eng-unregister-pseudo-class-sel-handler"></a><h3>cr_sel_eng_unregister_pseudo_class_sel_handler ()</h3>
|
212
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
213
|
+
cr_sel_eng_unregister_pseudo_class_sel_handler
|
214
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
215
|
+
<em class="parameter"><code><span class="type">guchar</span> *a_pseudo_class_sel_name</code></em>,
|
216
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>);</pre>
|
217
|
+
</div>
|
190
218
|
<hr>
|
191
219
|
<div class="refsect2">
|
192
|
-
<a name="cr-sel-eng-
|
193
|
-
<pre class="programlisting">enum <
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
220
|
+
<a name="cr-sel-eng-unregister-all-pseudo-class-sel-handlers"></a><h3>cr_sel_eng_unregister_all_pseudo_class_sel_handlers ()</h3>
|
221
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
222
|
+
cr_sel_eng_unregister_all_pseudo_class_sel_handlers
|
223
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);</pre>
|
224
|
+
<p>Unregisters all the pseudo class sel handlers
|
225
|
+
and frees all the associated allocated datastructures.</p>
|
226
|
+
<p>Returns CR_OK upon succesful completion, an error code
|
227
|
+
otherwise.</p>
|
228
|
+
<div class="refsect3">
|
229
|
+
<a name="id-1.2.17.6.6.6"></a><h4>Parameters</h4>
|
230
|
+
<div class="informaltable"><table width="100%" border="0">
|
231
|
+
<colgroup>
|
232
|
+
<col width="150px" class="parameters_name">
|
233
|
+
<col class="parameters_description">
|
234
|
+
<col width="200px" class="parameters_annotations">
|
235
|
+
</colgroup>
|
236
|
+
<tbody><tr>
|
237
|
+
<td class="parameter_name"><p>a_this</p></td>
|
238
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> .</p></td>
|
239
|
+
<td class="parameter_annotations"> </td>
|
240
|
+
</tr></tbody>
|
241
|
+
</table></div>
|
242
|
+
</div>
|
201
243
|
</div>
|
202
244
|
<hr>
|
203
245
|
<div class="refsect2">
|
204
|
-
<a name="cr-sel-eng-get-pseudo-class-selector-handler"></a><h3>cr_sel_eng_get_pseudo_class_selector_handler
|
205
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
<
|
211
|
-
</p>
|
246
|
+
<a name="cr-sel-eng-get-pseudo-class-selector-handler"></a><h3>cr_sel_eng_get_pseudo_class_selector_handler ()</h3>
|
247
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
248
|
+
cr_sel_eng_get_pseudo_class_selector_handler
|
249
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
250
|
+
<em class="parameter"><code><span class="type">guchar</span> *a_pseudo_class_sel_name</code></em>,
|
251
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
252
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> *a_handler</code></em>);</pre>
|
212
253
|
</div>
|
213
254
|
<hr>
|
214
255
|
<div class="refsect2">
|
215
|
-
<a name="cr-sel-eng-matches-node"></a><h3>cr_sel_eng_matches_node
|
216
|
-
<pre class="programlisting">enum <
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
<
|
221
|
-
Evaluates a chained list of simple selectors (known as a css2 selector).
|
256
|
+
<a name="cr-sel-eng-matches-node"></a><h3>cr_sel_eng_matches_node ()</h3>
|
257
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
258
|
+
cr_sel_eng_matches_node (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
259
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel</code></em>,
|
260
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
261
|
+
<em class="parameter"><code><span class="type">gboolean</span> *a_result</code></em>);</pre>
|
262
|
+
<p>Evaluates a chained list of simple selectors (known as a css2 selector).
|
222
263
|
Says wheter if this selector matches the xml node given in parameter or
|
223
|
-
not
|
224
|
-
|
225
|
-
<div class="
|
226
|
-
<
|
264
|
+
not.</p>
|
265
|
+
<p>Returns the CR_OK if the selection ran correctly, an error code otherwise.</p>
|
266
|
+
<div class="refsect3">
|
267
|
+
<a name="id-1.2.17.6.8.6"></a><h4>Parameters</h4>
|
268
|
+
<div class="informaltable"><table width="100%" border="0">
|
269
|
+
<colgroup>
|
270
|
+
<col width="150px" class="parameters_name">
|
271
|
+
<col class="parameters_description">
|
272
|
+
<col width="200px" class="parameters_annotations">
|
273
|
+
</colgroup>
|
227
274
|
<tbody>
|
228
275
|
<tr>
|
229
|
-
<td
|
230
|
-
<td>the selection engine.</td>
|
276
|
+
<td class="parameter_name"><p>a_this</p></td>
|
277
|
+
<td class="parameter_description"><p>the selection engine.</p></td>
|
278
|
+
<td class="parameter_annotations"> </td>
|
231
279
|
</tr>
|
232
280
|
<tr>
|
233
|
-
<td
|
234
|
-
<td>the simple selector against which the xml node
|
235
|
-
is going to be matched.</td>
|
281
|
+
<td class="parameter_name"><p>a_sel</p></td>
|
282
|
+
<td class="parameter_description"><p>the simple selector against which the xml node
|
283
|
+
is going to be matched.</p></td>
|
284
|
+
<td class="parameter_annotations"> </td>
|
236
285
|
</tr>
|
237
286
|
<tr>
|
238
|
-
<td
|
239
|
-
<td>the node against which the selector is going to be matched.</td>
|
287
|
+
<td class="parameter_name"><p>a_node</p></td>
|
288
|
+
<td class="parameter_description"><p>the node against which the selector is going to be matched.</p></td>
|
289
|
+
<td class="parameter_annotations"> </td>
|
240
290
|
</tr>
|
241
291
|
<tr>
|
242
|
-
<td
|
243
|
-
<td>out parameter. The result of the match. Is set to
|
292
|
+
<td class="parameter_name"><p>a_result</p></td>
|
293
|
+
<td class="parameter_description"><p>out parameter. The result of the match. Is set to
|
244
294
|
TRUE if the selector matches the node, FALSE otherwise. This value
|
245
|
-
is considered if and only if this functions returns CR_OK.</td>
|
246
|
-
</
|
247
|
-
<tr>
|
248
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
249
|
-
<td>the CR_OK if the selection ran correctly, an error code otherwise.</td>
|
295
|
+
is considered if and only if this functions returns CR_OK.</p></td>
|
296
|
+
<td class="parameter_annotations"> </td>
|
250
297
|
</tr>
|
251
298
|
</tbody>
|
252
299
|
</table></div>
|
253
300
|
</div>
|
254
|
-
<hr>
|
255
|
-
<div class="refsect2">
|
256
|
-
<a name="cr-sel-eng-new"></a><h3>cr_sel_eng_new ()</h3>
|
257
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> * cr_sel_eng_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
258
|
-
<div class="variablelist"><table border="0">
|
259
|
-
<col align="left" valign="top">
|
260
|
-
<tbody><tr>
|
261
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
262
|
-
<td>the newly built instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> of
|
263
|
-
NULL if an error occurs.</td>
|
264
|
-
</tr></tbody>
|
265
|
-
</table></div>
|
266
301
|
</div>
|
267
302
|
<hr>
|
268
303
|
<div class="refsect2">
|
269
|
-
<a name="cr-sel-eng-
|
270
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span>
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
<
|
276
|
-
|
277
|
-
|
278
|
-
<
|
279
|
-
<
|
304
|
+
<a name="cr-sel-eng-get-matched-rulesets"></a><h3>cr_sel_eng_get_matched_rulesets ()</h3>
|
305
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
306
|
+
cr_sel_eng_get_matched_rulesets (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
307
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
308
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
309
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> ***a_rulesets</code></em>,
|
310
|
+
<em class="parameter"><code><span class="type">gulong</span> *a_len</code></em>);</pre>
|
311
|
+
<p>Returns an array of pointers to selectors that matches
|
312
|
+
the xml node given in parameter.</p>
|
313
|
+
<p>Returns CR_OK upon sucessfull completion, an error code otherwise.</p>
|
314
|
+
<div class="refsect3">
|
315
|
+
<a name="id-1.2.17.6.9.6"></a><h4>Parameters</h4>
|
316
|
+
<div class="informaltable"><table width="100%" border="0">
|
317
|
+
<colgroup>
|
318
|
+
<col width="150px" class="parameters_name">
|
319
|
+
<col class="parameters_description">
|
320
|
+
<col width="200px" class="parameters_annotations">
|
321
|
+
</colgroup>
|
280
322
|
<tbody>
|
281
323
|
<tr>
|
282
|
-
<td
|
283
|
-
<td>the current instance of
|
284
|
-
</td>
|
324
|
+
<td class="parameter_name"><p>a_this</p></td>
|
325
|
+
<td class="parameter_description"><p>the current instance of the selection engine.</p></td>
|
326
|
+
<td class="parameter_annotations"> </td>
|
285
327
|
</tr>
|
286
328
|
<tr>
|
287
|
-
<td
|
288
|
-
<td>the
|
329
|
+
<td class="parameter_name"><p>a_sheet</p></td>
|
330
|
+
<td class="parameter_description"><p>the stylesheet that holds the selectors.</p></td>
|
331
|
+
<td class="parameter_annotations"> </td>
|
289
332
|
</tr>
|
290
333
|
<tr>
|
291
|
-
<td
|
292
|
-
<td>the
|
334
|
+
<td class="parameter_name"><p>a_node</p></td>
|
335
|
+
<td class="parameter_description"><p>the xml node to consider during the walk thru
|
336
|
+
the stylesheet.</p></td>
|
337
|
+
<td class="parameter_annotations"> </td>
|
293
338
|
</tr>
|
294
339
|
<tr>
|
295
|
-
<td
|
296
|
-
<td>
|
297
|
-
|
340
|
+
<td class="parameter_name"><p>a_rulesets</p></td>
|
341
|
+
<td class="parameter_description"><p>out parameter. A pointer to an array of
|
342
|
+
rulesets statement pointers. *a_rulesets is allocated by
|
343
|
+
this function and must be freed by the caller. However, the caller
|
344
|
+
must not alter the rulesets statements pointer because they
|
345
|
+
point to statements that are still in the css stylesheet.</p></td>
|
346
|
+
<td class="parameter_annotations"> </td>
|
298
347
|
</tr>
|
299
348
|
<tr>
|
300
|
-
<td
|
301
|
-
<td>
|
349
|
+
<td class="parameter_name"><p>a_len</p></td>
|
350
|
+
<td class="parameter_description"><p>the length of *a_ruleset.</p></td>
|
351
|
+
<td class="parameter_annotations"> </td>
|
302
352
|
</tr>
|
303
353
|
</tbody>
|
304
354
|
</table></div>
|
305
355
|
</div>
|
356
|
+
</div>
|
306
357
|
<hr>
|
307
358
|
<div class="refsect2">
|
308
|
-
<a name="cr-sel-eng-
|
309
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span>
|
310
|
-
|
311
|
-
<
|
312
|
-
|
313
|
-
|
314
|
-
</
|
315
|
-
|
316
|
-
<
|
317
|
-
<
|
318
|
-
<
|
319
|
-
<
|
320
|
-
<
|
321
|
-
</
|
322
|
-
<
|
323
|
-
<
|
324
|
-
<
|
325
|
-
|
326
|
-
</
|
327
|
-
|
359
|
+
<a name="cr-sel-eng-get-matched-properties-from-cascade"></a><h3>cr_sel_eng_get_matched_properties_from_cascade ()</h3>
|
360
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
361
|
+
cr_sel_eng_get_matched_properties_from_cascade
|
362
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
363
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
364
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
365
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_props</code></em>);</pre>
|
366
|
+
</div>
|
367
|
+
<hr>
|
368
|
+
<div class="refsect2">
|
369
|
+
<a name="cr-sel-eng-get-matched-style"></a><h3>cr_sel_eng_get_matched_style ()</h3>
|
370
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
371
|
+
cr_sel_eng_get_matched_style (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
372
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
373
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
374
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_parent_style</code></em>,
|
375
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> **a_style</code></em>,
|
376
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_set_props_to_initial_values</code></em>);</pre>
|
377
|
+
</div>
|
378
|
+
<hr>
|
379
|
+
<div class="refsect2">
|
380
|
+
<a name="cr-sel-eng-destroy"></a><h3>cr_sel_eng_destroy ()</h3>
|
381
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
382
|
+
cr_sel_eng_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);</pre>
|
383
|
+
<p>The destructor of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a></p>
|
384
|
+
<div class="refsect3">
|
385
|
+
<a name="id-1.2.17.6.12.5"></a><h4>Parameters</h4>
|
386
|
+
<div class="informaltable"><table width="100%" border="0">
|
387
|
+
<colgroup>
|
388
|
+
<col width="150px" class="parameters_name">
|
389
|
+
<col class="parameters_description">
|
390
|
+
<col width="200px" class="parameters_annotations">
|
391
|
+
</colgroup>
|
392
|
+
<tbody><tr>
|
393
|
+
<td class="parameter_name"><p>a_this</p></td>
|
394
|
+
<td class="parameter_description"><p>the current instance of the selection engine.</p></td>
|
395
|
+
<td class="parameter_annotations"> </td>
|
396
|
+
</tr></tbody>
|
328
397
|
</table></div>
|
329
398
|
</div>
|
399
|
+
</div>
|
400
|
+
</div>
|
401
|
+
<div class="refsect1">
|
402
|
+
<a name="libcroco-cr-sel-eng.other_details"></a><h2>Types and Values</h2>
|
403
|
+
<div class="refsect2">
|
404
|
+
<a name="CRSelEng"></a><h3>struct CRSelEng</h3>
|
405
|
+
<pre class="programlisting">struct CRSelEng {
|
406
|
+
CRSelEngPriv *priv ;
|
407
|
+
};
|
408
|
+
</pre>
|
409
|
+
</div>
|
330
410
|
<hr>
|
331
411
|
<div class="refsect2">
|
332
|
-
<a name="
|
333
|
-
<pre class="programlisting">
|
334
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
335
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
336
|
-
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>);</pre>
|
337
|
-
<p>
|
338
|
-
</p>
|
412
|
+
<a name="CRSelEngPriv"></a><h3>CRSelEngPriv</h3>
|
413
|
+
<pre class="programlisting">typedef struct _CRSelEngPriv CRSelEngPriv;</pre>
|
339
414
|
</div>
|
340
415
|
</div>
|
341
416
|
</div>
|
342
417
|
<div class="footer">
|
343
|
-
<hr>
|
344
|
-
Generated by GTK-Doc V1.18</div>
|
418
|
+
<hr>Generated by GTK-Doc V1.24.1</div>
|
345
419
|
</body>
|
346
420
|
</html>
|