[seam-commits] Seam SVN: r11009 - branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue May 26 19:01:28 EDT 2009


Author: norman.richards at jboss.com
Date: 2009-05-26 19:01:28 -0400 (Tue, 26 May 2009)
New Revision: 11009

Modified:
   branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml
Log:
JBSEAM-4193

Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml	2009-05-26 20:17:36 UTC (rev 11008)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml	2009-05-26 23:01:28 UTC (rev 11009)
@@ -369,6 +369,10 @@
                                             <literal>UNDERLINE</literal>, <literal>LINE-THROUGH</literal></para>
 
                                     </listitem>
+                                    
+                                    <listitem>
+                                        <para><literal>color</literal> &#8212; The font color. (see <xref linkend="itext.colors"/> for color values)</para>
+                                    </listitem>
 
                                     <listitem>
                                         <para><literal>encoding</literal> &#8212; The character set encoding.</para>
@@ -517,6 +521,12 @@
                                     </listitem>
                                     <listitem>
                                         <para>
+                                            <literal>scaleToFit</literal> &#8212; Specifies the X any Y 
+                                            size to scale the image to.  The image will be scale to fit those dimensions
+                                            as closely as possible while preserving the XY ratio of the image.</para>
+                                    </listitem>
+                                    <listitem>
+                                        <para>
                                             <literal>wrap</literal>
                                         </para>
                                     </listitem>
@@ -1328,12 +1338,17 @@
 
             <section id="itext.colors">
                 <title>Color Values</title>
-                <para>Seam documents do not yet support a full color specification. Currently, only named colors are
-                    supported. They are: <literal>white</literal>, <literal>gray</literal>,
+                <para>Several ways of specifying colors are provided.  A limited number of colors are
+                    supported by name.  They are: <literal>white</literal>, <literal>gray</literal>,
                     <literal>lightgray</literal>, <literal>darkgray</literal>, <literal>black</literal>,
                     <literal>red</literal>, <literal>pink</literal>, <literal>yellow</literal>,
                     <literal>green</literal>, <literal>magenta</literal>, <literal>cyan</literal> and
-                    <literal>blue</literal>. </para>
+                    <literal>blue</literal>. Colors can be specified as an integer value, as 
+                    definied by <literal>java.awt.Color</literal>.  Finally a color value may be specified
+                    as <literal>rgb(r,g,b)</literal> or <literal>rgb(r,g,b,a)</literal> with the red, green, blue 
+                    alpha values specified as an integer between 0 and 255 or as a floating point percentages 
+                    followed by a '%' sign.                
+                </para>
 
             </section>
 




More information about the seam-commits mailing list