2 Replies Latest reply on Jun 4, 2009 3:38 PM by radmila

    seam pdf: pageSize not working

    radmila

      Hello,


      I am trying to generate a document with pages of size A3. It seams that every generated document has pages of size A4:
                   Page size : 11.69 x 8.26 in (from Document Properties)


      Following is xhtml file used to create the PDF:



      <p:document xmlns:f="http://java.sun.com/jsf/core"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:s="http://jboss.com/products/seam/taglib"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:p="http://jboss.com/products/seam/pdf" orientation="landscape"
           pagesize="A5">
      
           <p:paragraph>
                <p:text
                     value="The size of the page to be generate. The most commonly used values would be LETTER and A4.A full list of supported pages sizes can be found in 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."/>
           </p:paragraph>
      </p:document>



      Is this a limitation of seam pdf?