Re: [iText-questions] PdfPTable exception

2005-10-27 Thread Paulo Soares
I never saw that error in a PdfPCell. Post a small complete example so that I can reproduce the problem. - Original Message - From: "S G" <[EMAIL PROTECTED]> To: Sent: Thursday, October 27, 2005 11:44 PM Subject: [iText-questions] PdfPTable exception i've got a PdfPTable with 2 rows an

Re: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-27 Thread Shivakumar B
thankx for the information, one question, How to calculate the byte space for the exclusion? regards Sivakumar.B [EMAIL PROTECTED] 10/27/2005 09:18 PM To Shivakumar B/SP/DBAsia/[EMAIL PROTECTED] cc itext-questions@lists.sourceforge.net Subject Re: [iText

[iText-questions] Using iText to transform xml to pdf

2005-10-27 Thread Joseph Hanna
Hello everyone, I have a project that involves me transforming a xml file with a specific format specified by a DTD into a PDF file. The other thing is that the information is in international characters and I need to be able to set a true type font. I know the font thing can be done, but how is th

[iText-questions] PdfPTable exception

2005-10-27 Thread S G
i've got a PdfPTable with 2 rows and 3 cols. the first row - a single cell spans the 3 cols. in the second row - 3 PdfPCells of different widths. --- i'm getting the following exception com.lowagie.text.ExceptionConverter Irregular columns are not supported in composite mode. -- if i set th

AW: AW: [iText-questions] SeparationInfo

2005-10-27 Thread Georg Pilger
>It's a prepress issue. We are working for publishing houses and have to >work up a lot of different PDF. One of our jobs is to make a check >sample print of new books. We get composite Image-PDF with the color >images and Text-PDF as separated PDF (every page is a separation plate >like "textc

[iText-questions] Re: Image Type Detection

2005-10-27 Thread Carsten Hammer
Hi Dan, if you want to keep with standard apis then you should try to use String mimetype=new FileDataSource(filename).getContentType(); See the examples coming with JavaBeans(TM) Activation Framework for how to use it. Best regards, Carsten Dan McKeon wrote: Our extensions reflect the bus

Re: [iText-questions] iText output is garbled on Japanese AIX, works on Windows

2005-10-27 Thread Paulo Soares
Try it with PdfContentByte.createGraphicsShapes(). If the text is garbled then the problem is before reaching iText. - Original Message - From: "Justin Yesudasan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, October 27, 2005 8:56 PM Subject: RE: [iText-questions] iText ou

RE: [iText-questions] PdfPTable Default Width

2005-10-27 Thread Mitch Freed
I don't ;) Using the 80% or setting my own default sounds a lot better than that. Just wondering if there was already something in place for that. Thanks, -Mitch -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 12:43 PM To: Mitch Freed; ite

Re: [iText-questions] PdfPTable Default Width

2005-10-27 Thread Paulo Soares
You can do it yourself if you care to do all the calculations. - Original Message - From: "Mitch Freed" <[EMAIL PROTECTED]> To: Sent: Thursday, October 27, 2005 5:46 PM Subject: [iText-questions] PdfPTable Default Width PdfPTable will default to a width percentage of 80% if none is spe

Re: [iText-questions] Re: RTF anchor doesn't work

2005-10-27 Thread Mark Hall
On Tuesday 25 October 2005 16:56, Stefano wrote: > Mark Hall edu.uni-klu.ac.at> writes: > > On Tuesday 25 October 2005 15:47, Stefano wrote: > > > I saw that RtfWriter2 gives an error if u try to use an internal link: > > > > The RtfWriter2 does not support internal links. > > > > Greetings, > > M

Re: [iText-questions] (no subject)

2005-10-27 Thread Mark Hall
On Thursday 27 October 2005 18:01, Pera Peric wrote: > My question is that table.setOffset() doesn't work in writing rtf document > with com.lowagie.text.Table class. > > So, I want to avoid blank line before my table. > > Is there any way to do that? The only way is to download and change the sour

[iText-questions] Re: PdfStamper: OverContent not showing

2005-10-27 Thread Caoimhin Barry
I just discovered that if I comment out the following line it now works ok: rotation = reader.getPageRotation(p); Any ideas? I do need to get the rotation for some other code I want to use Thanks! --- Caoimhin Barry <[EMAIL PROTECTED]> wrote: > Could someone please tell me what I am doing >

[iText-questions] PdfPTable Default Width

2005-10-27 Thread Mitch Freed
PdfPTable will default to a width percentage of 80% if none is specified. Is there any way to get the PdfPTable to default to it's "required" width? For example, the following HTML table will default to it's "required" width:      header with colspan 3      1.1 1.2 1.3  

RE: [iText-questions] Not map fonts to unicode

2005-10-27 Thread David Thielen
Hi; In case anyone else hits this - the answer is to or 0xf000 to the char value - then it takes the low byte and goes straight to that char in the font - no mapping. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message- From: [EMAIL PROTECTED] [mailto:

[iText-questions] (no subject)

2005-10-27 Thread Pera Peric
Hi, everybody! My question is that table.setOffset() doesn't work in writing rtf document with com.lowagie.text.Table class. So, I want to avoid blank line before my table. Is there any way to do that? _ Don't just search. Find.

Re: [iText-questions] Problème d'utilisatio n de itext

2005-10-27 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Bonjour, En utilisant itext pour faire des essais, j'ai un mesage d'erreur à l'ouverture des polices afm. La fonction getRessourceStream me renvoie un message d'erreur en tentant d'ouvrir Helvetica.afm. Si je renome Helvetica.afm par toto.gif, la fonction ouvre le fi

[iText-questions] PdfStamper: OverContent not showing

2005-10-27 Thread Caoimhin Barry
Could someone please tell me what I am doing wrong here? I am basically using the sample code from AddWatermarkPageNumbers.java but I am not seeing any extra text at all. The inserted page has text stamped on it, but none of the others. PdfReader reader = new PdfReader(new RandomAccessFileOrArray

[iText-questions] Probl�me d'utilisation de itext

2005-10-27 Thread n . amiot
Bonjour, En utilisant itext pour faire des essais, j'ai un mesage d'erreur à l'ouverture des polices afm. La fonction getRessourceStream me renvoie un message d'erreur en tentant d'ouvrir Helvetica.afm. Si je renome Helvetica.afm par toto.gif, la fonction ouvre le fichier. Dans quelle voie dois-

RE: [iText-questions] Problem with reformatting text on the same line as a form field.

2005-10-27 Thread Leonard Rosenthol
At 09:07 AM 10/27/2005, Russell Burke wrote: We have an in-house application that populates RTF documents that are authored by MS Word but they really prefer the PDF format.  So producing a PDF file is a requirement for me. Of course! But the RTF can then be converted to PDF wit

Re: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-27 Thread Tamas Nemeth
Maybe I have mistaken, but I think you should change the following line: dic2.put(PdfName.CONTENTS, new PdfString(out).setHexWriting(false)); to dic2.put(PdfName.CONTENTS, new PdfString(out).setHexWriting(true)); Of course your 'out' pkcs7 data should be binary data in this case. Adobe expects to

RE: [iText-questions] Problem with reformatting text on the same line as a form field.

2005-10-27 Thread Russell Burke
Title: RE: [iText-questions] Problem with reformatting text on the same line as a form field. We have an in-house application that populates RTF documents that are authored by MS Word but they really prefer the PDF format.  So producing a PDF file is a requirement for me.   Thanks, Russ

[iText-questions] again XFA and "expected a dict object"

2005-10-27 Thread mirco casoni
Hello, I'm using itext to fill a template created with Adobe Designer 7 (Professional). My code works fine but when I open the pdf I have the message "expected a dict object". I found many messages in the net about this problem but no one describe a solution. Could you share a snippet code to s

[iText-questions] (no subject)

2005-10-27 Thread ali . bazi
hi , i am using itext to rotate a document and then add image to it , the rotate work proprely and sam for adding image , but when i add an image to a document tthat i was rotating befor it add the image to the origine document(not rotated) not in the rotated document do you have a justification o

Re: AW: [iText-questions] SeparationInfo

2005-10-27 Thread Leonard Rosenthol
At 02:29 AM 10/27/2005, Georg Pilger wrote: It's a prepress issue. We are working for publishing houses and have to work up a lot of different PDF. One of our jobs is to make a check sample print of new books. We get composite Image-PDF with the color images and Text-PDF as separated PDF (every p

[iText-questions] Re: iText-questions digest, Vol 1 #3334 - 3 msgs

2005-10-27 Thread Matthias . Dillier
Hi Dave > I am trying to create a bitmap from a windows metafile. The problem I am > having is I get a EXTTEXTOUT with a string that is a single byte of 0xE5 > (keep in mind that a metafile treats strings as a sequence of bytes and I > assume DBCS bytes - not unicode). > > The font I am using is

RE: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-27 Thread Shivakumar B
Hi,         i've already posted the code in my previous mail, also would like to tell you that i do have a good understanding of Siganture , but i am new to this pdf kind of stuffs. regards Sivakumar.B [EMAIL PROTECTED] 10/26/2005 07:28 PM To Shivakumar B/SP/DBAsia/[EMAIL PROTECTED]

RE: [iText-questions] Reg: Pdf Signature Clarifications

2005-10-27 Thread Shivakumar B
Hi,                 i am putting the code that i have executed below,                         try {                         log("reading the input...");                         PdfReader reader = new PdfReader(args[0]);                         FileOutputStream fout = new FileOutputStream(args[1]