[iText-questions] national characters

2002-05-14 Thread Marek Sarnovsky
Title: Message Hi   I have a problem with national characters. Actually, most of them appear in pdf correctly. Just z,t,r with diacrital mark "circumflex" don't work with embedded fonts. How can I fix that in embedded fonts? Does anybody know about pdf file viewer with the preview and print

Re: [iText-questions] Question: How can I extract form elements?

2002-05-14 Thread Leonard Rosenthol
Title: Re: [iText-questions] Question: How can I extract form At 2:27 PM -0500 5/14/02, Scott Yanoff wrote: Currently, I can successfully read in a series of PDF files and concatenate them into one. However, I'd like to update existing widget/form fields with new text values.     At this tim

[iText-questions] Question: How can I extract form elements?

2002-05-14 Thread Scott Yanoff
Title: Question: How can I extract form elements? This product seems the best out of any I have been researching so far. Currently, I can successfully read in a series of PDF files and concatenate them into one. However, I'd like to update existing widget/form fields with new text values. The

[iText-questions] adding an image to a cell with text

2002-05-14 Thread Campanale, Rocco
I am working with version .91. What I am trying to accomplish is to add a cell to table that contains an image,jpeg, and some text, side by side. I seem to be able to accomplish this with the following snippet of code: hdr1 = new Chunk(uncheckImg,0,0); hdr2 = new Chunk("Pri

Re: [iText-questions] Implementing image maps

2002-05-14 Thread Paul Warren
On Tue, May 14, 2002 at 04:38:29PM +0100, Paulo Soares wrote: > Link coordinates are always relative to the page and that's the way PDF > works. It's impossible for the moment to make it relative to the template as > it would require to store the transformation matrix, something that is not > done

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-14 Thread Ben Sinclair
I just tried something new that might shed some light on my problem. This is what I have been doing: Create a temp pdf and a real pdf. Write to the temp pdf, close it, then import it into the real pdf. Some of these variables are defined outside this method. When I run this, I get the ArrayInd

RE: [iText-questions] Implementing image maps

2002-05-14 Thread Paulo Soares
Link coordinates are always relative to the page and that's the way PDF works. It's impossible for the moment to make it relative to the template as it would require to store the transformation matrix, something that is not done now. You'll have to place the images at absolute positions and work f

[iText-questions] Implementing image maps

2002-05-14 Thread Paul Warren
Hi, I am trying to implement image maps in a PDF document, so that areas of a graphic link to other points in a PDF document. I am creating the graphics using Graphics2D to create a PDFTemplate (as per tutorial chapter10). I want to include the graphics inline, so I then do: document.add(new

Re: [iText-questions] True Type Font Portability and Division by Zero exception

2002-05-14 Thread Jeff Larsen
I found and fixed the problem. It had nothing to do with iText. In the original code (below) the call to "ocraURL.openStream().read(bytes)" returns the full file when the file is not jarred. When the font file is contained in a jar, openStream() gets you an unbufffered InputStream which requires

[iText-questions] Re: height of a row in a table

2002-05-14 Thread John Watson
Note, that this doesn't work if you're adding cells with PdfPTable.addCell(PdfPCell). In that case, you need to make sure that the PdfPCells which you are adding have been set up with PdfPCell.setBorder(Cell.NO_BORDER). I've actually built a helper class to do such things in-line, so I can a

RE: [iText-questions] height of a row in a table

2002-05-14 Thread Paulo Soares
PdfPTable.getDefaultCell().setBorder(Rectangle.NO_BORDER) Best Regards, Paulo Soares > -Original Message- > From: Ravi Prakash Vinnamuri [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 17:13 > To: [EMAIL PROTECTED] > Subject: [iText-questions] height of a row in a table > >

RE: [iText-questions] True Type Font Portability and Division by Zero exception

2002-05-14 Thread Paulo Soares
That's really strange. The method where the exception is thrown is called after the embedded information is sent to the pdf, so the byte array has the font. It can only throw the exception if head.unitsPerEm is zero and that value was used before many times. I tested your code and it works. Best