You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Ross Gardler <rg...@apache.org> on 2005/02/23 11:28:55 UTC

Re: coloring table cells)

Johannes Schaefer wrote:
> Hello!
> 
> Using the Excel-Plugin cells may be colored by putting the
> color's hex value in a cell (e.g. #ff0000). We use this
> feature for color tables in our styleguides.
> 
> This is done inside the plugin by writing
>   <td style="background-color:#ff0000;">
> to the XML output stream.
> 
> The @style attribute is not part of a valid document-v1.3
> xml-document but gets passed on to HTML output,
> so it works. (I guess because internally there is no more
> validation).
> 
> Is there a valid way to specify a specific style for a
> single element in document-v1.3 (or v2.0)?

Not that I am aware of. I'm starting a new thread on the dev list as 
this issue is also important for the OPenOffice.org plugin.


Ross