[jboss-cvs] jboss-seam/src/pdf/org/jboss/seam/pdf ...
Norman Richards
norman.richards at jboss.com
Tue Dec 26 01:12:57 EST 2006
User: nrichards
Date: 06/12/26 01:12:56
Modified: src/pdf/org/jboss/seam/pdf ITextUtils.java
Log:
cell params
Revision Changes Path
1.2 +13 -1 jboss-seam/src/pdf/org/jboss/seam/pdf/ITextUtils.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ITextUtils.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/pdf/org/jboss/seam/pdf/ITextUtils.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ITextUtils.java 24 Dec 2006 19:29:01 -0000 1.1
+++ ITextUtils.java 26 Dec 2006 06:12:56 -0000 1.2
@@ -21,7 +21,19 @@
if (ElementTags.ALIGN_JUSTIFIED_ALL.equalsIgnoreCase(alignment)) {
return Element.ALIGN_JUSTIFIED_ALL;
}
+ if (ElementTags.ALIGN_TOP.equalsIgnoreCase(alignment)) {
+ return Element.ALIGN_TOP;
+ }
+ if (ElementTags.ALIGN_MIDDLE.equalsIgnoreCase(alignment)) {
+ return Element.ALIGN_MIDDLE;
+ }
+ if (ElementTags.ALIGN_BOTTOM.equalsIgnoreCase(alignment)) {
+ return Element.ALIGN_BOTTOM;
+ }
+ if (ElementTags.ALIGN_BASELINE.equalsIgnoreCase(alignment)) {
+ return Element.ALIGN_BASELINE;
+ }
- return Element.ALIGN_LEFT;
+ return Element.ALIGN_UNDEFINED;
}
}
More information about the jboss-cvs-commits
mailing list