You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by sujikin <su...@gmail.com> on 2009/05/27 20:47:31 UTC
Adding top border to TextBox in HSLF
Hi Yegor
Is it possible to add top border to TextBox in HSLF in an easier way than
below?
Line line = new Line();
line.setAnchor(new java.awt.Rectangle(50, 90, 300, 10));
TableCell cell = new TableCell(null);
cell.setText("This is trial");
cell.setAnchor(new java.awt.Rectangle(50, 50, 300, 100));
cell.setBorderTop(line);
slide.addShape(cell);
slide.addShape(line);
An early reply will be helpful.
Thanks
--
View this message in context: http://www.nabble.com/Adding-top-border--to-TextBox-in-HSLF-tp23748555p23748555.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org