Re: [iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-06 Thread mtomlins
Thanks for the reply. I have abandoned the xmltag functionality as it's incomplete. - Original Message - From: "bisoa" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 05, 2008 4:40 PM Subject: Re: [iText-questions] How can I add a pdf table to a generated letter using XML? > > > 1T3XT

Re: [iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-05 Thread mtomlins
I wanted to do it using the xml classes that are used in ch. 14 but it looks like they are not implemented for tagmap. I need to align my output but the available classed don't do that. Ideally I could create columns using tagmap. - Original Message - From: "bisoa" <[EMAIL PROTECTED]> To

[iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-04 Thread mtomlins
Hi- I've written a program similar to the one in chapter 14 for automating letters: I want to align my data in part of the letter into a 2 column table e.g. Performace Rating:GOOD Current Base Salary: 10,000 Base Salary Increase: 1,000 New Base Salary: 11,000 I'v

[iText-questions] How can I substitute actual DB values for xml content at runtime?

2008-02-03 Thread mtomlins
I have a program modeled after the simpleLetters example in the book. I have created a tagMap and for each employee I need to substitute various info. I have passed my employee record to my subclass which extends the SAXiTextHandler but can't find out how to replace 'currentChunk' In 'endElement'

Re: [iText-questions] CAN'T load com.lowagie.text.Image under linux(SUSE 10.3)

2008-02-03 Thread mtomlins
Never mind - I must have corrupted my Image file with all my attempts to get it to load. Copied over another one and it worked fine. Max - Original Message - From: mtomlins To: Post all your questions about iText here Sent: Sunday, February 03, 2008 2:40 PM Subject: [iText

[iText-questions] CAN'T load com.lowagie.text.Image under linux (SUSE 10.3)

2008-02-03 Thread mtomlins
Hi - I can load the iTextLogo.gif (chapter 14 example) under windows but it blows up under Linux: 11:26:19,742 ERROR [STDERR] java.io.EOFException 11:26:19,743 ERROR [STDERR] at java.io.DataInputStream.readFully(DataInputStream.java:178) 11:26:19,744 ERROR [STDERR] at com.lowagie.text.pdf.co

Re: [iText-questions] DocumentException with embedded font underJBoss

2008-01-24 Thread mtomlins
Bear- Thanks for the reply. I am still stumped. Here is what I'm doing: As you can see, I access the file using getResource (and it is found, in the web-inf directory) but the createFont method in BaseFont takes a String for the file name so I path the String path (from the File obj) to it. Ma

Re: [iText-questions] DocuementException withembeddedarial.ttfinJBOSS under linux

2008-01-22 Thread mtomlins
MAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of mtomlins > Sent: Tuesday, January 22, 2008 4:00 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] DocuementException with > embeddedarial.ttfinJBOSS under linux > > It's not permi

Re: [iText-questions] DocuementException with embedded arial.ttfinJBOSS under linux

2008-01-22 Thread mtomlins
It's not permissions. they're set to all 'read'. It's kept in the web-inf dir as well. The file loads OK; it's seems to be when iText tries to load it as a BaseFont. I believe there must be a missing component. BTW, I can't post to the forum directly even though I have set up twice - I get bad