rsvg2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/rsvg2/extconf.rb +1 -0
  4. data/lib/2.2/rsvg2.so +0 -0
  5. data/lib/2.3/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +2 -2
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
  12. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
  13. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  14. data/vendor/local/lib/libcroco-0.6.a +0 -0
  15. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  16. data/vendor/local/lib/libcroco-0.6.la +3 -3
  17. data/vendor/local/lib/librsvg-2.a +0 -0
  18. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  19. data/vendor/local/lib/librsvg-2.la +2 -2
  20. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
  21. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  22. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
  23. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
  24. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  25. data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
  26. data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
  27. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  28. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
  29. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
  30. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
  31. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
  32. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
  33. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
  34. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
  56. data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
  59. data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  61. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
  62. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
  63. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
  64. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
  65. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  77. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  80. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
  83. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  90. metadata +14 -10
  91. data/lib/2.0/rsvg2.so +0 -0
  92. data/lib/2.1/rsvg2.so +0 -0
  93. 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-om-parser</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>cr-om-parser: 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-num.html" title="cr-num">
10
10
  <link rel="next" href="libcroco-cr-parser.html" title="cr-parser">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
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="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="libcroco-cr-num.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Libcroco Reference Manual</th>
21
- <td><a accesskey="n" href="libcroco-cr-parser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#libcroco-cr-om-parser.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#libcroco-cr-om-parser.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-om-parser.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-num.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="libcroco-cr-parser.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-om-parser"></a><div class="titlepage"></div>
31
27
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,348 +29,448 @@
33
29
  <h2><span class="refentrytitle"><a name="libcroco-cr-om-parser.top_of_page"></a>cr-om-parser</span></h2>
34
30
  <p>cr-om-parser</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-om-parser.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">struct <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser">CROMParser</a>;
41
- <a class="link" href="libcroco-cr-om-parser.html#CROMParserPriv" title="CROMParserPriv">CROMParserPriv</a>;
42
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-destroy" title="cr_om_parser_destroy ()">cr_om_parser_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>);
43
- <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> * <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-new" title="cr_om_parser_new ()">cr_om_parser_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-input.html#CRInput" title="struct CRInput"><span class="type">CRInput</span></a> *a_input</code></em>);
44
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-buf" title="cr_om_parser_parse_buf ()">cr_om_parser_parse_buf</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
45
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_buf</code></em>,
46
- <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>,
47
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
48
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
49
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()">cr_om_parser_parse_file</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
50
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_file_uri</code></em>,
51
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</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_result</code></em>);
53
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-paths-to-cascade" title="cr_om_parser_parse_paths_to_cascade ()">cr_om_parser_parse_paths_to_cascade</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
54
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_author_path</code></em>,
55
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_user_path</code></em>,
56
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_ua_path</code></em>,
57
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
58
- <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);
59
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-buf" title="cr_om_parser_simply_parse_buf ()">cr_om_parser_simply_parse_buf</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_buf</code></em>,
60
- <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>,
61
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
62
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
63
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-file" title="cr_om_parser_simply_parse_file ()">cr_om_parser_simply_parse_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_file_path</code></em>,
64
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
65
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
66
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-paths-to-cascade" title="cr_om_parser_simply_parse_paths_to_cascade ()">cr_om_parser_simply_parse_paths_to_cascade</a>
67
- (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_author_path</code></em>,
68
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_user_path</code></em>,
69
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_ua_path</code></em>,
70
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
71
- <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);
72
- </pre>
73
- </div>
74
34
  <div class="refsect1">
75
- <a name="libcroco-cr-om-parser.description"></a><h2>Description</h2>
76
- <p>
77
- </p>
78
- </div>
79
- <div class="refsect1">
80
- <a name="libcroco-cr-om-parser.details"></a><h2>Details</h2>
81
- <div class="refsect2">
82
- <a name="CROMParser"></a><h3>struct CROMParser</h3>
83
- <pre class="programlisting">struct CROMParser {
84
- CROMParserPriv *priv ;
85
- };
86
- </pre>
87
- <p>
88
- </p>
89
- </div>
90
- <hr>
91
- <div class="refsect2">
92
- <a name="CROMParserPriv"></a><h3>CROMParserPriv</h3>
93
- <pre class="programlisting">typedef struct _CROMParserPriv CROMParserPriv;</pre>
94
- <p>
95
- </p>
96
- </div>
97
- <hr>
98
- <div class="refsect2">
99
- <a name="cr-om-parser-destroy"></a><h3>cr_om_parser_destroy ()</h3>
100
- <pre class="programlisting"><span class="returnvalue">void</span> cr_om_parser_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>);</pre>
101
- <p>
102
- Destructor of the <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.
103
- </p>
104
- <div class="variablelist"><table border="0">
105
- <col align="left" valign="top">
106
- <tbody><tr>
107
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
108
- <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
109
- </tr></tbody>
110
- </table></div>
111
- </div>
112
- <hr>
113
- <div class="refsect2">
114
- <a name="cr-om-parser-new"></a><h3>cr_om_parser_new ()</h3>
115
- <pre class="programlisting"><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> * cr_om_parser_new (<em class="parameter"><code><a class="link" href="libcroco-cr-input.html#CRInput" title="struct CRInput"><span class="type">CRInput</span></a> *a_input</code></em>);</pre>
116
- <p>
117
- Constructor of the CROMParser.
118
- </p>
119
- <div class="variablelist"><table border="0">
120
- <col align="left" valign="top">
35
+ <a name="libcroco-cr-om-parser.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>
121
41
  <tbody>
122
42
  <tr>
123
- <td><p><span class="term"><em class="parameter"><code>a_input</code></em> :</span></p></td>
124
- <td>the input stream.</td>
43
+ <td class="function_type">
44
+ <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-new" title="cr_om_parser_new ()">cr_om_parser_new</a> <span class="c_punctuation">()</span>
48
+ </td>
125
49
  </tr>
126
50
  <tr>
127
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
128
- <td>the newly built instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
51
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
52
+ </td>
53
+ <td class="function_name">
54
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-file" title="cr_om_parser_simply_parse_file ()">cr_om_parser_simply_parse_file</a> <span class="c_punctuation">()</span>
55
+ </td>
129
56
  </tr>
130
- </tbody>
131
- </table></div>
132
- </div>
133
- <hr>
134
- <div class="refsect2">
135
- <a name="cr-om-parser-parse-buf"></a><h3>cr_om_parser_parse_buf ()</h3>
136
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
137
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_buf</code></em>,
138
- <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>,
139
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
140
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
141
- <p>
142
- Parses the content of an in memory buffer.
143
- </p>
144
- <div class="variablelist"><table border="0">
145
- <col align="left" valign="top">
146
- <tbody>
147
57
  <tr>
148
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
149
- <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
58
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
59
+ </td>
60
+ <td class="function_name">
61
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()">cr_om_parser_parse_file</a> <span class="c_punctuation">()</span>
62
+ </td>
150
63
  </tr>
151
64
  <tr>
152
- <td><p><span class="term"><em class="parameter"><code>a_buf</code></em> :</span></p></td>
153
- <td>the in memory buffer to parse.</td>
65
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
66
+ </td>
67
+ <td class="function_name">
68
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-buf" title="cr_om_parser_simply_parse_buf ()">cr_om_parser_simply_parse_buf</a> <span class="c_punctuation">()</span>
69
+ </td>
154
70
  </tr>
155
71
  <tr>
156
- <td><p><span class="term"><em class="parameter"><code>a_len</code></em> :</span></p></td>
157
- <td>the length of the in memory buffer in number of bytes.</td>
72
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
73
+ </td>
74
+ <td class="function_name">
75
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-buf" title="cr_om_parser_parse_buf ()">cr_om_parser_parse_buf</a> <span class="c_punctuation">()</span>
76
+ </td>
158
77
  </tr>
159
78
  <tr>
160
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
161
- <td>the encoding of the in memory buffer.</td>
79
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
80
+ </td>
81
+ <td class="function_name">
82
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-paths-to-cascade" title="cr_om_parser_parse_paths_to_cascade ()">cr_om_parser_parse_paths_to_cascade</a> <span class="c_punctuation">()</span>
83
+ </td>
162
84
  </tr>
163
85
  <tr>
164
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
165
- <td>out parameter the resulting style sheet</td>
86
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-paths-to-cascade" title="cr_om_parser_simply_parse_paths_to_cascade ()">cr_om_parser_simply_parse_paths_to_cascade</a> <span class="c_punctuation">()</span>
90
+ </td>
166
91
  </tr>
167
92
  <tr>
168
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
169
- <td>CR_OK upon successfull completion, an error code otherwise.</td>
93
+ <td class="function_type">
94
+ <span class="returnvalue">void</span>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-destroy" title="cr_om_parser_destroy ()">cr_om_parser_destroy</a> <span class="c_punctuation">()</span>
98
+ </td>
170
99
  </tr>
171
100
  </tbody>
172
101
  </table></div>
173
102
  </div>
174
- <hr>
175
- <div class="refsect2">
176
- <a name="cr-om-parser-parse-file"></a><h3>cr_om_parser_parse_file ()</h3>
177
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_file (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
178
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_file_uri</code></em>,
179
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
180
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
181
- <p>
182
- Parses a css2 stylesheet contained
183
- in a file.
184
- </p>
185
- <div class="variablelist"><table border="0">
186
- <col align="left" valign="top">
103
+ <div class="refsect1">
104
+ <a name="libcroco-cr-om-parser.other"></a><h2>Types and Values</h2>
105
+ <div class="informaltable"><table width="100%" border="0">
106
+ <colgroup>
107
+ <col width="150px" class="name">
108
+ <col class="description">
109
+ </colgroup>
187
110
  <tbody>
188
111
  <tr>
189
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
190
- <td>the current instance of the cssom parser.</td>
112
+ <td class="datatype_keyword">struct</td>
113
+ <td class="function_name"><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser">CROMParser</a></td>
191
114
  </tr>
192
115
  <tr>
193
- <td><p><span class="term"><em class="parameter"><code>a_file_uri</code></em> :</span></p></td>
194
- <td>the uri of the file.
195
- (only local file paths are suppported so far)</td>
116
+ <td class="datatype_keyword"> </td>
117
+ <td class="function_name"><a class="link" href="libcroco-cr-om-parser.html#CROMParserPriv" title="CROMParserPriv">CROMParserPriv</a></td>
196
118
  </tr>
119
+ </tbody>
120
+ </table></div>
121
+ </div>
122
+ <div class="refsect1">
123
+ <a name="libcroco-cr-om-parser.description"></a><h2>Description</h2>
124
+ </div>
125
+ <div class="refsect1">
126
+ <a name="libcroco-cr-om-parser.functions_details"></a><h2>Functions</h2>
127
+ <div class="refsect2">
128
+ <a name="cr-om-parser-new"></a><h3>cr_om_parser_new ()</h3>
129
+ <pre class="programlisting"><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> *
130
+ cr_om_parser_new (<em class="parameter"><code><a class="link" href="libcroco-cr-input.html#CRInput" title="struct CRInput"><span class="type">CRInput</span></a> *a_input</code></em>);</pre>
131
+ <p>Constructor of the CROMParser.
132
+ Returns the newly built instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</p>
133
+ <div class="refsect3">
134
+ <a name="id-1.2.11.6.2.5"></a><h4>Parameters</h4>
135
+ <div class="informaltable"><table width="100%" border="0">
136
+ <colgroup>
137
+ <col width="150px" class="parameters_name">
138
+ <col class="parameters_description">
139
+ <col width="200px" class="parameters_annotations">
140
+ </colgroup>
141
+ <tbody><tr>
142
+ <td class="parameter_name"><p>a_input</p></td>
143
+ <td class="parameter_description"><p>the input stream.</p></td>
144
+ <td class="parameter_annotations"> </td>
145
+ </tr></tbody>
146
+ </table></div>
147
+ </div>
148
+ </div>
149
+ <hr>
150
+ <div class="refsect2">
151
+ <a name="cr-om-parser-simply-parse-file"></a><h3>cr_om_parser_simply_parse_file ()</h3>
152
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
153
+ cr_om_parser_simply_parse_file (<em class="parameter"><code>const <span class="type">guchar</span> *a_file_path</code></em>,
154
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
155
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
156
+ <p>The simpler method to parse a css2 file.</p>
157
+ <p>Returns CR_OK upon successfull completion, an error code otherwise.
158
+ Note that this method uses <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()"><code class="function">cr_om_parser_parse_file()</code></a> so both methods
159
+ have the same return values.</p>
160
+ <div class="refsect3">
161
+ <a name="id-1.2.11.6.3.6"></a><h4>Parameters</h4>
162
+ <div class="informaltable"><table width="100%" border="0">
163
+ <colgroup>
164
+ <col width="150px" class="parameters_name">
165
+ <col class="parameters_description">
166
+ <col width="200px" class="parameters_annotations">
167
+ </colgroup>
168
+ <tbody>
197
169
  <tr>
198
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
199
- <td>the encoding of the file.</td>
170
+ <td class="parameter_name"><p>a_file_path</p></td>
171
+ <td class="parameter_description"><p>the css2 local file path.</p></td>
172
+ <td class="parameter_annotations"> </td>
200
173
  </tr>
201
174
  <tr>
202
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
203
- <td>out parameter. A pointer
204
- the build css object model.</td>
175
+ <td class="parameter_name"><p>a_enc</p></td>
176
+ <td class="parameter_description"><p>the file encoding.</p></td>
177
+ <td class="parameter_annotations"> </td>
205
178
  </tr>
206
179
  <tr>
207
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
208
- <td>CR_OK upon succesful completion, an error code otherwise.</td>
180
+ <td class="parameter_name"><p>a_result</p></td>
181
+ <td class="parameter_description"><p>out parameter. The returned css stylesheet.
182
+ Must be freed by the caller using cr_stylesheet_destroy.</p></td>
183
+ <td class="parameter_annotations"> </td>
209
184
  </tr>
210
185
  </tbody>
211
186
  </table></div>
212
187
  </div>
188
+ </div>
213
189
  <hr>
214
190
  <div class="refsect2">
215
- <a name="cr-om-parser-parse-paths-to-cascade"></a><h3>cr_om_parser_parse_paths_to_cascade ()</h3>
216
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_paths_to_cascade (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
217
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_author_path</code></em>,
218
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_user_path</code></em>,
219
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_ua_path</code></em>,
220
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
221
- <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
222
- <p>
223
- Parses three sheets located by their paths and build a cascade
224
- </p>
225
- <div class="variablelist"><table border="0">
226
- <col align="left" valign="top">
191
+ <a name="cr-om-parser-parse-file"></a><h3>cr_om_parser_parse_file ()</h3>
192
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
193
+ cr_om_parser_parse_file (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
194
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_file_uri</code></em>,
195
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
196
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
197
+ <p>Parses a css2 stylesheet contained
198
+ in a file.</p>
199
+ <p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
200
+ <div class="refsect3">
201
+ <a name="id-1.2.11.6.4.6"></a><h4>Parameters</h4>
202
+ <div class="informaltable"><table width="100%" border="0">
203
+ <colgroup>
204
+ <col width="150px" class="parameters_name">
205
+ <col class="parameters_description">
206
+ <col width="200px" class="parameters_annotations">
207
+ </colgroup>
227
208
  <tbody>
228
209
  <tr>
229
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
230
- <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>
231
- </td>
210
+ <td class="parameter_name"><p>a_this</p></td>
211
+ <td class="parameter_description"><p>the current instance of the cssom parser.</p></td>
212
+ <td class="parameter_annotations"> </td>
232
213
  </tr>
233
214
  <tr>
234
- <td><p><span class="term"><em class="parameter"><code>a_author_path</code></em> :</span></p></td>
235
- <td>the path to the author stylesheet</td>
215
+ <td class="parameter_name"><p>a_file_uri</p></td>
216
+ <td class="parameter_description"><p>the uri of the file.
217
+ (only local file paths are suppported so far)</p></td>
218
+ <td class="parameter_annotations"> </td>
236
219
  </tr>
237
220
  <tr>
238
- <td><p><span class="term"><em class="parameter"><code>a_user_path</code></em> :</span></p></td>
239
- <td>the path to the user stylesheet</td>
221
+ <td class="parameter_name"><p>a_enc</p></td>
222
+ <td class="parameter_description"><p>the encoding of the file.</p></td>
223
+ <td class="parameter_annotations"> </td>
240
224
  </tr>
241
225
  <tr>
242
- <td><p><span class="term"><em class="parameter"><code>a_ua_path</code></em> :</span></p></td>
243
- <td>the path to the User Agent stylesheet</td>
226
+ <td class="parameter_name"><p>a_result</p></td>
227
+ <td class="parameter_description"><p>out parameter. A pointer
228
+ the build css object model.</p></td>
229
+ <td class="parameter_annotations"> </td>
244
230
  </tr>
231
+ </tbody>
232
+ </table></div>
233
+ </div>
234
+ </div>
235
+ <hr>
236
+ <div class="refsect2">
237
+ <a name="cr-om-parser-simply-parse-buf"></a><h3>cr_om_parser_simply_parse_buf ()</h3>
238
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
239
+ cr_om_parser_simply_parse_buf (<em class="parameter"><code>const <span class="type">guchar</span> *a_buf</code></em>,
240
+ <em class="parameter"><code><span class="type">gulong</span> a_len</code></em>,
241
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
242
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
243
+ <p>The simpler way to parse an in memory css2 buffer.</p>
244
+ <p>Returns CR_OK upon successfull completion, an error code otherwise.</p>
245
+ <div class="refsect3">
246
+ <a name="id-1.2.11.6.5.6"></a><h4>Parameters</h4>
247
+ <div class="informaltable"><table width="100%" border="0">
248
+ <colgroup>
249
+ <col width="150px" class="parameters_name">
250
+ <col class="parameters_description">
251
+ <col width="200px" class="parameters_annotations">
252
+ </colgroup>
253
+ <tbody>
245
254
  <tr>
246
- <td><p><span class="term"><em class="parameter"><code>a_encoding</code></em> :</span></p></td>
247
- <td>the encoding of the sheets.</td>
255
+ <td class="parameter_name"><p>a_buf</p></td>
256
+ <td class="parameter_description"><p>the css2 in memory buffer.</p></td>
257
+ <td class="parameter_annotations"> </td>
248
258
  </tr>
249
259
  <tr>
250
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
251
- <td>out parameter. The resulting cascade if the parsing
252
- was okay</td>
260
+ <td class="parameter_name"><p>a_len</p></td>
261
+ <td class="parameter_description"><p>the length of the in memory buffer.</p></td>
262
+ <td class="parameter_annotations"> </td>
253
263
  </tr>
254
264
  <tr>
255
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
256
- <td>CR_OK upon successful completion, an error code otherwise</td>
265
+ <td class="parameter_name"><p>a_enc</p></td>
266
+ <td class="parameter_description"><p>the encoding of the in memory buffer.</p></td>
267
+ <td class="parameter_annotations"> </td>
268
+ </tr>
269
+ <tr>
270
+ <td class="parameter_name"><p>a_result</p></td>
271
+ <td class="parameter_description"><p>out parameter. The resulting css2 style sheet.</p></td>
272
+ <td class="parameter_annotations"> </td>
257
273
  </tr>
258
274
  </tbody>
259
275
  </table></div>
260
276
  </div>
277
+ </div>
261
278
  <hr>
262
279
  <div class="refsect2">
263
- <a name="cr-om-parser-simply-parse-buf"></a><h3>cr_om_parser_simply_parse_buf ()</h3>
264
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_buf (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_buf</code></em>,
265
- <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>,
266
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
267
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
268
- <p>
269
- The simpler way to parse an in memory css2 buffer.
270
- </p>
271
- <div class="variablelist"><table border="0">
272
- <col align="left" valign="top">
280
+ <a name="cr-om-parser-parse-buf"></a><h3>cr_om_parser_parse_buf ()</h3>
281
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
282
+ cr_om_parser_parse_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
283
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_buf</code></em>,
284
+ <em class="parameter"><code><span class="type">gulong</span> a_len</code></em>,
285
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
286
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
287
+ <p>Parses the content of an in memory buffer.</p>
288
+ <p>Returns CR_OK upon successfull completion, an error code otherwise.</p>
289
+ <div class="refsect3">
290
+ <a name="id-1.2.11.6.6.6"></a><h4>Parameters</h4>
291
+ <div class="informaltable"><table width="100%" border="0">
292
+ <colgroup>
293
+ <col width="150px" class="parameters_name">
294
+ <col class="parameters_description">
295
+ <col width="200px" class="parameters_annotations">
296
+ </colgroup>
273
297
  <tbody>
274
298
  <tr>
275
- <td><p><span class="term"><em class="parameter"><code>a_buf</code></em> :</span></p></td>
276
- <td>the css2 in memory buffer.</td>
299
+ <td class="parameter_name"><p>a_this</p></td>
300
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</p></td>
301
+ <td class="parameter_annotations"> </td>
277
302
  </tr>
278
303
  <tr>
279
- <td><p><span class="term"><em class="parameter"><code>a_len</code></em> :</span></p></td>
280
- <td>the length of the in memory buffer.</td>
304
+ <td class="parameter_name"><p>a_buf</p></td>
305
+ <td class="parameter_description"><p>the in memory buffer to parse.</p></td>
306
+ <td class="parameter_annotations"> </td>
281
307
  </tr>
282
308
  <tr>
283
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
284
- <td>the encoding of the in memory buffer.</td>
309
+ <td class="parameter_name"><p>a_len</p></td>
310
+ <td class="parameter_description"><p>the length of the in memory buffer in number of bytes.</p></td>
311
+ <td class="parameter_annotations"> </td>
285
312
  </tr>
286
313
  <tr>
287
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
288
- <td>out parameter. The resulting css2 style sheet.</td>
314
+ <td class="parameter_name"><p>a_enc</p></td>
315
+ <td class="parameter_description"><p>the encoding of the in memory buffer.</p></td>
316
+ <td class="parameter_annotations"> </td>
289
317
  </tr>
290
318
  <tr>
291
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
292
- <td>CR_OK upon successfull completion, an error code otherwise.</td>
319
+ <td class="parameter_name"><p>a_result</p></td>
320
+ <td class="parameter_description"><p>out parameter the resulting style sheet</p></td>
321
+ <td class="parameter_annotations"> </td>
293
322
  </tr>
294
323
  </tbody>
295
324
  </table></div>
296
325
  </div>
326
+ </div>
297
327
  <hr>
298
328
  <div class="refsect2">
299
- <a name="cr-om-parser-simply-parse-file"></a><h3>cr_om_parser_simply_parse_file ()</h3>
300
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_file_path</code></em>,
301
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
302
- <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
303
- <p>
304
- The simpler method to parse a css2 file.
305
- </p>
306
- <div class="variablelist"><table border="0">
307
- <col align="left" valign="top">
329
+ <a name="cr-om-parser-parse-paths-to-cascade"></a><h3>cr_om_parser_parse_paths_to_cascade ()</h3>
330
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
331
+ cr_om_parser_parse_paths_to_cascade (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
332
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_author_path</code></em>,
333
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_user_path</code></em>,
334
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_ua_path</code></em>,
335
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
336
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
337
+ <p>Parses three sheets located by their paths and build a cascade</p>
338
+ <p>Returns CR_OK upon successful completion, an error code otherwise</p>
339
+ <div class="refsect3">
340
+ <a name="id-1.2.11.6.7.6"></a><h4>Parameters</h4>
341
+ <div class="informaltable"><table width="100%" border="0">
342
+ <colgroup>
343
+ <col width="150px" class="parameters_name">
344
+ <col class="parameters_description">
345
+ <col width="200px" class="parameters_annotations">
346
+ </colgroup>
308
347
  <tbody>
309
348
  <tr>
310
- <td><p><span class="term"><em class="parameter"><code>a_file_path</code></em> :</span></p></td>
311
- <td>the css2 local file path.</td>
349
+ <td class="parameter_name"><p>a_this</p></td>
350
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a></p></td>
351
+ <td class="parameter_annotations"> </td>
312
352
  </tr>
313
353
  <tr>
314
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
315
- <td>the file encoding.</td>
354
+ <td class="parameter_name"><p>a_author_path</p></td>
355
+ <td class="parameter_description"><p>the path to the author stylesheet</p></td>
356
+ <td class="parameter_annotations"> </td>
316
357
  </tr>
317
358
  <tr>
318
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
319
- <td>out parameter. The returned css stylesheet.
320
- Must be freed by the caller using cr_stylesheet_destroy.</td>
359
+ <td class="parameter_name"><p>a_user_path</p></td>
360
+ <td class="parameter_description"><p>the path to the user stylesheet</p></td>
361
+ <td class="parameter_annotations"> </td>
321
362
  </tr>
322
363
  <tr>
323
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
324
- <td>CR_OK upon successfull completion, an error code otherwise.
325
- Note that this method uses <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()"><code class="function">cr_om_parser_parse_file()</code></a> so both methods
326
- have the same return values.</td>
364
+ <td class="parameter_name"><p>a_ua_path</p></td>
365
+ <td class="parameter_description"><p>the path to the User Agent stylesheet</p></td>
366
+ <td class="parameter_annotations"> </td>
367
+ </tr>
368
+ <tr>
369
+ <td class="parameter_name"><p>a_encoding</p></td>
370
+ <td class="parameter_description"><p>the encoding of the sheets.</p></td>
371
+ <td class="parameter_annotations"> </td>
372
+ </tr>
373
+ <tr>
374
+ <td class="parameter_name"><p>a_result</p></td>
375
+ <td class="parameter_description"><p>out parameter. The resulting cascade if the parsing
376
+ was okay</p></td>
377
+ <td class="parameter_annotations"> </td>
327
378
  </tr>
328
379
  </tbody>
329
380
  </table></div>
330
381
  </div>
382
+ </div>
331
383
  <hr>
332
384
  <div class="refsect2">
333
- <a name="cr-om-parser-simply-parse-paths-to-cascade"></a><h3>cr_om_parser_simply_parse_paths_to_cascade ()</h3>
334
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_paths_to_cascade
335
- (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_author_path</code></em>,
336
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_user_path</code></em>,
337
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_ua_path</code></em>,
338
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
339
- <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
340
- <p>
341
- Parses three sheets located by their paths and build a cascade
342
- </p>
343
- <div class="variablelist"><table border="0">
344
- <col align="left" valign="top">
385
+ <a name="cr-om-parser-simply-parse-paths-to-cascade"></a><h3>cr_om_parser_simply_parse_paths_to_cascade ()</h3>
386
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
387
+ cr_om_parser_simply_parse_paths_to_cascade
388
+ (<em class="parameter"><code>const <span class="type">guchar</span> *a_author_path</code></em>,
389
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_user_path</code></em>,
390
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_ua_path</code></em>,
391
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
392
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
393
+ <p>Parses three sheets located by their paths and build a cascade</p>
394
+ <p>Returns CR_OK upon successful completion, an error code otherwise</p>
395
+ <div class="refsect3">
396
+ <a name="id-1.2.11.6.8.6"></a><h4>Parameters</h4>
397
+ <div class="informaltable"><table width="100%" border="0">
398
+ <colgroup>
399
+ <col width="150px" class="parameters_name">
400
+ <col class="parameters_description">
401
+ <col width="200px" class="parameters_annotations">
402
+ </colgroup>
345
403
  <tbody>
346
404
  <tr>
347
- <td><p><span class="term"><em class="parameter"><code>a_author_path</code></em> :</span></p></td>
348
- <td>the path to the author stylesheet</td>
349
- </tr>
350
- <tr>
351
- <td><p><span class="term"><em class="parameter"><code>a_user_path</code></em> :</span></p></td>
352
- <td>the path to the user stylesheet</td>
405
+ <td class="parameter_name"><p>a_author_path</p></td>
406
+ <td class="parameter_description"><p>the path to the author stylesheet</p></td>
407
+ <td class="parameter_annotations"> </td>
353
408
  </tr>
354
409
  <tr>
355
- <td><p><span class="term"><em class="parameter"><code>a_ua_path</code></em> :</span></p></td>
356
- <td>the path to the User Agent stylesheet</td>
410
+ <td class="parameter_name"><p>a_user_path</p></td>
411
+ <td class="parameter_description"><p>the path to the user stylesheet</p></td>
412
+ <td class="parameter_annotations"> </td>
357
413
  </tr>
358
414
  <tr>
359
- <td><p><span class="term"><em class="parameter"><code>a_encoding</code></em> :</span></p></td>
360
- <td>the encoding of the sheets.</td>
415
+ <td class="parameter_name"><p>a_ua_path</p></td>
416
+ <td class="parameter_description"><p>the path to the User Agent stylesheet</p></td>
417
+ <td class="parameter_annotations"> </td>
361
418
  </tr>
362
419
  <tr>
363
- <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
364
- <td>out parameter. The resulting cascade if the parsing
365
- was okay</td>
420
+ <td class="parameter_name"><p>a_encoding</p></td>
421
+ <td class="parameter_description"><p>the encoding of the sheets.</p></td>
422
+ <td class="parameter_annotations"> </td>
366
423
  </tr>
367
424
  <tr>
368
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
369
- <td>CR_OK upon successful completion, an error code otherwise</td>
425
+ <td class="parameter_name"><p>a_result</p></td>
426
+ <td class="parameter_description"><p>out parameter. The resulting cascade if the parsing
427
+ was okay</p></td>
428
+ <td class="parameter_annotations"> </td>
370
429
  </tr>
371
430
  </tbody>
372
431
  </table></div>
373
432
  </div>
374
433
  </div>
434
+ <hr>
435
+ <div class="refsect2">
436
+ <a name="cr-om-parser-destroy"></a><h3>cr_om_parser_destroy ()</h3>
437
+ <pre class="programlisting"><span class="returnvalue">void</span>
438
+ cr_om_parser_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>);</pre>
439
+ <p>Destructor of the <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</p>
440
+ <div class="refsect3">
441
+ <a name="id-1.2.11.6.9.5"></a><h4>Parameters</h4>
442
+ <div class="informaltable"><table width="100%" border="0">
443
+ <colgroup>
444
+ <col width="150px" class="parameters_name">
445
+ <col class="parameters_description">
446
+ <col width="200px" class="parameters_annotations">
447
+ </colgroup>
448
+ <tbody><tr>
449
+ <td class="parameter_name"><p>a_this</p></td>
450
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</p></td>
451
+ <td class="parameter_annotations"> </td>
452
+ </tr></tbody>
453
+ </table></div>
454
+ </div>
455
+ </div>
456
+ </div>
457
+ <div class="refsect1">
458
+ <a name="libcroco-cr-om-parser.other_details"></a><h2>Types and Values</h2>
459
+ <div class="refsect2">
460
+ <a name="CROMParser"></a><h3>struct CROMParser</h3>
461
+ <pre class="programlisting">struct CROMParser {
462
+ CROMParserPriv *priv ;
463
+ };
464
+ </pre>
375
465
  </div>
376
- <div class="footer">
377
466
  <hr>
378
- Generated by GTK-Doc V1.18</div>
467
+ <div class="refsect2">
468
+ <a name="CROMParserPriv"></a><h3>CROMParserPriv</h3>
469
+ <pre class="programlisting">typedef struct _CROMParserPriv CROMParserPriv;</pre>
470
+ </div>
471
+ </div>
472
+ </div>
473
+ <div class="footer">
474
+ <hr>Generated by GTK-Doc V1.24.1</div>
379
475
  </body>
380
476
  </html>