Re: [iText-questions] indexing PDF content

2003-04-03 Thread Leonard Rosenthol
At 03:03 PM 4/3/2003 -0800, Matt Benson wrote: Does anyone (Leonard) know of a package that will do this, or should I implement parsing text from one of JPedal or PdfBox? There are LOTS of PDF indexing engines out there - commercial, open source, your choice of languages, etc. Do a searc

Re: [iText-questions] Re: 114 won't build

2003-04-03 Thread David Thielen
I deleted the classes dir and that fixed it. So I'm guessing that I had an old version of PdfEncryption.class that was newer than PdfEncryption.java - but that there was something different in the method signature. thanks - dave - Original Message - From: "David Thielen" <[EMAIL PROTECTE

Re: [iText-questions] Re: 114 won't build

2003-04-03 Thread David Thielen
I don't think I am although you never know. And the method is there in the class. This is weird. Is there a jar built for java 1.3 anywhere? thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> S

[iText-questions] indexing PDF content

2003-04-03 Thread Matt Benson
Does anyone (Leonard) know of a package that will do this, or should I implement parsing text from one of JPedal or PdfBox? Thanks, Matt __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com -

Re: [iText-questions] Re: 114 won't build

2003-04-03 Thread Leonard Rosenthol
At 09:21 AM 4/3/2003 -0700, David Thielen wrote: Anyone know how to get 114 to build?   It builds just fine in Eclipse, which is my Java IDE of choice... Leonard --- Leonard Rosenthol   

Re: [iText-questions] Re: 114 won't build

2003-04-03 Thread Paulo Soares
Well, in netbeans I hit "Build All" and all is compiled. Also in netbeans I have a "Jar Recipe" to make a jar. I don't use ant. I suppose that you have checked if you are not mixing files or classpaths among versions. Best Regards, Paulo Soares - Original Message - From: "David Thielen" <

[iText-questions] Re: 114 won't build

2003-04-03 Thread David Thielen
Anyone know how to get 114 to build?   thanks - dave   - Original Message - From: David Thielen To: itext Sent: Wednesday, April 02, 2003 3:24 PM Subject: 114 won't build Any ideas?   thanks - dave   C:\java\itext>ant compileBuildfile: build.xml

Re: [iText-questions] Corrupt output pdf after fdfmerge.

2003-04-03 Thread Finn Bock
[Paulo Soares] It's a bug already corrected (in my computer...). Replace in PdfStamperImp os.write(HEADER); for this.os.write(HEADER); Thank you, it works like a charm. You have really saved my day. regards, finn --- This SF.net email is sp

RE: [iText-questions] Corrupt output pdf after fdfmerge.

2003-04-03 Thread Paulo Soares
It's a bug already corrected (in my computer...). Replace in PdfStamperImp os.write(HEADER); for this.os.write(HEADER); Best Regards, Paulo Soares > -Original Message- > From: Finn Bock [SMTP:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 17:43 > To: [EMAIL PROTECTED] > Subject:

Re: [iText-questions] Corrupt output pdf after fdfmerge.

2003-04-03 Thread Finn Bock
[me] I have an input PDF file (created by iText) that I try to run fdfmerge on like this: java fdfmerge Ramme.pdf Ramme_new.pdf [Leonard Rosenthol] fdfmerge, as the name implies is for merging FDF files with PDF files...It appears from your command line that you are trying to merge a

[iText-questions] Issue with PdfStamper (File is damaged... message from acrobat)

2003-04-03 Thread Rich McAneny
(I apologize if this makes it to the lsit 2x. I sent it with the wrong email address the first time). I am having an issue with the PdfStamper class, where I am getting a message from Acrobat (both Reader 4.0 and full version 4.0) when I open the resulting file. I am using itext version .98, and

[iText-questions] Issue with PdfStamper (File is damaged... message from acrobat)

2003-04-03 Thread Rich McAneny
I am having an issue with the PdfStamper class, where I am getting a message from Acrobat (both Reader 4.0 and full version 4.0) when I open the resulting file. I am using itext version .98, and I also tried the latest from Paulo's site (http://www.geocities.com/itextpdf/) (build 114) and get the

[iText-questions] Re: Servlet PDF Streaming - workaround

2003-04-03 Thread Mark Gilmore
Anish, Thanks - that worked. Mark -- Mark Gilmore Spry Technology, Inc. [EMAIL PROTECTED] - Original Message - From: "Anis h" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 11:24 AM Subject: Servlet PDF Streaming - workaround >

Re: [iText-questions] Corrupt output pdf after fdfmerge.

2003-04-03 Thread Leonard Rosenthol
At 06:42 PM 4/3/2003 +0200, Finn Bock wrote: I have an input PDF file (created by iText) that I try to run fdfmerge on like this: java fdfmerge Ramme.pdf Ramme_new.pdf fdfmerge, as the name implies is for merging FDF files with PDF files...It appears from your command line that you are

[iText-questions] Corrupt output pdf after fdfmerge.

2003-04-03 Thread Finn Bock
Hi, I have an input PDF file (created by iText) that I try to run fdfmerge on like this: java fdfmerge Ramme.pdf Ramme_new.pdf So there is no data inserted and no flattening. Yet the resulting output file is corrupt according to Acrobat 5.0: "An error occured during opening of the document.

RE: [iText-questions] ugly font display when using the PAINT method for PDF writing

2003-04-03 Thread Paulo Soares
The problem is that some painting methods paint the strings as shapes and iText can't do anything about it. I bet that the printed pdf looks ok. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 16:45 > To:

[iText-questions] ugly font display when using the PAINT method for PDF writing

2003-04-03 Thread swen.admn
ugly font display when using the paint method for PDF writing -- Instead of using the Document.add(..) mechanism I'd like to write into a PDF file with the help of the paint() method. The paint method is called with a javax.swing.text.JTe

RE: [iText-questions] Joining fields using acroform

2003-04-03 Thread Paulo Soares
The problem here is that the appearances must also be created with borders, fonts and alignments. Setting the field is fast, creating the appearance is not. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 1

Re: [iText-questions] Joining fields using acroform

2003-04-03 Thread Leonard Rosenthol
At 04:57 PM 4/3/2003 +0300, [EMAIL PROTECTED] wrote: I'm using I-text to merge data into a pdf file using the fdfReader. This works fine, but the problem i'm facing is that it's very slow. i've noticed the same thing, and am looking at where the problem lies...Are you also using flattening

Re: [iText-questions] Joining fields using acroform

2003-04-03 Thread Thomas . Byholm
I'm not flattening anything at that point. But when I tried adding the fields one by one, i tried to comment out only the setfield. Then I realized that it was only this method that was really wasting time in any greater extent. I used a hashmap containing fieldsname and fieldvalue pairs and set

RE: [iText-questions] Joining fields using acroform

2003-04-03 Thread Paulo Soares
>From what you say it takes 15 seconds to read a document, set 40 fields and write the document back to disk. In pdf there's always lots of work to do to keep the structure. I'm sure that a dedicated C program would be faster. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL

[iText-questions] Joining fields using acroform

2003-04-03 Thread Thomas . Byholm
Hello, I'm using I-text to merge data into a pdf file using the fdfReader. This works fine, but the problem i'm facing is that it's very slow. I have to add probably around 40 textfields each intto around 4 documents, which tends to last for over a minute, which can be a problem in an interactiv

Re: [iText-questions] Problems con RTFs

2003-04-03 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 02 April 2003 17:54, marcelo galbiati wrote: > I see I am not the one with problemi with RTFs. Also problems with tables > in RTFs that have different appearence in differents computers: in some > computers more big that page, is a bug? Th

[iText-questions] Table Background and Templates

2003-04-03 Thread Michael Puetz
Hi List! I create a PDF with an Template as the Background (contains one large image!). I have Problems with the Table Background Color of the Page Content. Adding a Table and a Border for ths is no problem. But i can not change the Background Color of this Table/Cell etc.! To get the COntentByt

RE: [iText-questions] Scale to pagesize

2003-04-03 Thread Paulo Soares
The order of the matrix calculations are: 1 - translate 2 - rotate 3 - scale You are scaling the translation as it should be. Probably a class like the AffineTransform should exist to ease this calculations. Best Regards, Paulo Soares > -Original Message- > From: David Nielsen [SMTP:[EM

RE: [iText-questions] Problems con RTFs

2003-04-03 Thread marcelo galbiati
OK, with punctuation can be due to configuration or different versions of viewers, but in the case of tables I think it doesn't depend on the viewer. I tried out the example given by Cesare and I observe what he says: if i just use only two table, really simple ones, I can't insert them in two dif

RE: [iText-questions] Scale to pagesize

2003-04-03 Thread David Nielsen
i found out that if i use this: float translateHight = ((newPageHeight-origPageHeight)/2)/10; float translateWidth = ((newPageWidth-origPageWidth)/2)/10; and change: cb.addTemplate(page, -(newPageWidth/origPageWidth), 0, 0, -(newPageHeight/origPageHeight), 0, 0); to cb.addTemplate(page, -(newPag

RE: [iText-questions] Page rotation

2003-04-03 Thread David Nielsen
cb.addTemplate(template, 0, 1, -1, 0, pageWidth, pageHeight); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mirko Sertic Sent: 3. april 2003 10:19 To: [EMAIL PROTECTED] Subject: [iText-questions] Page rotation Hello there ! i'm searching for a way to

[iText-questions] Page rotation

2003-04-03 Thread Mirko Sertic
Hello there ! i'm searching for a way to parse an existing pdf and rotate each page by 90 degrees. The output should be a new pdf. Can this be done ? Is there an example available ? Thanks a lot. Mirko Sertic --- This SF.net email is sponso

[iText-questions] Scale to pagesize

2003-04-03 Thread David Nielsen
Why does this place the imported page outside the new page.. the imported page is: 748,6 hight and 559,8 wide. public String scaleToForm(String oldFileName, String scaledFile) { try { PdfReader reader = new PdfReader(oldFileName);

[iText-questions] open document with 100% zoom

2003-04-03 Thread Externo
Hello, I don´t know how force to document open at 100% zoom. It's possible? Thanks --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for

Re: [iText-questions] page break

2003-04-03 Thread Bruno
Quoting Rachel Jourdan <[EMAIL PROTECTED]>: > > Hello, > > I am trying to add a page break to the document using: document.newPage(). > It is not working correctly, a new page is only being added to the beginning > of the pdf. Any suggestions? Or you are constructing a large Table (1), or yo

Re: [iText-questions] itext without java.awt package

2003-04-03 Thread Bruno
Quoting nitin jengte <[EMAIL PROTECTED]>: > Hi > > B'cos of some security constraints I can't use java.awt classes on my > production servers. So is there any way I can still use itext. Is there > another version of itext which doesn't use java.awt classes. Most of the iText library doesn't us

[iText-questions] RTF / Setting the style of paragraph

2003-04-03 Thread Eyetex Noobie
Hello everybody, I'm working on a RTF document generator (using iText, which is great), and I would need to create the paragraph titles with the RTF's STYLE-setting instead of just changing the font. My current RTF generator creates a very nice looking RTF but the "style" of the whole document is

Re: [iText-questions] More difficulties with RTFs

2003-04-03 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 02 April 2003 16:26, Cesar Vivero Lopez wrote: > I attach the java file with i tested this problem and the two RTF generated > in two PCs with the same configuration. I have opened both files on my computer and they both show the correct

[iText-questions] page break

2003-04-03 Thread Rachel Jourdan
Hello, I am trying to add a page break to the document using: document.newPage().  It is not working correctly, a new page is only being added to the beginning of the pdf.  Any suggestions?  Thanks, RachelDo you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more

[iText-questions] itext without java.awt package

2003-04-03 Thread nitin jengte
Hi B'cos of some security constraints I can't use java.awt classes on my production servers. So is there any way I can still use itext. Is there another version of itext which doesn't use java.awt classes. Thank you all in advance Regards Nitin