Leo wrote:
> *problem 2)* If I add only irregular columns and I'm in the condition
> where maxY < top, it LOOPs
You can't just choose any value for left[1].
The method resolvePositions adjusts this value for
regular columns, but it didn't adjust them for irregular
columns. I changed this.
--
Thi
Leo wrote:
> For *problem 1* I suggested to modify the addElement method, but you
> said that "If the columns are rectangular, YOU MUST use addElement",
> why? In the chapter 7 of your book it's not forbidden to use addText and
> addElement toghether! I tryed my modify adding Chunks and Paragrap
omething in the ColumnText class
beacause if you change my test code using ColumnText you'll find the same
problem.
Leonardo
- Original Message -
From: "1T3XT info"
To: "Post all your questions about iText here"
Sent: Tuesday, January 06, 2009 12:21 PM
Subject
Leo wrote:
If you changed the addColumn order adding column2 first and then column1, it
worked but the right column in the page was filled first with a bad graphic
effect!
With this revision the problem was solved and probably the correct bugfix
was to change the simple parameter and not the
: "Post all your questions about iText here"
Sent: Wednesday, December 31, 2008 9:43 AM
Subject: Re: [iText-questions] Bug inside MultiColumnText
> Leo wrote:
>> Hi everybody,
>> I found a bug into MultiColumnText class in method addElement.
>> The method should
Leo wrote:
> Hi everybody,
> I found a bug into MultiColumnText class in method addElement.
> The method should be written like this:
>
> public void addElement(Element element) throws DocumentException {
> if (element instanceof Phrase) {
> columnText.addText((Phrase) element);
> }
Hi everybody,
I found a bug into MultiColumnText class in method addElement.
The method should be written like this:
public void addElement(Element element) throws DocumentException {
if (element instanceof Phrase) {
columnText.addText((Phrase) element);
} else if (element instanceof