[iText-questions] very strange error with itext, please help

2003-11-19 Thread Gagaliya
Hello, I am generating pdf using itext from a db source through a servlet on weblogic6.1 and displays the pdf back in a webpage. The input for generating the pdf are just a bunch of user selected filters on a webpage.    I encountered a very strange bug:  java.lang.OutOfMemoryError <>. I know th

[iText-questions] table in RtfHeaderFooter

2003-11-19 Thread Yazdani, Flora
Title: Message I have been trying to add a table to an RtfHeaderFooter.  I add the table to the phrase that already has other phrases in there.  The file  processed  fine but when I want to open the rtf file, Words just freezes.  I close the frozen file which comes up and says "Program is no

Re: [iText-questions] Converting a PDF to TIF

2003-11-19 Thread chicks
I don't think you can do that with iText. Here's a java wrapper for ImageMagick, which in turn uses GhostScript to convert PDF to TIFF: http://www.yeo.nu/jmagick/ --- [EMAIL PROTECTED] wrote: > Does anyone know how to convert a PDF file to a TIF > image using the iText > API? It would be nice to

Re: [iText-questions] Converting a PDF to TIF

2003-11-19 Thread Leonard Rosenthol
At 9:21 AM -0800 11/19/03, [EMAIL PROTECTED] wrote: Does anyone know how to convert a PDF file to a TIF image using the iText API? You can't. But there are other Java libraries that can...See JPEDAL, MultiValent, etc. Leonard -- -

[iText-questions] Column Text and more

2003-11-19 Thread Damjan Majstorovic
Hi, My problem seems complex, but a lot of people must of had it. I browsed the news group though, and couldnt find anything. I have stories with titles that I output on PDF. I have 2 columns per page and am using Column Text. Titles go over both columns! Each new story has title accross the two

RE: [iText-questions] Image Right Alignment - 2 attachments

2003-11-19 Thread Paulo Soares
I'll put a hard-coded spacing of 4 points around the image in the next release. I don't think that another parameter is needed as there are other ways to do this things if precision is a must. Best Regards, Paulo Soares > -Original Message- > From: AJP [SMTP:[EMAIL PROTECTED] > Sent: Wedn

[iText-questions] Converting a PDF to TIF

2003-11-19 Thread Chris . L . HOWELL
Does anyone know how to convert a PDF file to a TIF image using the iText API? It would be nice to be able to create multi-page tiffs, but not important. Just a single page tiff will do. Thanks for your help! Chris Howell Systems Analyst Oregon Department Of Transportation Phone (503) 378-4452 Pa

RE: [iText-questions] Using only 1 page of a Multi-Page PDF

2003-11-19 Thread Paulo Soares
You have in com.lowagie.tools.handout_pdf an example on how to place pages. The text is placed with PdfContentByte.showText(), for example. There are several examples on to place text at precise positions, tables, etc at itextpdf.sf.net. The tutorial also has some info in the chapter "Advanced iTex

Re: [iText-questions] Using only 1 page of a Multi-Page PDF

2003-11-19 Thread Eric Vandervort
I have the positions already stored in a XML file, I would be getting the page to write the fields to at the positions described in the xml file. I guess I'm not technically "filling" fields, because there are no fields, I just write the data on the pdf. - Original Message - From: "Paulo

RE: [iText-questions] Using only 1 page of a Multi-Page PDF

2003-11-19 Thread Paulo Soares
Assuming that you are not filling the fields but only getting their positions use PdfWriter.getImportedPage() to get any page. This requires the creation of a new document with PdfWriter. Best Regards, Paulo Soares > -Original Message- > From: Eric Vandervort [SMTP:[EMAIL PROTECTED] > Sen

RE: [iText-questions] Illegal operation 'Q' inside text object.

2003-11-19 Thread Paulo Soares
The problem is elsewhere and it certainly is not caused by going from 1.00 to 1.01. Check your code for an out of place cb.restoreState(). You may post the pdf file somewhere or send it to me and I'll tell you where the problem is. Best Regards, Paulo Soares > -Original Message- > From: [

RE: [iText-questions] Image Right Alignment - 2 attachments

2003-11-19 Thread Paulo Soares
I think the right align problem is fixed in the last version. Best Regards, Paulo Soares > -Original Message- > From: Alan Pocklington [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 12:12 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Image Right Alignment - 2 a

RE: [iText-questions] colors and tables

2003-11-19 Thread Paulo Soares
Put the image inside a Chunk. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 14:18 > To: [EMAIL PROTECTED] > Subject: [iText-questions] colors and tables > > Hello, > > I'm trying to build a P

RE: [iText-questions] Re: Call to fitsPage returns true, but tabl e doesn't fit {Scanned}

2003-11-19 Thread Paulo Soares
Use 20 instead of 1. Best Regards, Paulo Soares > -Original Message- > From: charles lao [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 15:27 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Re: Call to fitsPage returns true, but > table doesn't fit {Scanned} > >

[iText-questions] Using only 1 page of a Multi-Page PDF

2003-11-19 Thread Eric Vandervort
Right now I have a multiple page form. I have each page stored in its own separate pdf file and I use the PdfReader to read in just that pdf file when I need it (I am using contentbyte to write over page 1 always). Is there anyway that I can store all of my different pages in one pdf file, and ch

[iText-questions] Illegal operation 'Q' inside text object.

2003-11-19 Thread david . deridder
Title: Illegal operation 'Q' inside text object. Hi all, I'm placing text on a PdfContentByte. When using Itext version 1.00 all goes well. If I use 1.01 the I get the following error when opening the PDF: Illegal operation 'Q' inside text object. This is only the case when I run the code

[iText-questions] Re: Call to fitsPage returns true, but table doesn't fit {Scanned}

2003-11-19 Thread charles lao
I had the same problem, and I use fitsPage(PdfPtable, 1) as suggested, and it always still returns me true. Did I use it in the wrong way? thx, charles "Paulo Soares" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Use fitsPage(margin) to be sure. The current leading is taken into

[iText-questions] Lists in tablecells

2003-11-19 Thread Ronald Stutz
Title: Nachricht Hi *   I need to create ordered and unordered lists inside a table. The listitem chunks need to be formated. The problem now is that in the resulting pdf there's a linebreak between each chunk. Any help very appreciated!   used itext version 1.01   Thanks Ron   ps: codefr

[iText-questions] colors and tables

2003-11-19 Thread Janne . Leino
Hello, I'm trying to build a PDF table where certain columns contain traffic light images (reg, green, yellow) to indicate status; however, the originally small images get scaled up to huge size because the cells are bigger than the images. I was unable to solve this problem, especially as the man

RE: [iText-questions] PDF417 - confused about parameters/options

2003-11-19 Thread Paulo Soares
I thought I had answered it but apparently no. See answer below. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gajdos > Gabriel > Sent: Tuesday, November 11, 2003 3:32 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] PDF417 - confused about par

RE: [iText-questions] Embedding of Fonts

2003-11-19 Thread Paulo Soares
It's your choice to embedd or not but, even if the font is available in the viewer machine, only embedding guarantees that the doc will be as you want it to be. Best Regards, Paulo Soares > -Original Message- > From: Sameer Karkhanis [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19,

Re: [iText-questions] Embedding of Fonts

2003-11-19 Thread Bruno
Quoting Sameer Karkhanis <[EMAIL PROTECTED]>: > My question (which the printer folks have asked us ) is whether the fonts > that we use in this way are embedded or not. True Type Fonts can be embedded using iText. It's a parameter you have to set yourself when creating a BaseFont. (It works for

[iText-questions] Embedding of Fonts

2003-11-19 Thread Sameer Karkhanis
Hi Paulo , I 'm using the Arial font in creating the PDF and we are using the FontFactory class to use this True Type Font in the PDF. FontFactory.register("Fonts/Arialn.ttf"); FontFactory.register("Fonts/Arialnb.ttf"); FontFactory.register("Fonts/Arialni.ttf"); FontFactory.register("Fonts/Arial

FW: [iText-questions] PDF417 - confused about parameters/options

2003-11-19 Thread Gajdos Gabriel
Any ideas? Thanx in advance. GG -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gajdos Gabriel Sent: Tuesday, November 11, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: [iText-questions] PDF417 - confused about parameters/options Hallo there! I am trying to

Re: [iText-questions] concatante pdf file in one pdf file

2003-11-19 Thread Bruno
Quoting toto toto <[EMAIL PROTECTED]>: > Hi, > > In the FAQ, I can read : > Can I read an existing PDF-document with iText? Can I use a template PDF and > fill it with data? > Yes, in some cases, you can: see example 12 in Chapter 1 of the tutorial. You > can extract complete pages of an existi

[iText-questions] concatante pdf file in one pdf file

2003-11-19 Thread toto toto
Hi,   In the FAQ, I can read : Can I read an existing PDF-document with iText? Can I use a template PDF and fill it with data? Yes, in some cases, you can: see example 12 in Chapter 1 of the tutorial. You can extract complete pages of an existing PDF document and copy them to a newly created PDF d

Re: [iText-questions] Unable to view the Example PDF given in the tutorial

2003-11-19 Thread Bruno
Quoting Anis h <[EMAIL PROTECTED]>: > My DB access doesn't give me UNICODE. It's a DB setting. If you are the DB admin, you can change it. I had a similar problem with a website: I needed the fields from the DB in Latin 1, but the American hosting provider didn't want to change the DB settings.

[iText-questions] Can i tell if something printed on the page

2003-11-19 Thread charles lao
Hi, I have difficulty of knowing if there's anything printed on the page. That is I can't differentiate the following 2 cases: 1. print something, and just reach the end of page, and switch a new page. nothing on the new page yet. 2. print something, and go over to the new page. there's somethin

Re: [iText-questions] Unable to view the Example PDF given in the tutorial

2003-11-19 Thread Anis h
Hello Bruno, Sorry I had sent the earlier mail just to your private id. I tried to print the following data using the japanese font below and iText prints as shown below ƒNƒŒ[ƒ€‡Œv but the unicode equivalent of the above string \u30AF\u30EC\u30FC\u30E0\u5408\u8A08 is getting printed prope