You can't get the text out the ColumnText.
From: Merlyn Mathias [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 4:01 PM
To: Paulo Soares; [EMAIL PROTECTED]
Subject: [iText-questions] ColumnTextHi 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!