MultiColumnText next column or next page problem
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Thu, 2 Feb 2006 16:44:32 -0000
Some code is required to reproduce the problem.
> -----Original Message-----
> From: itext-questions-admin (at) lists.sourceforge.net
> [mailto:itext-questions-admin (at) lists.sourceforge.net] On
> Behalf Of raymond moesker
> Sent: Thursday, February 02, 2006 3:58 PM
> To: itext-questions (at) lists.sourceforge.net
> Subject: [iText-questions] MultiColumnText next column or
> next page problem
>
> Some background info:
> I'm trying to add articles to a PDF file using the
> MultiColumnText class. This works fine.
> My problem is when an article starts at the almost end of a
> column it has to move to the next column or next page if it
> is the second column.
>
> What I do:
> I'm opening a Document.(I'm using a PageEvent for adding the
> footer and header) Then I create a MultiColumnText. This
> MultiColumnText gets filled with articles and after it's
> filled it's added to the Document.
>
> My problems:
> 1.
> When I'm using the mct.nextColumn() function within the
> MultiColumnText it only works for the first page.
>
> 2.
> My first thought was to use a onParagraphEnd(PageEvent) to
> calculate the end of a Paragraph in a MultiColumnText. This
> only seems to work at the Document level.
>
>
> Does someone know a solution for my problem?(when a article
> starts at the almost end of a column it has to move to the
> next column or next page if it is the second column.)
>
> Thanks Ray
>
> ________________________________
>
> Yahoo! Autos <http://us.rd.yahoo.com/evt=38381/
> ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMW
> F1dG9z/*http://autos.yahoo.com/index.html> . Looking for a
> sweet ride? Get pricing, reviews, & more on new and used cars.
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions