Hi Paulo,
 

Is there anyway I can get the leftover text from columntext after calling go? I do not want to call go again if there is no more column. I need a String representation of the remaining text. Something like this:
 
ColumnText text = new ColumnText(stamper.getOverContent(1));
text.addText(new Phrase(value, FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL)));
text.setSimpleColumn(position[1], position[2], position[3], position[4]);
if (text.go() & ColumnText.NO_MORE_TEXT) == 0)
{
   String leftOverText = text.getRemainingText();
// Is there anyway I can do this?
}
 
Thanks,
Merlyn.


Do you Yahoo!?
Meet the all-new My Yahoo! – Try it today!

Reply via email to