Just getting into iText - looks fantastic and I have the iText in Action book which is great. Just one thing that I am trying to do that I have struggled to find any examples of....
I have some PDFs that have some text outside of the normal A4 page boundaries. I need to simple move the right margin out by a set amount to show the text - doesn't matter that the document is no longer A4 as it will never be printed. I have managed to do what I need with the cpdf tool and the -scale-to-fit parameter and I can now see the text... but I'm struggling to do the same in iText. I did something similar to the reader/copy/writer from the book setting new page size - but whatever I set the page size to it seemed to be ignored and just took the A4 from the copied page. I also tried playing with stamper but couldn't find a solution there either. Any help much appreciated - I've wasted enough time on it already and I'm sure this is pretty simple. Would prefer to use a nice java library that I can embed in the application rather than have to buy another tool that I have to call out to the command line with. Regards Steve ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
