On Tue, May 14, 2002 at 04:38:29PM +0100, Paulo Soares wrote:
> Link coordinates are always relative to the page and that's the way PDF
> works. It's impossible for the moment to make it relative to the template as
> it would require to store the transformation matrix, something that is not
> done now. You'll have to place the images at absolute positions and work
> from there.

OK.  The difficulty I see in doing this is in mixing the graphics and
text (and in particular, tables).  From reading the tutorial, it looks
like I not use the Document class, and instead should do the text layout
using columns, as this allows me call get/setYLine and thus stop and
start text around the graphics.

My next question is then how to handle tables.  Given that I'll be using
absolute position, it sounds like I need to use PdfPTables.  What
concerns me is how to split PdfPTables across multiple pages where
necessary.  Presumably, I need to look at each row and call
"getRowHeight" to determine what will fit on a page, and then call
writeSelectedRows appropriately.

Would it be worth me attempting to develop a patch to allow relative
link co-ordinates?

cheers,

Paul

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to