-----BEGIN PGP SIGNED MESSAGE-----
I have a question on how to use the HTML style features. I would like to
have a table cell style grand-total as described below, but I would like
to have it markup the cell content in boldface. How do I specify that one
semantic tags (grand-total) gets rendered to several HTML tags
(<td><b>...)? Or did I misunderstand the intended usage of the stylesheets?
Christian
On Friday 09 March 2001 08:09, Bill Gribble wrote:
> Dave: after our IRC discussion I added a few new things to the
> html-table API to allow reports to assign semantic tags like "total",
> "subtotal", "summary-row" etc to table cells and rows
>
> For example, if you want all "grand-total" table
> cells to be rendered with a background color of 0xff00ff, you'd put
> this in the style sheet definition:
>
> (gnc:html-style-sheet-set-style!
> ss "grand-total"
> 'tag "td"
> 'attribute (list "bgcolor" "0xff00ff"))
>
> Then in the report, you'd create the cell like so:
>
> (gnc:make-html-table-cell/markup "grand-total" 256.75)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
iQCVAwUBOrrAW2XAi+BfhivFAQEIwQP/Q4dHlinIyYk2dxEVy2OzvannUWDcJ6M/
5+Kbka4ovXJ59ekVUK+G8bdS3ide7qDHuiMYnycCwb2AgnHlnsvh49/heL5zuLm8
3Jv4HLLkMfKocQfjiwwXr4v2K6z9VUFkM0Fkq+BSHRDAw+DA4H7Q3wjbOGzqmNue
D/Uir8Fwn20=
=Uiyo
-----END PGP SIGNATURE-----
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel