> In this case, you could use page events to retrieve the coordinates of
> Hello 4.
> You could use these coordinates to draw the box.
Thanks for the tip. I am now rewriting the stuff to use the ColumnText
class...
- Ed

> -----Original Message-----
> From: 1T3XT BVBA [mailto:i...@1t3xt.info]
> Sent: dinsdag 29 maart 2011 8:32
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] mix high level and absolute positioning
> 
> Op 28/03/2011 19:24, Ed Bras schreef:
> > What's the correct way to mix high level objects and absolute
> positioning?
> >
> > I have problems mixing them.
> > Suppose that I add Paragraphs to the Document and need to add an
> absolute
> > element through ColumnText because I have additional requirements
> that I
> > can't realize with high level objects:
> >
> > document.add(new Paragraph("Hallo 1"));
> > document.add(new Paragraph("Hallo 2"));
> > document.add(new Paragraph("Hallo 3"));
> > ColumnText  boxText = new ColumnText();
> > // set additional ColumnText properties such that it shows a box of
> wrapped
> > text.
> > document.add(new Paragraph("Hallo 4"));
> > document.add(new Paragraph("Hallo 5"));
> In this case, you could use page events to retrieve the coordinates of
> Hello 4.
> You could use these coordinates to draw the box.
> 
> -----------------------------------------------------------------------
> -------
> Enable your software for Intel(R) Active Management Technology to meet
> the
> growing manageability and security demands of your customers.
> Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to