[seam-commits] Seam SVN: r8418 - in trunk: examples and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jun 25 15:47:15 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-06-25 15:47:15 -0400 (Wed, 25 Jun 2008)
New Revision: 8418

Modified:
   trunk/build/mail.pom.xml
   trunk/build/pdf.pom.xml
   trunk/build/root.pom.xml
   trunk/examples/build.xml
   trunk/src/pdf/org/jboss/seam/pdf/ui/UIList.java
Log:
JBSEAM-3069

Modified: trunk/build/mail.pom.xml
===================================================================
--- trunk/build/mail.pom.xml	2008-06-25 15:55:04 UTC (rev 8417)
+++ trunk/build/mail.pom.xml	2008-06-25 19:47:15 UTC (rev 8418)
@@ -35,6 +35,10 @@
           <groupId>com.lowagie</groupId>
           <artifactId>itext</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.lowagie</groupId>
+          <artifactId>itext-rtf</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 
@@ -76,4 +80,4 @@
 
   </dependencies>
 
-</project>
\ No newline at end of file
+</project>

Modified: trunk/build/pdf.pom.xml
===================================================================
--- trunk/build/pdf.pom.xml	2008-06-25 15:55:04 UTC (rev 8417)
+++ trunk/build/pdf.pom.xml	2008-06-25 19:47:15 UTC (rev 8418)
@@ -19,6 +19,10 @@
 			<groupId>com.lowagie</groupId>
 			<artifactId>itext</artifactId>
 		</dependency>
+		<dependency>
+			<groupId>com.lowagie</groupId>
+			<artifactId>itext-rtf</artifactId>
+		</dependency>
 
 		<dependency>
 			<groupId>jfree</groupId>
@@ -62,4 +66,4 @@
 		
 	</dependencies>
 
-</project>
\ No newline at end of file
+</project>

Modified: trunk/build/root.pom.xml
===================================================================
--- trunk/build/root.pom.xml	2008-06-25 15:55:04 UTC (rev 8417)
+++ trunk/build/root.pom.xml	2008-06-25 19:47:15 UTC (rev 8418)
@@ -806,7 +806,7 @@
       <dependency>
         <groupId>com.lowagie</groupId>
         <artifactId>itext</artifactId>
-        <version>2.0.7</version>
+        <version>2.1.2</version>
         <exclusions>
             <exclusion>
                 <groupId>junit</groupId>
@@ -825,6 +825,27 @@
       </dependency>
 
       <dependency>
+        <groupId>com.lowagie</groupId>
+        <artifactId>itext-rtf</artifactId>
+        <version>2.1.2</version>
+        <exclusions>
+            <exclusion>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+            </exclusion>
+            
+            <exclusion>
+                <groupId>bouncycastle</groupId>
+                <artifactId>bcmail-jdk14</artifactId>
+            </exclusion>
+            <exclusion>
+                <groupId>bouncycastle</groupId>
+                <artifactId>bcprov-jdk14</artifactId>                
+            </exclusion>            
+        </exclusions>
+      </dependency>
+
+      <dependency>
         <groupId>jfree</groupId>
         <artifactId>jfreechart</artifactId>
         <version>1.0.8a</version>

Modified: trunk/examples/build.xml
===================================================================
--- trunk/examples/build.xml	2008-06-25 15:55:04 UTC (rev 8417)
+++ trunk/examples/build.xml	2008-06-25 19:47:15 UTC (rev 8418)
@@ -150,6 +150,7 @@
 	<fileset id="seam.pdf.jar" dir="${lib.dir}">
 		<include name="jboss-seam-pdf.jar" if="seam.pdf.lib" />
 		<include name="itext.jar" if="seam.pdf.lib" />
+		<include name="itext-rtf.jar" if="seam.pdf.lib" />
 		<include name="jfreechart.jar" if="seam.pdf.lib" />
 		<include name="jcommon.jar" if="seam.pdf.lib" />
 	</fileset>

Modified: trunk/src/pdf/org/jboss/seam/pdf/ui/UIList.java
===================================================================
--- trunk/src/pdf/org/jboss/seam/pdf/ui/UIList.java	2008-06-25 15:55:04 UTC (rev 8417)
+++ trunk/src/pdf/org/jboss/seam/pdf/ui/UIList.java	2008-06-25 19:47:15 UTC (rev 8418)
@@ -72,13 +72,15 @@
             if (style.equalsIgnoreCase(STYLE_ROMAN)) {
                 list = new RomanList((int) indent); // int? bug in text?
                 if (lowerCase != null) {
-                    ((RomanList) list).setRomanLower(lowerCase);
+                    list.setLowercase(lowerCase);
+                    //((RomanList) list).setRomanLower(lowerCase);
                 }
             } else if (style.equalsIgnoreCase(STYLE_GREEK)) {
                 list = new GreekList((int)indent); // int? bug in itext?
 
                 if (lowerCase != null) {
-                    ((GreekList) list).setGreekLower(lowerCase);
+                    list.setLowercase(lowerCase);
+                    //((GreekList) list).setGreekLower(lowerCase);
                 }
             } else if (style.equalsIgnoreCase(STYLE_DINGBATS)) {
                 charNumber = (Integer) valueBinding(context, "charNumber", charNumber);




More information about the seam-commits mailing list