[iText-questions] not really a question, but maybe interesting

2011-04-22 Thread Balder
Happy Easter (bunny/eggs/and more) We've created a site to put iText demo's on. Check it out here: http://demo.itextsupport.com/ Any feedback is always welcome! Greets Balder -- Kind Regards Balder redlab-log

Re: [iText-questions] PDF/A Validation

2011-04-22 Thread Mark Storer
A link or attachment to the list would be fine. If it's Big, you can send it to my email directly. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: beppecosta [mailto:beppeco...@

Re: [iText-questions] Need simple example for adding header/footer to an existing PDF file using iText ..

2011-04-22 Thread Jason Berk
PdfPTable header = _createHeader(); PdfPTable footer = _createFooter(); ByteArrayOutputStream newPdf = new ByteArrayOutputStream(); PdfReader originalPdf = new PdfReader(originalPdf); PdfStamper stamper = new PdfStamper(originalPdf, newPdf); PdfContentByte under = null; int totalPages = or

Re: [iText-questions] Table size or width?

2011-04-22 Thread Jason Berk
Yeah, buy the book...it's a MUST READ if you are going to use iText with any significance. From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Friday, April 22, 2011 10:32 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Table size or width? Op 22/04/2011 15:51

Re: [iText-questions] Where to find jar files for iText examples?

2011-04-22 Thread Balder
On 22/04/2011 15:56, Richard and Terri Bonneau wrote: Thanks! But when I do so, I am not picking up the hsqldb drivers which are located on my classpath? Also shouldn't they be finding my jar from the dependencies in my pom file? Sorry for so many questions - still new to Maven world as well

Re: [iText-questions] Table size or width?

2011-04-22 Thread 1T3XT BVBA
Op 22/04/2011 15:51, New Developer schreef: Hi I'm new to itextPDF and struggling with table Did you start with iText without looking at any of the documentation? PdfPTable table = new PdfPTable(5); PdfPCell c1 = new PdfPCell(new Phrase("ITEM CODE")); c1.setBackgroundColor(BaseColor.LIGHT_G

[iText-questions] Need simple example for adding header/footer to an existing PDF file using iText ..

2011-04-22 Thread Richard and Terri Bonneau
Hi All, Have been working with iText for a couple of days and learning lots from the examples, but I have a very simple need: Read in an existing PDF file Add in a header and footer with static data Write out an updated PDF file. The examples from the iText in Action book while interesting are j

Re: [iText-questions] Table size or width?

2011-04-22 Thread Nurettin DAG
table.setWidthPercentage(%value); would adjust the width to be (given % * available width) using table.setLockedWidth(true); table.setTotalWidth you can set it to desired fixed width. When table spans longer than a page, it will automatically split and continue on the next page. P.S. I am assumi

Re: [iText-questions] Table size or width?

2011-04-22 Thread Jason Berk
table.setWidthPercentage(100); From: New Developer [mailto:secur...@isscp.com] Sent: Friday, April 22, 2011 9:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Table size or width? Hi I'm ned to itextPDF and struggling with table PdfPTable table = new P

[iText-questions] Table size or width?

2011-04-22 Thread New Developer
Hi I'm ned to itextPDF and struggling with table PdfPTable table = new PdfPTable(5); PdfPCell c1 = new PdfPCell(new Phrase("ITEM CODE")); c1.setBackgroundColor(BaseColor.LIGHT_GRAY); c1.setHorizontalAlignment(Element.ALIGN_CENTER); table.addCell(c1); When this table is displayed it is centered

Re: [iText-questions] Where to find jar files for iText examples?

2011-04-22 Thread Richard and Terri Bonneau
Thanks! But when I do so, I am not picking up the hsqldb drivers which are located on my classpath? Also shouldn't they be finding my jar from the dependencies in my pom file? Sorry for so many questions - still new to Maven world as well as iText! Rich On Fri, Apr 22, 2011 at 5:58 AM, Balder

Re: [iText-questions] Where to find jar files for iText examples?

2011-04-22 Thread Balder
On 21/04/2011 23:14, Rich Bonneau wrote: Many thanks. Am now able to build all the examples with no errors. And I can run the examples crudely by setting up an appropriate classpath and running the java command with class name. Is there a Maven command to run a specific example from the many

Re: [iText-questions] Where to find jar files for iText examples?

2011-04-22 Thread Rich Bonneau
Many thanks. Am now able to build all the examples with no errors. And I can run the examples crudely by setting up an appropriate classpath and running the java command with class name. Is there a Maven command to run a specific example from the many available? Thanks, Rich From: Ba