[jboss-user] [JBoss Seam] - Re: Seam PDF fontFamily and style

norman.richards@jboss.com do-not-reply at jboss.com
Wed Jun 13 17:19:40 EDT 2007


I've added a font example.  I hope this helps.


  | <p:document xmlns:p="http://jboss.com/products/seam/pdf">
  | 
  |     <p:font family="courier">
  |         <p:font size="24"><p:paragraph>Courier</p:paragraph></p:font>
  |         <p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
  |         <p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
  | 
  |         <p:list>
  |             <p:listItem><p:font style="bold">bold</p:font></p:listItem>
  |             <p:listItem><p:font style="italic">italic</p:font></p:listItem>
  |             <p:listItem><p:font style="oblique">oblique</p:font></p:listItem>
  |             <p:listItem><p:font style="underline">underline</p:font></p:listItem>
  |             <p:listItem><p:font style="line-through">line-through</p:font></p:listItem>
  |             <p:listItem><p:font style="bold,italic,underline">bold,italic,underline</p:font></p:listItem>
  |         </p:list>
  |     </p:font>
  | 
  | 
  |     <p:font family="helvetica">
  |         <p:font size="24"><p:paragraph>Helvetica</p:paragraph></p:font>
  |         <p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
  |         <p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
  | 
  |         <p:list>
  |             <p:listItem><p:font style="bold">bold</p:font></p:listItem>
  |             <p:listItem><p:font style="italic">italic</p:font></p:listItem>
  |             <p:listItem><p:font style="oblique">oblique</p:font></p:listItem>
  |             <p:listItem><p:font style="underline">underline</p:font></p:listItem>
  |             <p:listItem><p:font style="line-through">line-through</p:font></p:listItem>
  |             <p:listItem><p:font style="bold,italic,underline">bold,italic,underline</p:font></p:listItem>
  |         </p:list>
  |     </p:font>
  | 
  |     <p:font family="times-roman">
  |         <p:font size="24"><p:paragraph>Times Roman</p:paragraph></p:font>
  |         <p:paragraph>abcdefghijklmnopqrstuvwxyz</p:paragraph>
  |         <p:paragraph>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p:paragraph>
  | 
  |         <p:list>
  |             <p:listItem><p:font style="bold">bold</p:font></p:listItem>
  |             <p:listItem><p:font style="italic">italic</p:font></p:listItem>
  |             <p:listItem><p:font style="oblique">oblique</p:font></p:listItem>
  |             <p:listItem><p:font style="underline">underline</p:font></p:listItem>
  |             <p:listItem><p:font style="line-through">line-through</p:font></p:listItem>
  |             <p:listItem><p:font style="bold,italic,underline">bold,italic,underline</p:font></p:listItem>
  |         </p:list>
  | 
  |     </p:font>
  | 
  | 
  | </p:document>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054132#4054132

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054132



More information about the jboss-user mailing list