[jboss-cvs] jboss-seam/examples/itext/view ...

Norman Richards norman.richards at jboss.com
Mon May 14 14:57:40 EDT 2007


  User: nrichards
  Date: 07/05/14 14:57:40

  Modified:    examples/itext/view   index.xhtml
  Added:       examples/itext/view   barcode.xhtml
  Log:
  barcode example
  
  Revision  Changes    Path
  1.4       +2 -1      jboss-seam/examples/itext/view/index.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: index.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/itext/view/index.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- index.xhtml	26 Apr 2007 23:16:46 -0000	1.3
  +++ index.xhtml	14 May 2007 18:57:40 -0000	1.4
  @@ -35,8 +35,9 @@
           <li><s:link view="/chart.xhtml"     value="JFreeChart" /></li>
           <li><s:link view="/anchor.xhtml"    value="Anchors" /></li>
           <li><s:link view="/format.xhtml"    value="Text conversion and formatting" /></li>
  +        <li><s:link view="/barcode.xhtml"   value="Bar Code" /></li>
   <ui:remove>
  -        <li><s:link view="/images.exhtml" value="Dynamic Images" /></li>
  +        <li><s:link view="/images.xhtml" value="Dynamic Images" /></li>
   </ui:remove>
   <ui:remove>
           <li><s:link view="/signature.xhtml" value="Signed Document" /></li>
  
  
  
  1.1      date: 2007/05/14 18:57:40;  author: nrichards;  state: Exp;jboss-seam/examples/itext/view/barcode.xhtml
  
  Index: barcode.xhtml
  ===================================================================
  <p:document xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:p="http://jboss.com/products/seam/pdf" 
              type="PDF" pageSize="A4"
              title="barcode">
      <p:header>
          <p:paragraph>
              Types of barcode supported in this release
          </p:paragraph>
      </p:header>
      
      <p:paragraph>Code128</p:paragraph>
      <p:paragraph>Value = My BarCode</p:paragraph>
      <p:barCode type="code128" code="My BarCode" />
      
      <p:paragraph>Code39</p:paragraph>
      <p:paragraph>Value = 123456</p:paragraph>
      <p:barCode type="code39" code="123456" />
      
      <p:paragraph>EAN</p:paragraph>
      <p:paragraph>Value = 4512345678906</p:paragraph>
      <p:barCode type="ean" code="4512345678906" />
      
      <p:paragraph>Codabar</p:paragraph>
      <p:paragraph>Value = A123456B</p:paragraph>
      <p:barCode type="codabar" code="A123456B" />
      
      <p:paragraph>Inter 2 of 5</p:paragraph>
      <p:paragraph>Value = 1234567896543241</p:paragraph>
      <p:barCode type="inter25" code="1234567896543241" />
      
      <p:paragraph>PostNet</p:paragraph>
      <p:paragraph>Value = 123456789</p:paragraph>
      <p:barCode type="postnet" code="12345689" />
      
      <p:paragraph>Absolute Positioning:</p:paragraph>
      <p:paragraph>Value: absolute</p:paragraph>
      <p:barCode type="code128" code="absolute" xpos="200" ypos="300" rotDegrees="45"/>
  </p:document>
  
  
  



More information about the jboss-cvs-commits mailing list