rsvg2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +63 -7
- data/ext/rsvg2/extconf.rb +4 -1
- data/lib/1.9/rsvg2.so +0 -0
- data/lib/2.0/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +87 -0
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +1 -1
- data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +1 -1
- data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +1 -1
- data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +1 -5
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +4 -5
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +4 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +13 -10
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +4 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +64 -34
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +41 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +41 -0
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +3 -4
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +693 -0
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
- data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
- data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
- data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
- data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1073 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +58 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +50 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +51 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +42 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +59 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +58 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +105 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +328 -0
- data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +101 -0
- data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
- data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +96 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +283 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +386 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +126 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +109 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/up.png +0 -0
- data/vendor/local/share/license/libcroco/AUTHORS +13 -0
- data/vendor/local/share/license/libcroco/COPYING +481 -0
- data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
- data/vendor/local/share/license/librsvg/AUTHORS +1 -0
- data/vendor/local/share/license/librsvg/COPYING +340 -0
- data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
- data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
- metadata +90 -299
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/rsvg-view.exe +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
- data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
- data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
- data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
- data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
- data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
- data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
- data/vendor/local/include/libxml2/libxml/dict.h +0 -80
- data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
- data/vendor/local/include/libxml2/libxml/entities.h +0 -150
- data/vendor/local/include/libxml2/libxml/globals.h +0 -502
- data/vendor/local/include/libxml2/libxml/hash.h +0 -233
- data/vendor/local/include/libxml2/libxml/list.h +0 -137
- data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
- data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
- data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
- data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
- data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
- data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
- data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
- data/vendor/local/include/libxml2/libxml/threads.h +0 -84
- data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
- data/vendor/local/include/libxml2/libxml/uri.h +0 -94
- data/vendor/local/include/libxml2/libxml/valid.h +0 -458
- data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
- data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
- data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
- data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
- data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
- data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
- data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
- data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
- data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
- data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
- data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
- data/vendor/local/lib/libxml2.def +0 -1659
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
- data/vendor/local/manifest/libcroco-dev_0.6.2-1_win32.mft +0 -36
- data/vendor/local/manifest/libcroco_0.6.2-1_win32.mft +0 -2
- data/vendor/local/manifest/librsvg-dev_2.32.1-1_win32.mft +0 -11
- data/vendor/local/manifest/librsvg_2.32.1-1_win32.mft +0 -2
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
- data/vendor/local/share/aclocal/libxml.m4 +0 -188
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
- data/vendor/local/share/man/man1/xml2-config.1 +0 -30
- data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
- data/vendor/local/share/man/man1/xmllint.1 +0 -427
- data/vendor/local/share/man/man3/libxml.3 +0 -71
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
- data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.log +0 -471
- data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh +0 -61
- data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.log +0 -535
- data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.sh +0 -125
@@ -0,0 +1,240 @@
|
|
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-cascade</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-attr-sel.html" title="cr-attr-sel">
|
10
|
+
<link rel="next" href="libcroco-cr-declaration.html" title="cr-declaration">
|
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-attr-sel.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-declaration.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-cascade.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-cascade.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-cascade"></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-cascade.top_of_page"></a>cr-cascade</span></h2>
|
34
|
+
<p>cr-cascade</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-cascade.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">struct <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade">CRCascade</a>;
|
41
|
+
<a class="link" href="libcroco-cr-cascade.html#CRCascadePriv" title="CRCascadePriv">CRCascadePriv</a>;
|
42
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy ()">cr_cascade_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
43
|
+
<a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="returnvalue">CRStyleSheet</span></a> * <a class="link" href="libcroco-cr-cascade.html#cr-cascade-get-sheet" title="cr_cascade_get_sheet ()">cr_cascade_get_sheet</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
44
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);
|
45
|
+
<a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a> * <a class="link" href="libcroco-cr-cascade.html#cr-cascade-new" title="cr_cascade_new ()">cr_cascade_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_author_sheet</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_user_sheet</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_ua_sheet</code></em>);
|
48
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-ref" title="cr_cascade_ref ()">cr_cascade_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
49
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-set-sheet" title="cr_cascade_set_sheet ()">cr_cascade_set_sheet</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
50
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-unref" title="cr_cascade_unref ()">cr_cascade_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
53
|
+
</pre>
|
54
|
+
</div>
|
55
|
+
<div class="refsect1">
|
56
|
+
<a name="libcroco-cr-cascade.description"></a><h2>Description</h2>
|
57
|
+
<p>
|
58
|
+
</p>
|
59
|
+
</div>
|
60
|
+
<div class="refsect1">
|
61
|
+
<a name="libcroco-cr-cascade.details"></a><h2>Details</h2>
|
62
|
+
<div class="refsect2">
|
63
|
+
<a name="CRCascade"></a><h3>struct CRCascade</h3>
|
64
|
+
<pre class="programlisting">struct CRCascade {
|
65
|
+
CRCascadePriv *priv ;
|
66
|
+
};
|
67
|
+
</pre>
|
68
|
+
<p>
|
69
|
+
</p>
|
70
|
+
</div>
|
71
|
+
<hr>
|
72
|
+
<div class="refsect2">
|
73
|
+
<a name="CRCascadePriv"></a><h3>CRCascadePriv</h3>
|
74
|
+
<pre class="programlisting">typedef struct _CRCascadePriv CRCascadePriv;</pre>
|
75
|
+
<p>
|
76
|
+
</p>
|
77
|
+
</div>
|
78
|
+
<hr>
|
79
|
+
<div class="refsect2">
|
80
|
+
<a name="cr-cascade-destroy"></a><h3>cr_cascade_destroy ()</h3>
|
81
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_cascade_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
82
|
+
<p>
|
83
|
+
Destructor of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.
|
84
|
+
</p>
|
85
|
+
<div class="variablelist"><table border="0">
|
86
|
+
<col align="left" valign="top">
|
87
|
+
<tbody><tr>
|
88
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
89
|
+
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>
|
90
|
+
</td>
|
91
|
+
</tr></tbody>
|
92
|
+
</table></div>
|
93
|
+
</div>
|
94
|
+
<hr>
|
95
|
+
<div class="refsect2">
|
96
|
+
<a name="cr-cascade-get-sheet"></a><h3>cr_cascade_get_sheet ()</h3>
|
97
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="returnvalue">CRStyleSheet</span></a> * cr_cascade_get_sheet (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
98
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);</pre>
|
99
|
+
<p>
|
100
|
+
Gets a sheet, part of the cascade.
|
101
|
+
Note that the returned stylesheet
|
102
|
+
is refcounted so if the caller wants
|
103
|
+
to manage it's lifecycle, it must use
|
104
|
+
<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-ref" title="cr_stylesheet_ref ()"><code class="function">cr_stylesheet_ref()</code></a>/<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-unref" title="cr_stylesheet_unref ()"><code class="function">cr_stylesheet_unref()</code></a> instead
|
105
|
+
of the <a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-destroy" title="cr_stylesheet_destroy ()"><code class="function">cr_stylesheet_destroy()</code></a> method.
|
106
|
+
</p>
|
107
|
+
<div class="variablelist"><table border="0">
|
108
|
+
<col align="left" valign="top">
|
109
|
+
<tbody>
|
110
|
+
<tr>
|
111
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
112
|
+
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td><p><span class="term"><em class="parameter"><code>a_origin</code></em> :</span></p></td>
|
116
|
+
<td>the origin of the style sheet as
|
117
|
+
defined in the css2 spec in chapter 6.4.
|
118
|
+
Gets a given origin sheet.</td>
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
122
|
+
<td>the style sheet, or NULL if it does not
|
123
|
+
exist.</td>
|
124
|
+
</tr>
|
125
|
+
</tbody>
|
126
|
+
</table></div>
|
127
|
+
</div>
|
128
|
+
<hr>
|
129
|
+
<div class="refsect2">
|
130
|
+
<a name="cr-cascade-new"></a><h3>cr_cascade_new ()</h3>
|
131
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a> * cr_cascade_new (<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_author_sheet</code></em>,
|
132
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_user_sheet</code></em>,
|
133
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_ua_sheet</code></em>);</pre>
|
134
|
+
<p>
|
135
|
+
Constructor of the <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> class.
|
136
|
+
Note that all three parameters of this
|
137
|
+
method are ref counted and their refcount is increased.
|
138
|
+
Their refcount will be decreased at the destruction of
|
139
|
+
the instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.
|
140
|
+
So the caller should not call their destructor. The caller
|
141
|
+
should call their ref/unref method instead if it wants
|
142
|
+
</p>
|
143
|
+
<div class="variablelist"><table border="0">
|
144
|
+
<col align="left" valign="top">
|
145
|
+
<tbody>
|
146
|
+
<tr>
|
147
|
+
<td><p><span class="term"><em class="parameter"><code>a_author_sheet</code></em> :</span></p></td>
|
148
|
+
<td>the author origin style sheet. May be NULL.</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td><p><span class="term"><em class="parameter"><code>a_user_sheet</code></em> :</span></p></td>
|
152
|
+
<td>the user origin style sheet. May be NULL.</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td><p><span class="term"><em class="parameter"><code>a_ua_sheet</code></em> :</span></p></td>
|
156
|
+
<td>the user agent origin style sheet. May be NULL.</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
160
|
+
<td>the newly built instance of CRCascade or NULL if
|
161
|
+
an error arose during constrution.</td>
|
162
|
+
</tr>
|
163
|
+
</tbody>
|
164
|
+
</table></div>
|
165
|
+
</div>
|
166
|
+
<hr>
|
167
|
+
<div class="refsect2">
|
168
|
+
<a name="cr-cascade-ref"></a><h3>cr_cascade_ref ()</h3>
|
169
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_cascade_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
170
|
+
<p>
|
171
|
+
Increases the reference counter of the current instance
|
172
|
+
of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.
|
173
|
+
</p>
|
174
|
+
<div class="variablelist"><table border="0">
|
175
|
+
<col align="left" valign="top">
|
176
|
+
<tbody><tr>
|
177
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
178
|
+
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>
|
179
|
+
</td>
|
180
|
+
</tr></tbody>
|
181
|
+
</table></div>
|
182
|
+
</div>
|
183
|
+
<hr>
|
184
|
+
<div class="refsect2">
|
185
|
+
<a name="cr-cascade-set-sheet"></a><h3>cr_cascade_set_sheet ()</h3>
|
186
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_cascade_set_sheet (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
187
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
188
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);</pre>
|
189
|
+
<p>
|
190
|
+
Sets a stylesheet in the cascade
|
191
|
+
</p>
|
192
|
+
<div class="variablelist"><table border="0">
|
193
|
+
<col align="left" valign="top">
|
194
|
+
<tbody>
|
195
|
+
<tr>
|
196
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
197
|
+
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td><p><span class="term"><em class="parameter"><code>a_sheet</code></em> :</span></p></td>
|
201
|
+
<td>the stylesheet to set.</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td><p><span class="term"><em class="parameter"><code>a_origin</code></em> :</span></p></td>
|
205
|
+
<td>the origin of the stylesheet.</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
209
|
+
<td>CR_OK upon successfull completion, an error
|
210
|
+
code otherwise.</td>
|
211
|
+
</tr>
|
212
|
+
</tbody>
|
213
|
+
</table></div>
|
214
|
+
</div>
|
215
|
+
<hr>
|
216
|
+
<div class="refsect2">
|
217
|
+
<a name="cr-cascade-unref"></a><h3>cr_cascade_unref ()</h3>
|
218
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_cascade_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
219
|
+
<p>
|
220
|
+
Decrements the reference counter associated
|
221
|
+
to this instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>. If the reference
|
222
|
+
counter reaches zero, the instance is destroyed
|
223
|
+
using <a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy ()"><code class="function">cr_cascade_destroy()</code></a>
|
224
|
+
</p>
|
225
|
+
<div class="variablelist"><table border="0">
|
226
|
+
<col align="left" valign="top">
|
227
|
+
<tbody><tr>
|
228
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
229
|
+
<td>the current instance of
|
230
|
+
<a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</td>
|
231
|
+
</tr></tbody>
|
232
|
+
</table></div>
|
233
|
+
</div>
|
234
|
+
</div>
|
235
|
+
</div>
|
236
|
+
<div class="footer">
|
237
|
+
<hr>
|
238
|
+
Generated by GTK-Doc V1.18</div>
|
239
|
+
</body>
|
240
|
+
</html>
|
@@ -0,0 +1,642 @@
|
|
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-declaration</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-cascade.html" title="cr-cascade">
|
10
|
+
<link rel="next" href="libcroco-cr-doc-handler.html" title="cr-doc-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-cascade.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-doc-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-declaration.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-declaration.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-declaration"></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-declaration.top_of_page"></a>cr-declaration</span></h2>
|
34
|
+
<p>cr-declaration</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-declaration.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">struct <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration">CRDeclaration</a>;
|
41
|
+
<a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement">CRStatement</a>;
|
42
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append" title="cr_declaration_append ()">cr_declaration_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
43
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);
|
44
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append2" title="cr_declaration_append2 ()">cr_declaration_append2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
45
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-destroy" title="cr_declaration_destroy ()">cr_declaration_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
|
48
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump" title="cr_declaration_dump ()">cr_declaration_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
|
50
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>,
|
51
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_per_line</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump-one" title="cr_declaration_dump_one ()">cr_declaration_dump_one</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
|
54
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>);
|
55
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-by-prop-name" title="cr_declaration_get_by_prop_name ()">cr_declaration_get_by_prop_name</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
56
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>);
|
57
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-from-list" title="cr_declaration_get_from_list ()">cr_declaration_get_from_list</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">int</span> itemnr</code></em>);
|
59
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string" title="cr_declaration_list_to_string ()">cr_declaration_list_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
60
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);
|
61
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string2" title="cr_declaration_list_to_string2 ()">cr_declaration_list_to_string2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
62
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>,
|
63
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_decl_per_line</code></em>);
|
64
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-new" title="cr_declaration_new ()">cr_declaration_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_property</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);
|
67
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-nr-props" title="cr_declaration_nr_props ()">cr_declaration_nr_props</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>);
|
68
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-from-buf" title="cr_declaration_parse_from_buf ()">cr_declaration_parse_from_buf</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
|
69
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
71
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-list-from-buf" title="cr_declaration_parse_list_from_buf ()">cr_declaration_parse_list_from_buf</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
73
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-prepend" title="cr_declaration_prepend ()">cr_declaration_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
74
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-ref" title="cr_declaration_ref ()">cr_declaration_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
|
76
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-to-string" title="cr_declaration_to_string ()">cr_declaration_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
77
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);
|
78
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unlink" title="cr_declaration_unlink ()">cr_declaration_unlink</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);
|
79
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unref" title="cr_declaration_unref ()">cr_declaration_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
|
80
|
+
</pre>
|
81
|
+
</div>
|
82
|
+
<div class="refsect1">
|
83
|
+
<a name="libcroco-cr-declaration.description"></a><h2>Description</h2>
|
84
|
+
<p>
|
85
|
+
</p>
|
86
|
+
</div>
|
87
|
+
<div class="refsect1">
|
88
|
+
<a name="libcroco-cr-declaration.details"></a><h2>Details</h2>
|
89
|
+
<div class="refsect2">
|
90
|
+
<a name="CRDeclaration"></a><h3>struct CRDeclaration</h3>
|
91
|
+
<pre class="programlisting">struct CRDeclaration {
|
92
|
+
/**The property.*/
|
93
|
+
CRString *property ;
|
94
|
+
|
95
|
+
/**The value of the property.*/
|
96
|
+
CRTerm *value ;
|
97
|
+
|
98
|
+
/*the ruleset that contains this declaration*/
|
99
|
+
CRStatement *parent_statement ;
|
100
|
+
|
101
|
+
/*the next declaration*/
|
102
|
+
CRDeclaration *next ;
|
103
|
+
|
104
|
+
/*the previous one declaration*/
|
105
|
+
CRDeclaration *prev ;
|
106
|
+
|
107
|
+
/*does the declaration have the important keyword ?*/
|
108
|
+
gboolean important ;
|
109
|
+
|
110
|
+
glong ref_count ;
|
111
|
+
|
112
|
+
CRParsingLocation location ;
|
113
|
+
/*reserved for future usage*/
|
114
|
+
gpointer rfu0 ;
|
115
|
+
gpointer rfu1 ;
|
116
|
+
gpointer rfu2 ;
|
117
|
+
gpointer rfu3 ;
|
118
|
+
};
|
119
|
+
</pre>
|
120
|
+
<p>
|
121
|
+
</p>
|
122
|
+
</div>
|
123
|
+
<hr>
|
124
|
+
<div class="refsect2">
|
125
|
+
<a name="CRStatement"></a><h3>CRStatement</h3>
|
126
|
+
<pre class="programlisting">typedef struct {
|
127
|
+
/**
|
128
|
+
*The type of the statement.
|
129
|
+
*/
|
130
|
+
enum CRStatementType type ;
|
131
|
+
|
132
|
+
union
|
133
|
+
{
|
134
|
+
CRRuleSet *ruleset ;
|
135
|
+
CRAtImportRule *import_rule ;
|
136
|
+
CRAtMediaRule *media_rule ;
|
137
|
+
CRAtPageRule *page_rule ;
|
138
|
+
CRAtCharsetRule *charset_rule ;
|
139
|
+
CRAtFontFaceRule *font_face_rule ;
|
140
|
+
} kind ;
|
141
|
+
|
142
|
+
/*
|
143
|
+
*the specificity of the selector
|
144
|
+
*that matched this statement.
|
145
|
+
*This is only used by the cascading
|
146
|
+
*order determination algorithm.
|
147
|
+
*/
|
148
|
+
gulong specificity ;
|
149
|
+
|
150
|
+
/*
|
151
|
+
*the style sheet that contains
|
152
|
+
*this css statement.
|
153
|
+
*/
|
154
|
+
CRStyleSheet *parent_sheet ;
|
155
|
+
CRStatement *next ;
|
156
|
+
CRStatement *prev ;
|
157
|
+
|
158
|
+
CRParsingLocation location ;
|
159
|
+
|
160
|
+
/**
|
161
|
+
*a custom pointer useable by
|
162
|
+
*applications that use libcroco.
|
163
|
+
*libcroco itself will never modify
|
164
|
+
*this pointer.
|
165
|
+
*/
|
166
|
+
gpointer app_data ;
|
167
|
+
|
168
|
+
/**
|
169
|
+
*a custom pointer used
|
170
|
+
*by the upper layers of libcroco.
|
171
|
+
*application should never use this
|
172
|
+
*pointer.
|
173
|
+
*/
|
174
|
+
gpointer croco_data ;
|
175
|
+
} CRStatement;
|
176
|
+
</pre>
|
177
|
+
<p>
|
178
|
+
</p>
|
179
|
+
</div>
|
180
|
+
<hr>
|
181
|
+
<div class="refsect2">
|
182
|
+
<a name="cr-declaration-append"></a><h3>cr_declaration_append ()</h3>
|
183
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_append (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
184
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
|
185
|
+
<p>
|
186
|
+
Appends a new declaration to the current declarations list.
|
187
|
+
</p>
|
188
|
+
<div class="variablelist"><table border="0">
|
189
|
+
<col align="left" valign="top">
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
193
|
+
<td>the current declaration list.</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td><p><span class="term"><em class="parameter"><code>a_new</code></em> :</span></p></td>
|
197
|
+
<td>the declaration to append.</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
201
|
+
<td>the declaration list with a_new appended to it, or NULL
|
202
|
+
in case of error.</td>
|
203
|
+
</tr>
|
204
|
+
</tbody>
|
205
|
+
</table></div>
|
206
|
+
</div>
|
207
|
+
<hr>
|
208
|
+
<div class="refsect2">
|
209
|
+
<a name="cr-declaration-append2"></a><h3>cr_declaration_append2 ()</h3>
|
210
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_append2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
211
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
212
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
|
213
|
+
<p>
|
214
|
+
Appends a declaration to the current declaration list.
|
215
|
+
</p>
|
216
|
+
<div class="variablelist"><table border="0">
|
217
|
+
<col align="left" valign="top">
|
218
|
+
<tbody>
|
219
|
+
<tr>
|
220
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
221
|
+
<td>the current declaration list.</td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
|
225
|
+
<td>the property string of the declaration to append.</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
|
229
|
+
<td>the value of the declaration to append.</td>
|
230
|
+
</tr>
|
231
|
+
<tr>
|
232
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
233
|
+
<td>the list with the new property appended to it, or NULL in
|
234
|
+
case of an error.</td>
|
235
|
+
</tr>
|
236
|
+
</tbody>
|
237
|
+
</table></div>
|
238
|
+
</div>
|
239
|
+
<hr>
|
240
|
+
<div class="refsect2">
|
241
|
+
<a name="cr-declaration-destroy"></a><h3>cr_declaration_destroy ()</h3>
|
242
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
|
243
|
+
<p>
|
244
|
+
Destructor of the declaration list.
|
245
|
+
</p>
|
246
|
+
<div class="variablelist"><table border="0">
|
247
|
+
<col align="left" valign="top">
|
248
|
+
<tbody><tr>
|
249
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
250
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
251
|
+
</tr></tbody>
|
252
|
+
</table></div>
|
253
|
+
</div>
|
254
|
+
<hr>
|
255
|
+
<div class="refsect2">
|
256
|
+
<a name="cr-declaration-dump"></a><h3>cr_declaration_dump ()</h3>
|
257
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
258
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
|
259
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>,
|
260
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_per_line</code></em>);</pre>
|
261
|
+
<p>
|
262
|
+
Dumps a declaration list to a file.
|
263
|
+
</p>
|
264
|
+
<div class="variablelist"><table border="0">
|
265
|
+
<col align="left" valign="top">
|
266
|
+
<tbody>
|
267
|
+
<tr>
|
268
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
269
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<td><p><span class="term"><em class="parameter"><code>a_fp</code></em> :</span></p></td>
|
273
|
+
<td>the destination file.</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
|
277
|
+
<td>the number of indentation white char.</td>
|
278
|
+
</tr>
|
279
|
+
<tr>
|
280
|
+
<td><p><span class="term"><em class="parameter"><code>a_one_per_line</code></em> :</span></p></td>
|
281
|
+
<td>whether to put one declaration per line of not .</td>
|
282
|
+
</tr>
|
283
|
+
</tbody>
|
284
|
+
</table></div>
|
285
|
+
</div>
|
286
|
+
<hr>
|
287
|
+
<div class="refsect2">
|
288
|
+
<a name="cr-declaration-dump-one"></a><h3>cr_declaration_dump_one ()</h3>
|
289
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_dump_one (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
290
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
|
291
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>);</pre>
|
292
|
+
<p>
|
293
|
+
Dumps the first declaration of the declaration list to a file.
|
294
|
+
</p>
|
295
|
+
<div class="variablelist"><table border="0">
|
296
|
+
<col align="left" valign="top">
|
297
|
+
<tbody>
|
298
|
+
<tr>
|
299
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
300
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
301
|
+
</tr>
|
302
|
+
<tr>
|
303
|
+
<td><p><span class="term"><em class="parameter"><code>a_fp</code></em> :</span></p></td>
|
304
|
+
<td>the destination file.</td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
|
308
|
+
<td>the number of indentation white char.</td>
|
309
|
+
</tr>
|
310
|
+
</tbody>
|
311
|
+
</table></div>
|
312
|
+
</div>
|
313
|
+
<hr>
|
314
|
+
<div class="refsect2">
|
315
|
+
<a name="cr-declaration-get-by-prop-name"></a><h3>cr_declaration_get_by_prop_name ()</h3>
|
316
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_get_by_prop_name (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
317
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>);</pre>
|
318
|
+
<p>
|
319
|
+
Use property name to get a CRDeclaration from the declaration list.
|
320
|
+
</p>
|
321
|
+
<div class="variablelist"><table border="0">
|
322
|
+
<col align="left" valign="top">
|
323
|
+
<tbody>
|
324
|
+
<tr>
|
325
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
326
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
327
|
+
</tr>
|
328
|
+
<tr>
|
329
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
330
|
+
<td>
|
331
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> with property name a_prop, or NULL if not found.</td>
|
332
|
+
</tr>
|
333
|
+
</tbody>
|
334
|
+
</table></div>
|
335
|
+
</div>
|
336
|
+
<hr>
|
337
|
+
<div class="refsect2">
|
338
|
+
<a name="cr-declaration-get-from-list"></a><h3>cr_declaration_get_from_list ()</h3>
|
339
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_get_from_list (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
340
|
+
<em class="parameter"><code><span class="type">int</span> itemnr</code></em>);</pre>
|
341
|
+
<p>
|
342
|
+
Use an index to get a CRDeclaration from the declaration list.
|
343
|
+
</p>
|
344
|
+
<div class="variablelist"><table border="0">
|
345
|
+
<col align="left" valign="top">
|
346
|
+
<tbody>
|
347
|
+
<tr>
|
348
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
349
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
350
|
+
</tr>
|
351
|
+
<tr>
|
352
|
+
<td><p><span class="term"><em class="parameter"><code>itemnr</code></em> :</span></p></td>
|
353
|
+
<td>the index into the declaration list.</td>
|
354
|
+
</tr>
|
355
|
+
<tr>
|
356
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
357
|
+
<td>
|
358
|
+
<a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> at position itemnr,
|
359
|
+
if itemnr > number of declarations - 1,
|
360
|
+
it will return NULL.</td>
|
361
|
+
</tr>
|
362
|
+
</tbody>
|
363
|
+
</table></div>
|
364
|
+
</div>
|
365
|
+
<hr>
|
366
|
+
<div class="refsect2">
|
367
|
+
<a name="cr-declaration-list-to-string"></a><h3>cr_declaration_list_to_string ()</h3>
|
368
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_declaration_list_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
369
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);</pre>
|
370
|
+
<p>
|
371
|
+
Serializes the declaration list into a string
|
372
|
+
</p>
|
373
|
+
<div class="variablelist"><table border="0">
|
374
|
+
<col align="left" valign="top">
|
375
|
+
<tbody>
|
376
|
+
<tr>
|
377
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
378
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
379
|
+
</tr>
|
380
|
+
<tr>
|
381
|
+
<td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
|
382
|
+
<td>the number of indentation white char
|
383
|
+
to put before the actual serialisation.</td>
|
384
|
+
</tr>
|
385
|
+
</tbody>
|
386
|
+
</table></div>
|
387
|
+
</div>
|
388
|
+
<hr>
|
389
|
+
<div class="refsect2">
|
390
|
+
<a name="cr-declaration-list-to-string2"></a><h3>cr_declaration_list_to_string2 ()</h3>
|
391
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_declaration_list_to_string2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
392
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>,
|
393
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_decl_per_line</code></em>);</pre>
|
394
|
+
<p>
|
395
|
+
Serializes the declaration list into a string
|
396
|
+
</p>
|
397
|
+
<div class="variablelist"><table border="0">
|
398
|
+
<col align="left" valign="top">
|
399
|
+
<tbody>
|
400
|
+
<tr>
|
401
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
402
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
403
|
+
</tr>
|
404
|
+
<tr>
|
405
|
+
<td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
|
406
|
+
<td>the number of indentation white char</td>
|
407
|
+
</tr>
|
408
|
+
<tr>
|
409
|
+
<td><p><span class="term"><em class="parameter"><code>a_one_decl_per_line</code></em> :</span></p></td>
|
410
|
+
<td>whether to output one doc per line or not.
|
411
|
+
to put before the actual serialisation.</td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
415
|
+
<td>the serialized form the declararation.</td>
|
416
|
+
</tr>
|
417
|
+
</tbody>
|
418
|
+
</table></div>
|
419
|
+
</div>
|
420
|
+
<hr>
|
421
|
+
<div class="refsect2">
|
422
|
+
<a name="cr-declaration-new"></a><h3>cr_declaration_new ()</h3>
|
423
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_new (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
|
424
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_property</code></em>,
|
425
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
|
426
|
+
<div class="variablelist"><table border="0">
|
427
|
+
<col align="left" valign="top">
|
428
|
+
<tbody>
|
429
|
+
<tr>
|
430
|
+
<td><p><span class="term"><em class="parameter"><code>a_statement</code></em> :</span></p></td>
|
431
|
+
<td>the statement this declaration belongs to. can be NULL.</td>
|
432
|
+
</tr>
|
433
|
+
<tr>
|
434
|
+
<td><p><span class="term"><em class="parameter"><code>a_property</code></em> :</span></p></td>
|
435
|
+
<td>the property string of the declaration</td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
|
439
|
+
<td>the value expression of the declaration.
|
440
|
+
Constructor of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
444
|
+
<td>the newly built instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>, or NULL in
|
445
|
+
case of error.
|
446
|
+
The returned CRDeclaration takes ownership of <em class="parameter"><code>a_property</code></em> and <em class="parameter"><code>a_value</code></em>.
|
447
|
+
(E.g. cr_declaration_destroy on this CRDeclaration will also free
|
448
|
+
<em class="parameter"><code>a_property</code></em> and <em class="parameter"><code>a_value</code></em>.)</td>
|
449
|
+
</tr>
|
450
|
+
</tbody>
|
451
|
+
</table></div>
|
452
|
+
</div>
|
453
|
+
<hr>
|
454
|
+
<div class="refsect2">
|
455
|
+
<a name="cr-declaration-nr-props"></a><h3>cr_declaration_nr_props ()</h3>
|
456
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> cr_declaration_nr_props (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>);</pre>
|
457
|
+
<div class="variablelist"><table border="0">
|
458
|
+
<col align="left" valign="top">
|
459
|
+
<tbody><tr>
|
460
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
461
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
|
462
|
+
Return the number of properties in the declaration</td>
|
463
|
+
</tr></tbody>
|
464
|
+
</table></div>
|
465
|
+
</div>
|
466
|
+
<hr>
|
467
|
+
<div class="refsect2">
|
468
|
+
<a name="cr-declaration-parse-from-buf"></a><h3>cr_declaration_parse_from_buf ()</h3>
|
469
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_parse_from_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
|
470
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
|
471
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
472
|
+
<p>
|
473
|
+
Parses a text buffer that contains
|
474
|
+
a css declaration.
|
475
|
+
</p>
|
476
|
+
<div class="variablelist"><table border="0">
|
477
|
+
<col align="left" valign="top">
|
478
|
+
<tbody>
|
479
|
+
<tr>
|
480
|
+
<td><p><span class="term"><em class="parameter"><code>a_statement</code></em> :</span></p></td>
|
481
|
+
<td>the parent css2 statement of this
|
482
|
+
this declaration. Must be non NULL and of type
|
483
|
+
RULESET_STMT (must be a ruleset).</td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td><p><span class="term"><em class="parameter"><code>a_str</code></em> :</span></p></td>
|
487
|
+
<td>the string that contains the statement.</td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
|
491
|
+
<td>the encoding of a_str.</td>
|
492
|
+
</tr>
|
493
|
+
<tr>
|
494
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
495
|
+
<td>the parsed declaration, or NULL in case of error.</td>
|
496
|
+
</tr>
|
497
|
+
</tbody>
|
498
|
+
</table></div>
|
499
|
+
</div>
|
500
|
+
<hr>
|
501
|
+
<div class="refsect2">
|
502
|
+
<a name="cr-declaration-parse-list-from-buf"></a><h3>cr_declaration_parse_list_from_buf ()</h3>
|
503
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_parse_list_from_buf (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
|
504
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
505
|
+
<p>
|
506
|
+
Parses a ';' separated list of properties declaration.
|
507
|
+
</p>
|
508
|
+
<div class="variablelist"><table border="0">
|
509
|
+
<col align="left" valign="top">
|
510
|
+
<tbody>
|
511
|
+
<tr>
|
512
|
+
<td><p><span class="term"><em class="parameter"><code>a_str</code></em> :</span></p></td>
|
513
|
+
<td>the input buffer that contains the list of declaration to
|
514
|
+
parse.</td>
|
515
|
+
</tr>
|
516
|
+
<tr>
|
517
|
+
<td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
|
518
|
+
<td>the encoding of a_str</td>
|
519
|
+
</tr>
|
520
|
+
<tr>
|
521
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
522
|
+
<td>the parsed list of declaration, NULL if parsing failed.</td>
|
523
|
+
</tr>
|
524
|
+
</tbody>
|
525
|
+
</table></div>
|
526
|
+
</div>
|
527
|
+
<hr>
|
528
|
+
<div class="refsect2">
|
529
|
+
<a name="cr-declaration-prepend"></a><h3>cr_declaration_prepend ()</h3>
|
530
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
|
531
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
|
532
|
+
<p>
|
533
|
+
prepends a declaration to the current declaration list.
|
534
|
+
</p>
|
535
|
+
<div class="variablelist"><table border="0">
|
536
|
+
<col align="left" valign="top">
|
537
|
+
<tbody>
|
538
|
+
<tr>
|
539
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
540
|
+
<td>the current declaration list.</td>
|
541
|
+
</tr>
|
542
|
+
<tr>
|
543
|
+
<td><p><span class="term"><em class="parameter"><code>a_new</code></em> :</span></p></td>
|
544
|
+
<td>the declaration to prepend.</td>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
547
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
548
|
+
<td>the list with a_new prepended or NULL in case of error.</td>
|
549
|
+
</tr>
|
550
|
+
</tbody>
|
551
|
+
</table></div>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
555
|
+
<a name="cr-declaration-ref"></a><h3>cr_declaration_ref ()</h3>
|
556
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
|
557
|
+
<p>
|
558
|
+
Increases the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
|
559
|
+
</p>
|
560
|
+
<div class="variablelist"><table border="0">
|
561
|
+
<col align="left" valign="top">
|
562
|
+
<tbody><tr>
|
563
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
564
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
565
|
+
</tr></tbody>
|
566
|
+
</table></div>
|
567
|
+
</div>
|
568
|
+
<hr>
|
569
|
+
<div class="refsect2">
|
570
|
+
<a name="cr-declaration-to-string"></a><h3>cr_declaration_to_string ()</h3>
|
571
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_declaration_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
|
572
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);</pre>
|
573
|
+
<p>
|
574
|
+
Serializes the declaration into a string
|
575
|
+
</p>
|
576
|
+
<div class="variablelist"><table border="0">
|
577
|
+
<col align="left" valign="top">
|
578
|
+
<tbody>
|
579
|
+
<tr>
|
580
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
581
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
|
585
|
+
<td>the number of indentation white char
|
586
|
+
to put before the actual serialisation.</td>
|
587
|
+
</tr>
|
588
|
+
<tr>
|
589
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
590
|
+
<td>the serialized form the declaration. The caller must
|
591
|
+
free the string using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
592
|
+
</tr>
|
593
|
+
</tbody>
|
594
|
+
</table></div>
|
595
|
+
</div>
|
596
|
+
<hr>
|
597
|
+
<div class="refsect2">
|
598
|
+
<a name="cr-declaration-unlink"></a><h3>cr_declaration_unlink ()</h3>
|
599
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_unlink (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);</pre>
|
600
|
+
<p>
|
601
|
+
Unlinks the declaration from the declaration list.
|
602
|
+
case of a successfull completion, NULL otherwise.
|
603
|
+
</p>
|
604
|
+
<div class="variablelist"><table border="0">
|
605
|
+
<col align="left" valign="top">
|
606
|
+
<tbody><tr>
|
607
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
608
|
+
<td>a pointer to the unlinked declaration in</td>
|
609
|
+
</tr></tbody>
|
610
|
+
</table></div>
|
611
|
+
</div>
|
612
|
+
<hr>
|
613
|
+
<div class="refsect2">
|
614
|
+
<a name="cr-declaration-unref"></a><h3>cr_declaration_unref ()</h3>
|
615
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_declaration_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
|
616
|
+
<p>
|
617
|
+
Decrements the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
|
618
|
+
If the ref count reaches zero, the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>
|
619
|
+
if destroyed.
|
620
|
+
</p>
|
621
|
+
<div class="variablelist"><table border="0">
|
622
|
+
<col align="left" valign="top">
|
623
|
+
<tbody>
|
624
|
+
<tr>
|
625
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
626
|
+
<td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
|
627
|
+
</tr>
|
628
|
+
<tr>
|
629
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
630
|
+
<td>TRUE if <em class="parameter"><code>a_this</code></em> was destroyed (ref count reached zero),
|
631
|
+
FALSE otherwise.</td>
|
632
|
+
</tr>
|
633
|
+
</tbody>
|
634
|
+
</table></div>
|
635
|
+
</div>
|
636
|
+
</div>
|
637
|
+
</div>
|
638
|
+
<div class="footer">
|
639
|
+
<hr>
|
640
|
+
Generated by GTK-Doc V1.18</div>
|
641
|
+
</body>
|
642
|
+
</html>
|