Author: norman.richards(a)jboss.com
Date: 2008-04-28 11:58:12 -0400 (Mon, 28 Apr 2008)
New Revision: 8051
Modified:
trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java
Log:
JBSEAM-2914
Modified: trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java
===================================================================
--- trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java 2008-04-28 15:05:38 UTC (rev 8050)
+++ trunk/src/pdf/org/jboss/seam/pdf/ui/UICell.java 2008-04-28 15:58:12 UTC (rev 8051)
@@ -281,6 +281,8 @@
public void handleAdd(Object o) {
if (o instanceof Phrase) {
cell.setPhrase((Phrase) o);
+ } else if (o instanceof Image) {
+ cell.setImage((Image) o);
} else if (o instanceof Element) {
// calling addElement negates setPhrase, etc...
cell.addElement((Element) o);