Hi Due to circumstances out of my reach we have had to extend the margins, both left and right ones, and that of course affects the available width to put elements in - except when positioning things absolutely. But this now has caused a problem since I before this change used a PdfTemplate rendering page numbers (x (y)). The template - used to render the last part, total number of pages - is positioned in the onEndPage(), while writing to it is done in onCloseDocument(). Now the x position for the template is outside the right margin, which pushes the template to left (to stay inside margin, I guess). I wonder if there is a way to position a template at an absolute position, like showTextAligned() or writeSelectedRows() ??? Can I really don't want to rewrite the whole thing using an in-memory PDF since we're short of time in the project. If there is no other solution I'll probably urge a 'rollback' of the margin decision, but hoping for another solution...
/R -- View this message in context: http://itext-general.2136553.n4.nabble.com/Positioning-things-outside-margin-tp3042875p3042875.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
