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"));
My problem: how do I make sure that "Hallo 4" appears below the boxText
instance?
How should I solve these kind of problems?
(I get the idea that when I start adding absolute positioned elements, I
have to continue with absolute positioned elements to overcome the above
problems)
Thanks,
- Ed
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
iText-questions mailing list
[email protected]
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