rsvg2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +69 -0
  4. data/ext/rsvg2/depend +6 -0
  5. data/ext/rsvg2/extconf.rb +89 -0
  6. data/ext/rsvg2/rbrsvg.c +206 -0
  7. data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
  8. data/ext/rsvg2/rbrsvghandle.c +496 -0
  9. data/ext/rsvg2/rsvg2.def +2 -0
  10. data/ext/rsvg2/rsvg2.h +70 -0
  11. data/extconf.rb +49 -0
  12. data/lib/2.0/rsvg2.so +0 -0
  13. data/lib/2.1/rsvg2.so +0 -0
  14. data/lib/2.2/rsvg2.so +0 -0
  15. data/lib/rsvg2.rb +33 -0
  16. data/sample/svg-viewer.rb +44 -0
  17. data/sample/svg2.rb +60 -0
  18. data/test/rsvg2-test-utils.rb +23 -0
  19. data/test/run-test.rb +49 -0
  20. data/test/test-handle.rb +91 -0
  21. data/vendor/local/bin/croco-0.6-config +87 -0
  22. data/vendor/local/bin/csslint-0.6.exe +0 -0
  23. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  24. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  25. data/vendor/local/bin/rsvg-convert.exe +0 -0
  26. data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
  27. data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
  28. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
  29. data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
  30. data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
  31. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
  32. data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
  33. data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
  34. data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
  35. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
  36. data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
  37. data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
  38. data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
  39. data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
  40. data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
  41. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
  42. data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
  43. data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
  44. data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
  45. data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
  46. data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
  47. data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
  48. data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
  49. data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
  50. data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
  51. data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
  52. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
  53. data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
  54. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
  55. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
  56. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
  57. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
  58. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  59. data/vendor/local/lib/libcroco-0.6.a +0 -0
  60. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  61. data/vendor/local/lib/libcroco-0.6.la +41 -0
  62. data/vendor/local/lib/librsvg-2.a +0 -0
  63. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  64. data/vendor/local/lib/librsvg-2.la +41 -0
  65. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
  67. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
  68. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  69. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  70. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  71. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  72. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  74. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  75. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  76. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  77. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  78. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  79. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  80. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  81. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  82. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  83. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  84. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  85. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  86. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  87. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  88. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  89. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  90. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  91. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  92. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  94. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  95. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  96. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  97. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  98. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  99. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  100. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  101. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  103. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
  105. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  106. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
  107. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
  108. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
  109. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
  110. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
  111. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
  112. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
  113. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
  114. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
  115. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  116. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  117. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
  118. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  119. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  120. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  121. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  122. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  123. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  124. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
  125. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
  126. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
  127. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
  128. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
  129. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  130. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
  131. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  132. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  133. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  134. data/vendor/local/share/license/libcroco/COPYING +481 -0
  135. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  136. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  137. data/vendor/local/share/license/librsvg/COPYING +340 -0
  138. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  139. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  140. metadata +209 -0
@@ -0,0 +1,517 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>cr-doc-handler</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
+ <link rel="up" href="ch01.html" title="Extensive APIs description">
9
+ <link rel="prev" href="libcroco-cr-declaration.html" title="cr-declaration">
10
+ <link rel="next" href="libcroco-cr-enc-handler.html" title="cr-enc-handler">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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-declaration.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-enc-handler.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-doc-handler.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#libcroco-cr-doc-handler.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="libcroco-cr-doc-handler"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="libcroco-cr-doc-handler.top_of_page"></a>cr-doc-handler</span></h2>
34
+ <p>cr-doc-handler</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="libcroco-cr-doc-handler.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">struct <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler">CRDocHandler</a>;
41
+ <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandlerPriv" title="CRDocHandlerPriv">CRDocHandlerPriv</a>;
42
+ <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-associate-a-parser" title="cr_doc_handler_associate_a_parser ()">cr_doc_handler_associate_a_parser</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
43
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_parser</code></em>);
44
+ <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-destroy" title="cr_doc_handler_destroy ()">cr_doc_handler_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);
45
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-get-ctxt" title="cr_doc_handler_get_ctxt ()">cr_doc_handler_get_ctxt</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> const *a_this</code></em>,
46
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *a_ctxt</code></em>);
47
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-get-result" title="cr_doc_handler_get_result ()">cr_doc_handler_get_result</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> const *a_this</code></em>,
48
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *a_result</code></em>);
49
+ <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="returnvalue">CRDocHandler</span></a> * <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-new" title="cr_doc_handler_new ()">cr_doc_handler_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
50
+ <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-ref" title="cr_doc_handler_ref ()">cr_doc_handler_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);
51
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-set-ctxt" title="cr_doc_handler_set_ctxt ()">cr_doc_handler_set_ctxt</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
52
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_ctxt</code></em>);
53
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-set-default-sac-handler" title="cr_doc_handler_set_default_sac_handler ()">cr_doc_handler_set_default_sac_handler</a>
54
+ (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);
55
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-doc-handler.html#cr-doc-handler-set-result" title="cr_doc_handler_set_result ()">cr_doc_handler_set_result</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
56
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_result</code></em>);
57
+ <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-doc-handler.html#cr-doc-handler-unref" title="cr_doc_handler_unref ()">cr_doc_handler_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);
58
+ </pre>
59
+ </div>
60
+ <div class="refsect1">
61
+ <a name="libcroco-cr-doc-handler.description"></a><h2>Description</h2>
62
+ <p>
63
+ </p>
64
+ </div>
65
+ <div class="refsect1">
66
+ <a name="libcroco-cr-doc-handler.details"></a><h2>Details</h2>
67
+ <div class="refsect2">
68
+ <a name="CRDocHandler"></a><h3>struct CRDocHandler</h3>
69
+ <pre class="programlisting">struct CRDocHandler {
70
+ CRDocHandlerPriv *priv ;
71
+
72
+ /**
73
+ *This pointer is to be used by the application for
74
+ *it custom needs. It is there to extend the doc handler.
75
+ */
76
+ gpointer app_data ;
77
+
78
+ /**
79
+ *Is called at the beginning of the parsing of the document.
80
+ *@param a_this a pointer to the current instance of
81
+ *#CRDocHandler.
82
+ */
83
+ void (*start_document) (CRDocHandler *a_this) ;
84
+
85
+ /**
86
+ *Is called to notify the end of the parsing of the document.
87
+ *@param a_this a pointer to the current instance of
88
+ *#CRDocHandler.
89
+ */
90
+ void (*end_document) (CRDocHandler *a_this) ;
91
+
92
+ /**
93
+ *Is called to notify an at charset rule.
94
+ *@param a_this the document handler.
95
+ *@param a_charset the declared charset.
96
+ */
97
+ void (*charset) (CRDocHandler *a_this,
98
+ CRString *a_charset,
99
+ CRParsingLocation *a_charset_sym_location) ;
100
+
101
+ /**
102
+ *Is called to notify an import statement in
103
+ *the stylesheet.
104
+ *@param a_this the current instance of #CRDocHandler.
105
+ *@param a_media_list a doubly linked list of GString objects.
106
+ *Each GString object contains a string which is the
107
+ *destination media for style information.
108
+ *@param a_uri the uri of the imported style sheet.
109
+ *@param a_uri_default_ns the default namespace of URI
110
+ *@param a_location the parsing location of the '\@import'
111
+ *keyword.
112
+ *of the imported style sheet.
113
+ */
114
+ void (*import_style) (CRDocHandler *a_this,
115
+ GList *a_media_list,
116
+ CRString *a_uri,
117
+ CRString *a_uri_default_ns,
118
+ CRParsingLocation *a_location) ;
119
+
120
+ void (*import_style_result) (CRDocHandler *a_this,
121
+ GList *a_media_list,
122
+ CRString *a_uri,
123
+ CRString *a_uri_default_ns,
124
+ CRStyleSheet *a_sheet) ;
125
+
126
+ /**
127
+ *Is called to notify a namespace declaration.
128
+ *Not used yet.
129
+ *@param a_this the current instance of #CRDocHandler.
130
+ *@param a_prefix the prefix of the namespace.
131
+ *@param a_uri the uri of the namespace.
132
+ *@param a_location the location of the "@namespace" keyword.
133
+ */
134
+ void (*namespace_declaration) (CRDocHandler *a_this,
135
+ CRString *a_prefix,
136
+ CRString *a_uri,
137
+ CRParsingLocation *a_location) ;
138
+
139
+ /**
140
+ *Is called to notify a comment.
141
+ *@param a_this a pointer to the current instance
142
+ *of #CRDocHandler.
143
+ *@param a_comment the comment.
144
+ */
145
+ void (*comment) (CRDocHandler *a_this,
146
+ CRString *a_comment) ;
147
+
148
+ /**
149
+ *Is called to notify the beginning of a rule
150
+ *statement.
151
+ *@param a_this the current instance of #CRDocHandler.
152
+ *@param a_selector_list the list of selectors that precedes
153
+ *the rule declarations.
154
+ */
155
+ void (*start_selector) (CRDocHandler * a_this,
156
+ CRSelector *a_selector_list) ;
157
+
158
+ /**
159
+ *Is called to notify the end of a rule statement.
160
+ *@param a_this the current instance of #CRDocHandler.
161
+ *@param a_selector_list the list of selectors that precedes
162
+ *the rule declarations. This pointer is the same as
163
+ *the one passed to start_selector() ;
164
+ */
165
+ void (*end_selector) (CRDocHandler *a_this,
166
+ CRSelector *a_selector_list) ;
167
+
168
+
169
+ /**
170
+ *Is called to notify a declaration.
171
+ *@param a_this a pointer to the current instance
172
+ *of #CRDocHandler.
173
+ *@param a_name the name of the parsed property.
174
+ *@param a_expression a css expression that represents
175
+ *the value of the property. A css expression is
176
+ *actually a linked list of 'terms'. Each term can
177
+ *be linked to other using operators.
178
+ *
179
+ */
180
+ void (*property) (CRDocHandler *a_this,
181
+ CRString *a_name,
182
+ CRTerm *a_expression,
183
+ gboolean a_is_important) ;
184
+ /**
185
+ *Is called to notify the start of a font face statement.
186
+ *The parser invokes this method at the beginning of every
187
+ *font face statement in the style sheet. There will
188
+ *be a corresponding end_font_face () event for every
189
+ *start_font_face () event.
190
+ *
191
+ *@param a_this a pointer to the current instance of
192
+ *#CRDocHandler.
193
+ *@param a_location the parsing location of the "\@font-face"
194
+ *keyword.
195
+ */
196
+ void (*start_font_face) (CRDocHandler *a_this,
197
+ CRParsingLocation *a_location) ;
198
+
199
+ /**
200
+ *Is called to notify the end of a font face statement.
201
+ *@param a_this a pointer to the current instance of
202
+ *#CRDocHandler.
203
+ */
204
+ void (*end_font_face) (CRDocHandler *a_this) ;
205
+
206
+
207
+ /**
208
+ *Is called to notify the beginning of a media statement.
209
+ *The parser will invoke this method at the beginning of
210
+ *every media statement in the style sheet. There will be
211
+ *a corresponding end_media() event for every start_media()
212
+ *event.
213
+ *@param a_this a pointer to the current instance of
214
+ *#CRDocHandler.
215
+ *@param a_media_list a double linked list of
216
+ #CRString * objects.
217
+ *Each CRString objects is actually a destination media for
218
+ *the style information.
219
+ */
220
+ void (*start_media) (CRDocHandler *a_this,
221
+ GList *a_media_list,
222
+ CRParsingLocation *a_location) ;
223
+
224
+ /**
225
+ *Is called to notify the end of a media statement.
226
+ *@param a_this a pointer to the current instance
227
+ *of #CRDocHandler.
228
+ *@param a_media_list a double linked list of GString * objects.
229
+ *Each GString objects is actually a destination media for
230
+ *the style information.
231
+ */
232
+ void (*end_media) (CRDocHandler *a_this,
233
+ GList *a_media_list) ;
234
+
235
+ /**
236
+ *Is called to notify the beginning of a page statement.
237
+ *The parser invokes this function at the beginning of
238
+ *every page statement in the style sheet. There will be
239
+ *a corresponding end_page() event for every single
240
+ *start_page() event.
241
+ *@param a_this a pointer to the current instance of
242
+ *#CRDocHandler.
243
+ *@param a_name the name of the page (if any, null otherwise).
244
+ *@param a_pseudo_page the pseudo page (if any, null otherwise).
245
+ *@param a_location the parsing location of the "\@page" keyword.
246
+ */
247
+ void (*start_page) (CRDocHandler *a_this,
248
+ CRString *a_name,
249
+ CRString *a_pseudo_page,
250
+ CRParsingLocation *a_location) ;
251
+
252
+ /**
253
+ *Is called to notify the end of a page statement.
254
+ *@param a_this a pointer to the current instance of
255
+ *#CRDocHandler.
256
+ *@param a_name the name of the page (if any, null otherwise).
257
+ *@param a_pseudo_page the pseudo page (if any, null otherwise).
258
+ */
259
+ void (*end_page) (CRDocHandler *a_this,
260
+ CRString *a_name,
261
+ CRString *pseudo_page) ;
262
+
263
+ /**
264
+ *Is Called to notify an unknown at-rule not supported
265
+ *by this parser.
266
+ */
267
+ void (*ignorable_at_rule) (CRDocHandler *a_this,
268
+ CRString *a_name) ;
269
+
270
+ /**
271
+ *Is called to notify a parsing error. After this error
272
+ *the application must ignore the rule being parsed, if
273
+ *any. After completion of this callback,
274
+ *the parser will then try to resume the parsing,
275
+ *ignoring the current error.
276
+ */
277
+ void (*error) (CRDocHandler *a_this) ;
278
+
279
+ /**
280
+ *Is called to notify an unrecoverable parsing error.
281
+ *This is the place to put emergency routines that free allocated
282
+ *resources.
283
+ */
284
+ void (*unrecoverable_error) (CRDocHandler *a_this) ;
285
+
286
+ gboolean resolve_import ;
287
+ gulong ref_count ;
288
+ };
289
+ </pre>
290
+ <p>
291
+ </p>
292
+ </div>
293
+ <hr>
294
+ <div class="refsect2">
295
+ <a name="CRDocHandlerPriv"></a><h3>CRDocHandlerPriv</h3>
296
+ <pre class="programlisting">typedef struct _CRDocHandlerPriv CRDocHandlerPriv;</pre>
297
+ <p>
298
+ </p>
299
+ </div>
300
+ <hr>
301
+ <div class="refsect2">
302
+ <a name="cr-doc-handler-associate-a-parser"></a><h3>cr_doc_handler_associate_a_parser ()</h3>
303
+ <pre class="programlisting"><span class="returnvalue">void</span> cr_doc_handler_associate_a_parser (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
304
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_parser</code></em>);</pre>
305
+ <p>
306
+ <em class="parameter"><code>a_this</code></em>: the current instance of document handler.
307
+ <em class="parameter"><code>a_parser</code></em>: the parser to associate.
308
+ </p>
309
+ </div>
310
+ <hr>
311
+ <div class="refsect2">
312
+ <a name="cr-doc-handler-destroy"></a><h3>cr_doc_handler_destroy ()</h3>
313
+ <pre class="programlisting"><span class="returnvalue">void</span> cr_doc_handler_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);</pre>
314
+ <p>
315
+ The destructor of the <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> class.
316
+ </p>
317
+ <div class="variablelist"><table border="0">
318
+ <col align="left" valign="top">
319
+ <tbody><tr>
320
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
321
+ <td>the instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> to
322
+ destroy.</td>
323
+ </tr></tbody>
324
+ </table></div>
325
+ </div>
326
+ <hr>
327
+ <div class="refsect2">
328
+ <a name="cr-doc-handler-get-ctxt"></a><h3>cr_doc_handler_get_ctxt ()</h3>
329
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_doc_handler_get_ctxt (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> const *a_this</code></em>,
330
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *a_ctxt</code></em>);</pre>
331
+ <p>
332
+ Gets the private parsing context associated to the document handler
333
+ The private parsing context is used by libcroco only.
334
+ </p>
335
+ <div class="variablelist"><table border="0">
336
+ <col align="left" valign="top">
337
+ <tbody>
338
+ <tr>
339
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
340
+ <td>the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>.</td>
341
+ </tr>
342
+ <tr>
343
+ <td><p><span class="term"><em class="parameter"><code>a_ctxt</code></em> :</span></p></td>
344
+ <td>out parameter. The new parsing context.</td>
345
+ </tr>
346
+ <tr>
347
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
348
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
349
+ </tr>
350
+ </tbody>
351
+ </table></div>
352
+ </div>
353
+ <hr>
354
+ <div class="refsect2">
355
+ <a name="cr-doc-handler-get-result"></a><h3>cr_doc_handler_get_result ()</h3>
356
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_doc_handler_get_result (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> const *a_this</code></em>,
357
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *a_result</code></em>);</pre>
358
+ <p>
359
+ Gets the private parsing result.
360
+ The private parsing result is used by libcroco only.
361
+ </p>
362
+ <div class="variablelist"><table border="0">
363
+ <col align="left" valign="top">
364
+ <tbody>
365
+ <tr>
366
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
367
+ <td>the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>
368
+ </td>
369
+ </tr>
370
+ <tr>
371
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
372
+ <td>out parameter. The returned result.</td>
373
+ </tr>
374
+ <tr>
375
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
376
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
377
+ </tr>
378
+ </tbody>
379
+ </table></div>
380
+ </div>
381
+ <hr>
382
+ <div class="refsect2">
383
+ <a name="cr-doc-handler-new"></a><h3>cr_doc_handler_new ()</h3>
384
+ <pre class="programlisting"><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="returnvalue">CRDocHandler</span></a> * cr_doc_handler_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
385
+ <div class="variablelist"><table border="0">
386
+ <col align="left" valign="top">
387
+ <tbody><tr>
388
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
389
+ <td>the newly built instance of
390
+ <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>
391
+ </td>
392
+ </tr></tbody>
393
+ </table></div>
394
+ </div>
395
+ <hr>
396
+ <div class="refsect2">
397
+ <a name="cr-doc-handler-ref"></a><h3>cr_doc_handler_ref ()</h3>
398
+ <pre class="programlisting"><span class="returnvalue">void</span> cr_doc_handler_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);</pre>
399
+ <div class="variablelist"><table border="0">
400
+ <col align="left" valign="top">
401
+ <tbody><tr>
402
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
403
+ <td>the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>.</td>
404
+ </tr></tbody>
405
+ </table></div>
406
+ </div>
407
+ <hr>
408
+ <div class="refsect2">
409
+ <a name="cr-doc-handler-set-ctxt"></a><h3>cr_doc_handler_set_ctxt ()</h3>
410
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_doc_handler_set_ctxt (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
411
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_ctxt</code></em>);</pre>
412
+ <p>
413
+ Sets the private parsing context.
414
+ This is used by libcroco only.
415
+ </p>
416
+ <div class="variablelist"><table border="0">
417
+ <col align="left" valign="top">
418
+ <tbody>
419
+ <tr>
420
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
421
+ <td>the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>
422
+ </td>
423
+ </tr>
424
+ <tr>
425
+ <td><p><span class="term"><em class="parameter"><code>a_ctxt</code></em> :</span></p></td>
426
+ <td>a pointer to the parsing context.</td>
427
+ </tr>
428
+ <tr>
429
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
430
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
431
+ </tr>
432
+ </tbody>
433
+ </table></div>
434
+ </div>
435
+ <hr>
436
+ <div class="refsect2">
437
+ <a name="cr-doc-handler-set-default-sac-handler"></a><h3>cr_doc_handler_set_default_sac_handler ()</h3>
438
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_doc_handler_set_default_sac_handler
439
+ (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);</pre>
440
+ <p>
441
+ Sets the sac handlers contained in the current
442
+ instance of DocHandler to the default handlers.
443
+ For the time being the default handlers are
444
+ test handlers. This is expected to change in a
445
+ near future, when the libcroco gets a bit debugged.
446
+ </p>
447
+ <div class="variablelist"><table border="0">
448
+ <col align="left" valign="top">
449
+ <tbody>
450
+ <tr>
451
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
452
+ <td>a pointer to the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>.</td>
453
+ </tr>
454
+ <tr>
455
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
456
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
457
+ </tr>
458
+ </tbody>
459
+ </table></div>
460
+ </div>
461
+ <hr>
462
+ <div class="refsect2">
463
+ <a name="cr-doc-handler-set-result"></a><h3>cr_doc_handler_set_result ()</h3>
464
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_doc_handler_set_result (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>,
465
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> a_result</code></em>);</pre>
466
+ <p>
467
+ Sets the private parsing context.
468
+ This is used by libcroco only.
469
+ </p>
470
+ <div class="variablelist"><table border="0">
471
+ <col align="left" valign="top">
472
+ <tbody>
473
+ <tr>
474
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
475
+ <td>the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>
476
+ </td>
477
+ </tr>
478
+ <tr>
479
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
480
+ <td>the new result.</td>
481
+ </tr>
482
+ <tr>
483
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
484
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
485
+ </tr>
486
+ </tbody>
487
+ </table></div>
488
+ </div>
489
+ <hr>
490
+ <div class="refsect2">
491
+ <a name="cr-doc-handler-unref"></a><h3>cr_doc_handler_unref ()</h3>
492
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_doc_handler_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a> *a_this</code></em>);</pre>
493
+ <p>
494
+ Decreases the ref count of the current instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>.
495
+ If the ref count reaches '0' then, destroys the instance.
496
+ </p>
497
+ <div class="variablelist"><table border="0">
498
+ <col align="left" valign="top">
499
+ <tbody>
500
+ <tr>
501
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
502
+ <td>the currrent instance of <a class="link" href="libcroco-cr-doc-handler.html#CRDocHandler" title="struct CRDocHandler"><span class="type">CRDocHandler</span></a>.</td>
503
+ </tr>
504
+ <tr>
505
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
506
+ <td>TRUE if the instance as been destroyed, FALSE otherwise.</td>
507
+ </tr>
508
+ </tbody>
509
+ </table></div>
510
+ </div>
511
+ </div>
512
+ </div>
513
+ <div class="footer">
514
+ <hr>
515
+ Generated by GTK-Doc V1.18</div>
516
+ </body>
517
+ </html>