Re: [iText-questions] PdfPTable exception

2005-10-28 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: itext-questions@lists.sourceforge.net Sent: Thursday, October 27, 2005 11:44 PM Subject: [iText-questions] PdfPTable exception

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

2005-10-28 Thread Bruno Lowagie
Joseph Hanna wrote: 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

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

2005-10-28 Thread Joseph Hanna
very much appreciated thanks Bruno On 10/28/05, Bruno Lowagie [EMAIL PROTECTED] wrote: Joseph Hanna wrote: 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

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

2005-10-28 Thread Bruno Lowagie
Joseph Hanna wrote: very much appreciated thanks Bruno I am halfway writing chapter 6 (on tables). I'll start writing chapter 7 (on fonts) next week. If you need to know more about class FontSelector, I'll be able to send you such an example next week. br, Bruno

[iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Bruno Lowagie
I'm not a specialist as far as images are concerned, I forward this to the mailing list. john berry wrote: Hi Bruno, I have to convert a png image which is a business card may contain some text in a specified font and an image(logo)into CMYK pdf image. Now, I needs a suggession from your

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

2005-10-28 Thread Tamas Nemeth
I recommend you to allocate a fix size for the /Contents field, which alway will be enough (for example 10k). 2005/10/28, Shivakumar B [EMAIL PROTECTED]: thankx for the information, one question, How to calculate the byte space for the exclusion? regards Sivakumar.B [EMAIL PROTECTED]

RE: [iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Paulo Soares
PNG doesn't support the CMYK colorspace, only grayscale and RGB. You'll have to use some other tool to do the conversion, maybe JAI. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Friday, October 28, 2005 9:02 AM To: john

RE: [iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Paulo Soares
I've no idea what you're talking about. iText won't change the colorspace. If you have a TIFF image in CMYK the PDF will have a CMYK image. I also don't know what you mean by preview. Maybe you should explain us what you have to start with and what the end result should be. (Please reply to the

Re: [iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Leonard Rosenthol
At 04:02 AM 10/28/2005, Bruno Lowagie wrote: I have to convert a png image which is a business card may contain some text in a specified font and an image(logo)into CMYK pdf image. First, PNG is a raster format - it doesn't contains text or fonts, just bits. As such, it's NOT a

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

2005-10-28 Thread Caoimhin Barry
FYI - As a hunch, I swapped around the two lines: cb = stamp.getOverContent(p); int rotation = reader.getPageRotation(p); to int rotation = reader.getPageRotation(p); cb = stamp.getOverContent(p); And it now works ok. Cheking the rotation after getting the PdfContentByte object seems to

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

2005-10-28 Thread Paulo Soares
The rotation variable is never used in your code example and don't see what reversing the lines would change. Post a small complete example so that the problem can be reproduced. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Caoimhin Barry Sent:

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

2005-10-28 Thread Caoimhin Barry
The actual stamp generation code is too long to post here - the following code change works for a test. It actually doesnt matter what value is returned or used for the rotation though, just calling the getPageRotation or getPageSizeWithRotation methods invalidates the PdfContentByte and anything

RE: [iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Bill Ensley
In Java you will need to use an API that supports CMYK images such as JAI. You can open a PNG with JAI and then convert it to CMYK and then insert it Into iText as a Java Image. As for text, if you have text already in a PNG, it is no longer text, just A bitmap rendering of the text, so it will

RE: [iText-questions] Re: creating Press optimized Pdf From your API

2005-10-28 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Ensley Sent: Friday, October 28, 2005 2:40 PM To: iText Mail Group Subject: RE: [iText-questions] Re: creating Press optimized Pdf From your API In Java you will need to use an API that

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

2005-10-28 Thread Paulo Soares
As I said create a small example with the problem. I ask this because most of the times the devil is in the details and only running something exactly the same that you also ran can solve it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Caoimhin

[iText-questions] (no subject)

2005-10-28 Thread Pera Peric
Hi, thank you for the answer, but I need just a little help more. Where could I remove empty line from source code, in which class? Sincerely yours, Pera On Thursday 27 October 2005 18:01, Pera Peric wrote: My question is that table.setOffset() doesn't work in writing rtf document with

[iText-questions] Write into multi-line text field.

2005-10-28 Thread Andrea Fantechi
I'm havnig problems writing into a multi-line. In my piece of code I have a template in which I inserted some text fields One of these is multi-line. When I write into a sigle-line text filed I get the correct result, but when I try to write into the multi-line one, the resulting field is empty.

RE: [iText-questions] Write into multi-line text field.

2005-10-28 Thread Paulo Soares
Without looking at the PDF I can't even guess. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Fantechi Sent: Friday, October 28, 2005 3:32 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Write into multi-line text

[iText-questions] XML and Layers

2005-10-28 Thread Mark Babcock
Im trying to learn iTextSharp and I was wondering if anyone could help me. I am using XML to add content to the PDFs Im creating. However, I want to be able to add layers. Is this possible? Basically I have an image and want to put text over the image.

[iText-questions] urgent : problem in Rotate page

2005-10-28 Thread ali . bazi
Hi , i used itext to rotate a page in a pdf document , i am trying to add an image to a rotated page , the result is when i add the image the page become not rotated, do you have a solution?? thanks * This message and any

Re: [iText-questions] urgent : problem in Rotate page

2005-10-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi , i used itext to rotate a page in a pdf document , i am trying to add an image to a rotated page , the result is when i add the image the page become not rotated, do you have a solution?? Take a look at this thread in the mailing list archives:

[iText-questions] Form data not copying

2005-10-28 Thread John E
I've been trying to use PdfCopyFields to merge some PDFs. The problem I'm having is that the form data is not copying. The merged document has all the pages and form fields but the data in each field is not there. Am I missing something? Maybe there's a problem with the PDFs but I don't

RE: [iText-questions] Form data not copying

2005-10-28 Thread Paulo Soares
There's really not much to say without looking at the PDFs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John E Sent: Friday, October 28, 2005 4:20 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Form data not copying

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

2005-10-28 Thread Caoimhin Barry
Attached is a stripped-down version of com.lowagie.examples.general.copystamp.AddWatermarkPageNumbers.java - it uses the same files as in the example. Putting together this example helped me further track down the fault to the constructor: PdfReader reader = new PdfReader(new

[iText-questions] Centered aligned text

2005-10-28 Thread Matt Kowske
I'm trying to center a column of numbers in a table. I realize I can set the alignment to Element.ALIGN_CENTER, but this centers each cell individually, so decimal points in my numbers no longer line up. I guess what I'm looking for is more of a tab stop in the center of the cell. Is there

Re: [iText-questions] Centered aligned text

2005-10-28 Thread Paulo Soares
Align right and set the right padding to some suitable value. - Original Message - From: Matt Kowske [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 28, 2005 4:54 PM Subject: [iText-questions] Centered aligned text I'm trying to center a column of

Re: [iText-questions] Re: Image Type Detection

2005-10-28 Thread Dan McKeon
You are a genius!! Thank you SO much! This is wonderful! Carsten Hammer [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/27/2005 04:02 PM To Dan McKeon [EMAIL PROTECTED] cc iText Mail Group itext-questions@lists.sourceforge.net Subject [iText-questions] Re: Image Type Detection

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

2005-10-28 Thread Stefano
Mark Hall mhall at edu.uni-klu.ac.at writes: On Tuesday 25 October 2005 16:56, Stefano wrote: Mark Hall mhall at 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

[iText-questions] MODCA to PDF

2005-10-28 Thread Dan McKeon
Does anyone know of a way to convert MODCA images to PDF? Thismessagemaycontainconfidentialinformationintendedonlyfortheuseofthe addressee(s)namedaboveandmaycontaininformationthatislegallyprivileged. Ifyouarenottheaddressee,orthepersonresponsiblefordeliveringittothe

Re: [iText-questions] MODCA to PDF

2005-10-28 Thread Paulo Soares
There are some commercial solutions at least converting to TIFF. They all look expensive. - Original Message - From: Dan McKeon [EMAIL PROTECTED] To: iText Mail Group itext-questions@lists.sourceforge.net Sent: Friday, October 28, 2005 7:31 PM Subject: [iText-questions] MODCA to PDF

[iText-questions] Re: MODCA to PDF

2005-10-28 Thread Carsten Hammer
Hi Dan, a few years ago I implemented a gimp plugin to load MOD:CA images. It was able to compile and run in gimp on Linux and Windows and loaded most of the overlays I have been interested in at that time. Using gimp you can load them and write them out as every format gimp supports. However

[iText-questions] question

2005-10-28 Thread Kyrna Margarita Quintanilla Machado
l am trying to retrieve a BLOB column from a Oracle table, the colums contains TIFF image, and i am trying to render this Image from the DB to a PDF, this is my code, and i get this java.io.IOException: Could not find a recognized imageformat. if (rs.next()) { ImagenBlob = rs.getBlob(1);

Re: [iText-questions] question

2005-10-28 Thread Paulo Soares
The question here is if saving datos to a file you are able to open it with a graphics program. - Original Message - From: Kyrna Margarita Quintanilla Machado [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 28, 2005 11:23 PM Subject: [iText-questions]