Ben Eagle wrote:
> I am making a rtf file that has multiple tables, which I can easily do,
> my problem is I am not sure how to make the cell background color
> different than default white, I tried making on in word and seeing if I
> could find the RTF code but couldn't find that either. And if it is
> possible to round the corners of the table.
>
>   
The RTF cookbook: 
http://search.cpan.org/src/SBURKE/RTF-Writer-1.11/lib/RTF/Cookbook.pod 
suggests creating a color table:

A generally optional but sometimes necessary part of the prolog is
a color table.  This is a color table:

  {\colortbl;\red255\green0\blue0;\red0\green0\blue255;}

That declares three colors: a 0th entry, with null (default) color
(expressed by the zero-length string between "\colortbl" and ";"),
then a 1st entry, which is 100% red, and then a 2nd entry, which is
100% blue.  (Note that each entry, whether null or \redN\greenN\blueN, must
be followed by a semicolon.)  A color table is necessary only if you need
to change text foreground or background colors -- in that case, you
need to refer to entries in the color table.  

and then using 
 \cfN -- select foreground color #N (from color table)
 \cbN -- select background color #N (from color table)

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to