Re: [iText-questions] Is it possible to change line properties of existing PDF using iText?

2005-12-20 Thread Bruno Lowagie
dark wrote: I have received a little difficult request from our customer. What they want is followings; They want that the thickness of all PDF lines which color is a specific color is changed. For a PDF that is to be created from scratch this is simple. For an existing PDF, this is diffic

[iText-questions] Is it possible to change line properties of existing PDF using iText?

2005-12-20 Thread dark
I have received a little difficult request from our customer.   What they want is followings;  They want that the thickness of all PDF lines which color is a specific color is changed. For examples, a drawing (like AutoCAD dwg format) has three layer; All lines on the first layer is gr

Re: [iText-questions] error with fonts

2005-12-20 Thread Bruno Lowagie
Michael Clayton wrote: Bruno, I put the afm files in every possible location. Could my using a mac os x be a problem? I put the individual files and a jar file of those files in the lib directory, I tried the com.lowagie.text.pdf directory, still no good. As I said before on the mailing l

[iText-questions] Symbolising lines with characters

2005-12-20 Thread Alan
Hi all, I need to be able to symbolise a line path with a character, say “+”, repeated in a defined but irregular pattern (like ++  + +  ++ or + + +++ + pattern) along the path.   Is there an iText method that will apply a character (template) to a path?  Or do I have to interpolate the

Re: [iText-questions] Possible File Resource Leak

2005-12-20 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Pruitt wrote: > Actually, I am converting pdfs to tiff. We have a special case where our > pdfs all consist of full-page images. I use iText to get to the image > streams in the pdf, and use JAI to encode the images to tiff. The problem may not b

[iText-questions] RE: [itextsharp-questions] Acroform & character spacing,

2005-12-20 Thread Paulo Soares
That can't be solved as the fields don't have any information on character spacing. You can set the char spacing in the PdfAppearance but it will disappear when you edit the field. You may try to use a text field with the comb option. > -Original Message- > From: [EMAIL PROTECTED] > [mai

RE: [iText-questions] Possible File Resource Leak

2005-12-20 Thread Paulo Soares
> -Original Message- > From: John Pruitt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005 5:19 PM > To: Paulo Soares > Cc: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Possible File Resource Leak > > To create the PdfReader: > if (strPassword

[iText-questions] Acroform & character spacing,

2005-12-20 Thread Laurent ARNAL
Hi, I try one more time to find a solution to my character spacing problem in AcroForm. My goal is to add AcroForm TextField to an existing Pdf so that they match the field position in an existing pdf. I now use the SetCharacterSpacing of PdfAppearance to add extra space between th

Re: [iText-questions] error with fonts

2005-12-20 Thread Bruno Lowagie
Michael Clayton wrote: The *.afm files must exist as resources in the package com.lowagie.text.pdf.fonts Make sure you have the AFM files in a directory com/lowagie/text/pdf/ in a jar that is in the CLASSPATH or in a directory structure relative to your Java Working Path. By the way: it is

[iText-questions] error with fonts

2005-12-20 Thread Michael Clayton
Hey all, I get the following message when I run a class using iText. I'm doing this in jbuilder. I could not use the jar file, so I un-tar 'd the file and added the packages to jbuilder. Helvetica not found as resource. (The *.afm files must exist as resources in the package com.lowagie.te

Re: [iText-questions] Possible File Resource Leak

2005-12-20 Thread John Pruitt
To create the PdfReader: if (strPassword != null) { reader = new PdfReader(strFile, strPassword.getBytes()); } else { reader = new PdfReader(strFile); } Then, I get a copy of the RandomAccessFileOrArray: file = reader.getSafeFile(); file.reO

Re: [iText-questions] Problem with colspan/rowspan in RtfWriter2

2005-12-20 Thread Mark Hall
On Tuesday 15 November 2005 16:56, Stewart Meyers wrote: > I am having a problem with Rowspan/Colspan for tables in RtfWriter2 that > worked fine with RtfWriter. When I attempt to use RtfWriter2, if colspan > is > > > 1, it does span those cells, but it also adds additional cells. Is this > > a >

RE: [iText-questions] Possible File Resource Leak

2005-12-20 Thread Paulo Soares
How are you creating the PdfReader? How are you extracting the stream? > -Original Message- > From: John Pruitt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 20, 2005 4:38 PM > To: Paulo Soares > Cc: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Possible Fi

RE: [iText-questions] Possible File Resource Leak

2005-12-20 Thread Paulo Soares
I suppose you are converting tiff to pdf and not the other way around. Check that your code is something like this: RandomAccessFileOrArray ra = null; try { ra = new RandomAccessFileOrArray(imgb); Image img = TiffImage.getTiffImage(ra, 1); return img; } finally { if (ra != null)

Re: [iText-questions] Possible File Resource Leak

2005-12-20 Thread John Pruitt
Actually, I am converting pdfs to tiff. We have a special case where our pdfs all consist of full-page images. I use iText to get to the image streams in the pdf, and use JAI to encode the images to tiff. I am closing both the RandomAccessFileOrArray, and the PdfReader I use (although I think Pd

[iText-questions] Possible File Resource Leak

2005-12-20 Thread John Pruitt
I have a program that basically batch converts pdfs to multi-page tiffs using iText. I am running into a problem. In my testing, I had the program batch convert 12,000 pdf files to multi-page tiff. The program worked like a charm for 8 hours, then it hit an exception: "To many open files." The

RE: [iText-questions] register

2005-12-20 Thread Leonard Rosenthol
At 05:29 AM 12/20/2005, Alan Klikic wrote: How can i create PDF with fields? DOC-PDF ceonversion doesn't create fields? Depends on what process you used to convert .doc->.pdf... But in many cases, you are correct, you will need to add them via Acrobat AFTER the conversion.

Re: [iText-questions] register

2005-12-20 Thread Bruno Lowagie
Alan Klikic wrote: How can i create PDF with fields? DOC-PDF ceonversion doesn't create fields? It would surpise me if DOC-PDF conversion did such a thing. (But I don't know anything about Word and DOC2PDF conversion). br, Bruno --- This SF

RE: [iText-questions] register

2005-12-20 Thread Alan Klikic
How can i create PDF with fields? DOC-PDF ceonversion doesn't create fields? Alan -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 11:27 AM To: Alan Klikic; itext-questions@lists.sourceforge.net Subject: RE: [iText-questions] register Your

Re: [iText-questions] register

2005-12-20 Thread Bruno Lowagie
Alan Klikic wrote: What am I doing wrong? Your PDF file doesn't contain an AcroForm. br, Bruno --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that m

RE: [iText-questions] register

2005-12-20 Thread Paulo Soares
Your pdf has no fields. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alan Klikic > Sent: Tuesday, December 20, 2005 10:21 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] register > > Hi. > > I'm trying to use reg