Hi,

My problem seems complex, but a lot of people must of had it. I browsed the news group though,
and couldnt find anything.


I have stories with titles that I output on PDF.
I have 2 columns per page and am using Column Text.
Titles go over both columns!

Each new story has title accross the two columns, and not only across one column.
Problem is, if you can envision this, is that I have written out (ct.go()) for example
20 rows of first column, and I get new story. Now if I put title across it will look stupid
because right column will be empty.
What I have to do is somehow re-write this page, format only two columns
which will take enogh room to fit 10 rows each (20/2). And then printtitle.


Or when I get NO_MORE_TEXT and I have new story
1. get YLine
2. perform some calcs which will tell me Yline of my new shorter columns
3. delete text written so far
4. create two new shorter columns
5. somehow output text that I had already on that page, now in new format

I hope someone could follow this.
I am most curios how to do 3. and 5.
Or a new algorithm/idea.
Or a pointer to some examples that do this.

Lots of thanks

Damjan

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to