[iText-questions] JDK1.3.1

2005-06-14 Thread Eugene R
Hi Did anybody have this problem? iText.jar has been compiled with JDK1.3.1 The following would crash when executed with v.1.3.1; no problem though when using v.1.4.X     DefaultFontMapper fontMapper = new DefaultFontMapper();     fontMapper.insertDirectory(javaFonts);    

Re: [iText-questions] to be sure that is a vaild pdf file ?

2005-06-14 Thread Alawi Albaity
no I want to check by itext to be sure that the uploaded file is a vaild pdf On 6/14/05, zaki huda <[EMAIL PROTECTED]> wrote: Try to open it with a Adobe Acrobat Reader. If it opens, it is a valid pdf file. - Original Message - From: Alawi Albaity To: Itext Sent: Tuesday, June 14,

[iText-questions] to be sure that is a vaild pdf file ?

2005-06-14 Thread Alawi Albaity
How to ?-- Alawi AlbaityJeddah - KSAMobile : +966506660442

[iText-questions] Formatting while Data merging

2005-06-14 Thread zaki huda
Is there any way to add tables in the template xml file used for data merging?   regards,   Zaki Huda

[iText-questions] Drawing error in version 7.0

2005-06-14 Thread Jay Parashar
  I am displaying Jpegs, barcodes and alphanumeric characters.   Works fine with PDF version 6 and 5.   Does not work with version 7 ("A drawing error has occurred"). If I take off the images, it works.   My doc has  PDFPTable with 2 columns. Each column has two nested tables one hol

[iText-questions] iText Question: Images

2005-06-14 Thread Bill Murray
Sorry if this sounds simplistic, but I am using your component iText. I find it to be awesome. Although it's awesome, I have a question about images... - I have the need to place a large jpg underneath an overlay, transparent gif inside a pdf. I have tried for hours on end and cannot get the corr

[iText-questions] check pdf compatibly with itext ?

2005-06-14 Thread Alawi Albaity
How can I check if the file is really pdf and if its compatible with iText ? So then I can be comfortable to work with it future -- Alawi AlbaityJeddah - KSAMobile : +966506660442 

Re: [iText-questions] How can I remove javascript?

2005-06-14 Thread Kimberly Kettner
Thanks for your help, I think I got it now! Kim On Tue, 14 Jun 2005, Leonard Rosenthol wrote: At 09:45 AM 6/14/2005, Kimberly Kettner wrote: It looks like they are page actions. Is there a way to remove all page actions? Using iText, you'd need to scan all the pages and remove that

RE: [iText-questions] Question dataset to pdf

2005-06-14 Thread Paulo Soares
What would you expect to be the result? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Allen, Jeremy > Sent: Tuesday, June 14, 2005 3:05 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Question dataset to pdf > > He

[iText-questions] Question dataset to pdf

2005-06-14 Thread Allen, Jeremy
Hello, is it possible to set my pdf document = to my .net dataset?   Maybe something like this   document.add(DataSet)   Thanks for the help

[iText-questions] Is it possible to balance columns using SimpleColumnText?

2005-06-14 Thread Isabelle Ulfsdotter
Hello, I was wondering whether there is an option to balance columns using SimpleColumnText. I print out a stream of paragraphs into two columns over multiple pages and would like to balance the content of the last page if necessary.   If this is not possible using SimpleColumnText, is i

Re: [iText-questions] How can I remove javascript?

2005-06-14 Thread Leonard Rosenthol
At 09:45 AM 6/14/2005, Kimberly Kettner wrote: It looks like they are page actions. Is there a way to remove all page actions? Using iText, you'd need to scan all the pages and remove that element. Do you think there would be any other consequences of removing all page actions other

Re: [iText-questions] How can I remove javascript?

2005-06-14 Thread Kimberly Kettner
Hi Thanks so much! It looks like they are page actions. Is there a way to remove all page actions? Do you think there would be any other consequences of removing all page actions other than getting rid of the javascript? Kim On Mon, 13 Jun 2005, Leonard Rosenthol wrote: At 12:11 PM 6/1

Re: [iText-questions] Umlauts and Linux[Scanned]

2005-06-14 Thread Miha Plohl
Hey, you should load your fonts (whit or without umlauts) from font files like this: com.lowagie.text.pdf.BaseFont gfont = com.lowagie.text.pdf.BaseFont.createFont(file.getPath(), com.lowagie.text.pdf.BaseFont.CP1250, com.lowagie.text.pdf.BaseFont.EMBEDDED); Where file is a pointer to the fon

Re: [iText-questions] Umlauts and Linux

2005-06-14 Thread bruno
Michael Blumöhr wrote: Hello, my application transforms text generated by a host application in pdf. The text file contains special characters for the euro sign and german umlauts for the printer. After reading a line I convert the special characters, this works well in Windows. But my appli

RE: [iText-questions] Umlauts and Linux

2005-06-14 Thread Paulo Soares
The problem is not the umlaut. Are you sure that you have a '\u00bf' to start with? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Blumöhr > Sent: Tuesday, June 14, 2005 1:18 PM > To: itext-questions@lists.sourceforge.net > Subject: [i

[iText-questions] Umlauts and Linux

2005-06-14 Thread Michael Blumöhr
Hello, my application transforms text generated by a host application in pdf. The text file contains special characters for the euro sign and german umlauts for the printer. After reading a line I convert the special characters, this works well in Windows. But my application should run under Lin

[iText-questions] Table.setTableFitsPage

2005-06-14 Thread Christoph Kradolfer
As "PdfPTable"s can be added to a document in the same way as "Table"s, I wonder if there is a way to tell a "PdfPTable" that it must fit on a page? Thanks Christoph --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sh

[iText-questions] PDF Unknown encryption type (4)

2005-06-14 Thread May, Paul
Title: PDF Unknown encryption type (4) Hi I’m using Itext to read a form PDF, and then populate it with data before writing it to the response output in a JSP page. I’m using adobe reader version7, and although the form is not password protected or encrypted I receive a warning which hints at

[iText-questions] ColumnText and labeled objects

2005-06-14 Thread Andreas Meyer
Hi all, I am looking for an elegant way to place and label objects like a "roundRectangle" using ColumnText. My current solution is to use a scaled transparent 1x1 gif (provided with setGenericTag) as placeholder and draw/label my objects, after the exact position is determined. Snippet1: ... Im

Re: [iText-questions] Reading existing pdf files from database and doing opreations on it

2005-06-14 Thread bruno
Alawi Albaity wrote: id there any example ? No, because reading byte arrays from a database is off-topic. Just look at the JDBC API and search for something like readByte(). Once you have the byte array, just construct your reader object like this: http://itextdocs.lowagie.com/docs/com/lowagie

Re: [iText-questions] Header Issue - Line Space

2005-06-14 Thread bruno
leo wrote: Hi, I am trying to print some text on the header of the page. For that I am using the HeaderFooter class. I am using the document.setHeader(HeaderFooter) method. I am adding a Phrase to the HeaderFooter object.This method prints the header on the page, but the issue is the line sp

[iText-questions] Mapping form fields to the xml data

2005-06-14 Thread Krishna Kishore .J
Hi All,   After an Initial POC , we are using IText in our project.   I have one doubt regarding form filling, i've seen the mail archive but was not able to find ans for my prob.   I have to populate the pdf form fields using the xml (having the data to be populated). Instead of parsing the

RE: [iText-questions] Adding Signature Field

2005-06-14 Thread Paulo Soares
Sorry about the misleading information, PdfAcroForm can't be used in PdfStamper. To create a blank signature field in PdfStamper: PdfFormField sig = PdfFormField.createSignature(stamper.getWriter()); sig.setWidget(new Rectangle(100, 100, 200, 200), null); sig.setFlags(PdfAnnotation.FLAGS_PRINT); s

Re: [iText-questions] Spacing??

2005-06-14 Thread Bruno Lowagie
Brian wrote: Bruno, what does br mean? I use 'br' as abbreviation of 'Best Regards'. In Dutch I put 'mvg' (= 'met vriendelijke groeten'). In French I use 's-à-t' or 's-à-v' (= 'salut-à-toi' or 'salut-à-vous'). It's a tradition. This is what my code looks like. BaseFont bf = BaseFont.create