[jboss-cvs] JBossAS SVN: r103803 - projects/docs/enterprise/5.0/Seam_Reference_Guide/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 12 02:40:38 EDT 2010


Author: misty at redhat.com
Date: 2010-04-12 02:40:38 -0400 (Mon, 12 Apr 2010)
New Revision: 103803

Modified:
   projects/docs/enterprise/5.0/Seam_Reference_Guide/en-US/Itext.xml
Log:
The document builds and the POT files update


Modified: projects/docs/enterprise/5.0/Seam_Reference_Guide/en-US/Itext.xml
===================================================================
--- projects/docs/enterprise/5.0/Seam_Reference_Guide/en-US/Itext.xml	2010-04-12 06:34:38 UTC (rev 103802)
+++ projects/docs/enterprise/5.0/Seam_Reference_Guide/en-US/Itext.xml	2010-04-12 06:40:38 UTC (rev 103803)
@@ -19,8 +19,8 @@
       The <literal>examples/itext</literal> project contains an example of the PDF support in action. It demonstrates proper deployment packaging, and contains several examples demonstrating the key PDF-generation features currently supported.
     </para>
     <section id="itext.document">
-      <!--
-	 <title>Creating a document</title>
+      <title>Creating a document</title>
+<!--
 	 <informaltable>
 	   <tgroup cols="2">
 	     <colspec colnum="1" colwidth="1*"></colspec>
@@ -151,63 +151,65 @@
 	<varlistentry>
 	  <term>&lt;p:document&gt;</term>
 	  <listitem>
-	    <varlistentry>
-	      <term>Description</term>
-	      <listitem><para>Documents are generated by Facelet XHTML files using tags in the http://jboss.com/products/seam/pdf namespace. Documents should always have the document tag at the root of the document. The document tag prepares Seam to generate a document into the DocumentStore and renders an HTML redirect to that stored content.</para></listitem>
-	    </varlistentry>
-	    <varlistentry>
-	      <term>Attributes</term>
-	      <listitem>
-		<variablelist>
-		  <varlistentry>
-		    <term> type</term>
-		    <listitem><para>The type of the document to be produced. Valid values are PDF, RTF and HTML. Seam defaults to PDF generation, and many features only work correctly when generating PDF documents. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>pageSize</term>
-		    <listitem><para>The size of the page to be generated. The most commonly used values are LETTER and A4. A full list of supported pages sizes can be found in the com.lowagie.text.PageSize class. Alternatively, pageSize can provide the width and height of the page directly. The value "612 792", for example, is equivalent to the LETTER page size. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>orientation</term>
-		    <listitem><para>The orientation of the page. Valid values are portrait and landscape. Landscape mode swaps the height and width page values. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>margins</term>
-		    <listitem><para>The left, right, top and bottom margin values. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>marginMirroring</term>
-		    <listitem><para>Indicates that margin settings should be reversed on alternating pages. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>disposition</term>
-		    <listitem><para>When generating PDFs in a web browser, this determines the HTTP Content-Disposition of the document. Valid values are inline, which indicates the document should be displayed in the browser window if possible, and attachment, which indicates that the document should be treated as a download. The default value is inline. </para></listitem>
-		  </varlistentry>
-		  <varlistentry>
-		    <term>fileName</term>
-		    <listitem><para>For attachments, this value overrides the downloaded file name. </para></listitem>
-		  </varlistentry>
-		</variablelist>
-	      </listitem>
-	    </varlistentry>
-	    <varlistentry>
-	      <term>Metadata Attributes</term>
-	      <listitem>
-		<itemizedlist>
-		  <listitem><para>title</para></listitem>
-		  <listitem><para>subject</para></listitem>
-		  <listitem><para>keywords</para></listitem>
-		  <listitem><para>author</para></listitem>
-		  <listitem><para>creator</para></listitem>
-		</itemizedlist>
-	      </listitem>
-	    </varlistentry>
-	    <varlistentry>
-	      <term>Usage</term>
-	      <listitem>
-		<para><code><![CDATA[<p:document xmlns:p="http://jboss.com/products/seam/pdf"> The document goes here. </p:document>]]></code></para>
-	      </listitem>
-	    </varlistentry>
+	    <variablelist>
+	      <varlistentry>
+		<term>Description</term>
+		<listitem><para>Documents are generated by Facelet XHTML files using tags in the http://jboss.com/products/seam/pdf namespace. Documents should always have the document tag at the root of the document. The document tag prepares Seam to generate a document into the DocumentStore and renders an HTML redirect to that stored content.</para></listitem>
+	      </varlistentry>
+	      <varlistentry>
+		<term>Attributes</term>
+		<listitem>
+		  <variablelist>
+		    <varlistentry>
+		      <term> type</term>
+		      <listitem><para>The type of the document to be produced. Valid values are PDF, RTF and HTML. Seam defaults to PDF generation, and many features only work correctly when generating PDF documents. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>pageSize</term>
+		      <listitem><para>The size of the page to be generated. The most commonly used values are LETTER and A4. A full list of supported pages sizes can be found in the com.lowagie.text.PageSize class. Alternatively, pageSize can provide the width and height of the page directly. The value "612 792", for example, is equivalent to the LETTER page size. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>orientation</term>
+		      <listitem><para>The orientation of the page. Valid values are portrait and landscape. Landscape mode swaps the height and width page values. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>margins</term>
+		      <listitem><para>The left, right, top and bottom margin values. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>marginMirroring</term>
+		      <listitem><para>Indicates that margin settings should be reversed on alternating pages. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>disposition</term>
+		      <listitem><para>When generating PDFs in a web browser, this determines the HTTP Content-Disposition of the document. Valid values are inline, which indicates the document should be displayed in the browser window if possible, and attachment, which indicates that the document should be treated as a download. The default value is inline. </para></listitem>
+		    </varlistentry>
+		    <varlistentry>
+		      <term>fileName</term>
+		      <listitem><para>For attachments, this value overrides the downloaded file name. </para></listitem>
+		    </varlistentry>
+		  </variablelist>
+		</listitem>
+	      </varlistentry>
+	      <varlistentry>
+		<term>Metadata Attributes</term>
+		<listitem>
+		  <itemizedlist>
+		    <listitem><para>title</para></listitem>
+		    <listitem><para>subject</para></listitem>
+		    <listitem><para>keywords</para></listitem>
+		    <listitem><para>author</para></listitem>
+		    <listitem><para>creator</para></listitem>
+		  </itemizedlist>
+		</listitem>
+	      </varlistentry>
+	      <varlistentry>
+		<term>Usage</term>
+		<listitem>
+		  <para><code><![CDATA[<p:document xmlns:p="http://jboss.com/products/seam/pdf"> The document goes here. </p:document>]]></code></para>
+		</listitem>
+	      </varlistentry>
+	    </variablelist>
 	  </listitem>
 	</varlistentry>
       </variablelist>
@@ -704,6 +706,7 @@
 	      <varlistentry>
 		<term>Attributes</term>
 		<listitem>
+		  <para></para>
 		</listitem>
 	      </varlistentry>
 	      <varlistentry>
@@ -4640,6 +4643,7 @@
     <para>
       Seam now provides experimental support to render Swing components into PDF images. Some Swing look and feel supports, specifically those that use native widgets, will not render correctly.
     </para>
+    <!--
     <informaltable id="itext.swing">
       <tgroup cols="2">
 	<colspec colnum="1" colwidth="1*"></colspec>
@@ -4689,6 +4693,67 @@
 	</tbody>
       </tgroup>
     </informaltable>
+    -->
+    <remark>rewriting above table for Publican compatibility</remark>
+
+    <variablelist>
+      <varlistentry>
+	<term>&lt;p:swing&gt;</term>
+	<listitem>
+	  <variablelist>
+	    <varlistentry>
+	      <term>Description</term>
+	      <listitem>
+		<para>
+		  Renders a Swing component into a PDF document. 
+		</para>
+	      </listitem>
+	    </varlistentry>
+	    <varlistentry>
+	      <term>Attributes</term>
+	      <listitem>
+		<variablelist>
+		  <varlistentry>
+		    <term>width</term>
+		    <listitem>
+		      <para>
+			The width of the component to be rendered.
+		      </para>
+		    </listitem>
+		  </varlistentry>
+		  <varlistentry>
+		    <term>height</term>
+		    <listitem>
+		      <para>
+			The height of the component to be rendered.
+		      </para>
+		    </listitem>
+		  </varlistentry>
+		  <varlistentry>
+		    <term>component</term>
+		    <listitem>
+		      <para>
+			An expression whose value is a SWING or AWT component.
+		      </para>
+		    </listitem>
+		  </varlistentry>
+		</variablelist>
+	      </listitem>
+	    </varlistentry>
+	    <varlistentry>
+	      <term>Usage</term>
+	      <listitem>
+		<programlisting>
+		  <![CDATA[<p:swing width="310" height="120" component="#{aButton}" />]]>
+		  
+		</programlisting>
+	      </listitem>
+	    </varlistentry>
+	  </variablelist>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+    
   </section>
   
   <section id="itext.configuration">




More information about the jboss-cvs-commits mailing list