Re: [iText-questions] Reading and Extracting Text from PDF

2006-02-15 Thread Bruno Lowagie
Mark Storer wrote: The problems with extracting text from some PDF found in the wild are as follows That was a very good summary of all the problems one encounters when trying to convert a PDF file to plain text! It explains why I don't promote the use of the solution I have sent earlier: br,

Re: [iText-questions] Splitting PdfPTable at absolute positions

2006-02-15 Thread Bruno Lowagie
David Woosley wrote: I need to create a PdfPTable that spans the bottom half of continuous pages. The top half of each page will contain different fields that are easily filled using a stamper. The table will contain cells with multi-line text, so I can't predict the height of each row. Bef

Re: [iText-questions] rotate a PdfPCell ??

2006-02-15 Thread Bruno Lowagie
Gaet wrote: maybe I have be banned of the list? No, you weren't banned ;-) Maybe you could answer me quickly : Hi, Is there a methode to get the width of a PdfPCell ? That depends on the way you create your table. Sometimes you just create a dimensionless table and add it to the page.

[iText-questions] a question about field.

2006-02-15 Thread ccc zzzzqqqq
hi,I want to set the font of a field to Bold.Here is some of my program : …… stamp = new PdfStamper(reader, fileName); AcroFields fields = stamp.getAcroFields(); BaseFont baseFont = BaseFont.createFont("KozMinPro-Regular", "UniJIS-UCS2-H",

[iText-questions] Comparison with PDFBox

2006-02-15 Thread Peter West
Bruno or Paulo, Could you comment on similarities and differences between iText and PDFBox? I have been asked to assess the two as possible PDF generation libraries. Note that the emphasis for the work at hand is generation. Thanks Peter

Re: [iText-questions] Comparison with PDFBox

2006-02-15 Thread Bruno Lowagie
Peter West wrote: Bruno or Paulo, Could you comment on similarities and differences between iText and PDFBox? I have been asked to assess the two as possible PDF generation libraries. Note that the emphasis for the work at hand is generation. I have never used PDFBox. I have set the produ

Re: [iText-questions] Comparison with PDFBox

2006-02-15 Thread Peter West
Bruno Lowagie wrote: Peter West wrote: Bruno or Paulo, Could you comment on similarities and differences between iText and PDFBox? I have been asked to assess the two as possible PDF generation libraries. Note that the emphasis for the work at hand is generation. I have never used PDFBox

Re: [iText-questions] Reading and Extracting Text from PDF

2006-02-15 Thread Leonard Rosenthol
At 05:39 PM 2/14/2006, Richard Braman wrote: I have a open source project that is attempting to structure IRS produced documents such as publications and instructions and parse out data that is critical to building tax software. Use either PDFBox or JPEDAL. Leonard --

Re: [iText-questions] Comparison with PDFBox

2006-02-15 Thread Leonard Rosenthol
At 05:37 AM 2/15/2006, Peter West wrote: Could you comment on similarities and differences between iText and PDFBox? I have been asked to assess the two as possible PDF generation libraries. Note that the emphasis for the work at hand is generation. iText is a PDF Generation and Modi

Re: [iText-questions] Comparison with PDFBox

2006-02-15 Thread Peter West
Leonard Rosenthol wrote: At 05:37 AM 2/15/2006, Peter West wrote: Could you comment on similarities and differences between iText and PDFBox? I have been asked to assess the two as possible PDF generation libraries. Note that the emphasis for the work at hand is generation. iText is

[iText-questions] slow pdf generation under redhat es4

2006-02-15 Thread Stephan Hendl
Hi folks, we use the same itext implementation on two different linux systems. One system is based on a pc hardware running debian and the other one (the slower) is a hp proLiant blade server with two cpus and 4 gb ram running redhat es4. In my imagination the server should be faster than the p

Re: [iText-questions] slow pdf generation under redhat es4

2006-02-15 Thread Bruno Lowagie
Stephan Hendl wrote: Does anybody know what the problem could be? Does itext uses additional operating system libraries like font-libraries, shared libraries, graphic drivers and so on? Some questions: Are you using (Pdf)Graphics2D in your application? Are you using java.awt.Image in your ap

[iText-questions] creating a clickable TOC for merged PDFs

2006-02-15 Thread Marc Stein
I have searched the archives and found a few references to a critical problem I am having but I could not find a clear answer – any help would be much appreciated.   I am using iText to create a single PDF by merging a number of PDFs using PDFCopy.  I need to create a TOC (not bookmarks)

RE: [iText-questions] creating a clickable TOC for merged PDFs

2006-02-15 Thread Paulo Soares
Merge the docs with PdfCopy. Use PdfStamper to insert blank pages and write the TOC. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marc Stein > Sent: Wednesday, February 15, 2006 3:44 PM > To: itext-questions@lists.sourceforge.net > Subject: [i

Re: [iText-questions] creating a clickable TOC for merged PDFs

2006-02-15 Thread Bruno Lowagie
Marc Stein wrote: I am using iText to create a single PDF by merging a number of PDFs using PDFCopy. I need to create a TOC (not bookmarks) at the beginning of this document with clickable links to the first pages of each of the source PDFs In this case I would concatenate the PDFs using

[iText-questions] Re: creating a clickable TOC for merged PDFs

2006-02-15 Thread Bruno Lowagie
Paulo Soares wrote: Merge the docs with PdfCopy. Use PdfStamper to insert blank pages and write the TOC. That may even be a better solution ;-) br, Bruno --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for pr

[iText-questions] concatenate pdf-docs with chapters and sections

2006-02-15 Thread Michael Schuldt
Hello, I've got a problem getting the following to work: - several pdf-documents should be concatenated together in one new document. By using the example code I got it to work. Everythings fine. - Several documents should be put together in a chapter and each document should be a single section

Re: [iText-questions] concatenate pdf-docs with chapters and sections

2006-02-15 Thread Bruno Lowagie
Michael Schuldt wrote: Hello, I've got a problem getting the following to work: - several pdf-documents should be concatenated together in one new document. By using the example code I got it to work. Everythings fine. - Several documents should be put together in a chapter and each document s

[iText-questions] PdfReader.getPageSizeWithRotation(intPageNum) Rotation value with Merged Pdfs

2006-02-15 Thread Jordan S. Jones
Hello, I am currently using the PdfWriter / PdfReader for merging existing Pdf documents, the process that is discussed frequently on the list. This is working fine for me, however 1 requirement that I have for my project is, I have to fit all merged pages into a standard orientation (Portrai

[iText-questions] Fw: Encrypt Documents using Digital ID/Certificate

2006-02-15 Thread Kevin Blackman (.COM)
Dear Bruno, Paulo,   iText does not seem to currently implement functions to encrypt documents for certain identities using digital certificates, is this correct ?   The objective would be to apply certificate security to a document such that only holders of particular digital certificates

RE: [iText-questions] Splitting PdfPTable at absolute positions

2006-02-15 Thread David Woosley
Bruno, As I stated, the all parts of the table will flow across the bottom half of many pages. In other words, the table starts on the bottom half of page one, continues on the bottom half of page two, and so forth. Thanks. David -Original Message- From: Bruno Lowagie [mailto:[EMAIL

[iText-questions] Jasper vs ITEXT

2006-02-15 Thread Rumpa Giri
So JASPER is another layer of abstraction on top of ITEXT. Actually we got legacy code that we are dealing with and it used JASPER. We do have the tool iReport to create reports etc, but using the tool forces us to create plenty of data structure to populate the report fields. may be we are unable

Re: [iText-questions] Fw: Encrypt Documents using Digital ID/Certificate

2006-02-15 Thread Leonard Rosenthol
At 11:46 AM 2/15/2006, Kevin Blackman (.COM) wrote: iText does not seem to currently implement functions to encrypt documents for certain identities using digital certificates, is this correct ? Correct. If the feature is not implemented have you considered doing so? Yes, b

[iText-questions] send pdf straight to printer

2006-02-15 Thread Dennis Bekkering
Hello,Is it at all possible to send pdf directly to a printer?regards,Dennis

RE: [iText-questions] Reading and Extracting Text from PDF

2006-02-15 Thread Mark Storer
Going by that particular output sample, you should be able to parse out the text relatively easily. Anything between '(' and ')' is text (note that there are several escapes that can be used, see the PDF Reference on the String object for more details). "T*" and "TD" are the PDF equivalent of

[iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Chris Utt
Guys (And Gals), Is it possible to use Itext to create thumbnails of existing PDF's? I want to be able to load a PDF and convert the first page of a PDF into a bitmap, jpg preferably but any bitmap will do. I've looked over most of the site and haven't found where anyone mentions saving a file to

Re: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Leonard Rosenthol
At 02:04 PM 2/15/2006, Chris Utt wrote: Is it possible to use Itext to create thumbnails of existing PDF's? No. Look at other solutions such as JPEDAL or PSServices. Leonard --- Leonard Rosenthol

Re: [iText-questions] send pdf straight to printer

2006-02-15 Thread Leonard Rosenthol
At 12:59 PM 2/15/2006, Dennis Bekkering wrote: Is it at all possible to send pdf directly to a printer? Sure, provided that you have a printer that supports that feature. Leonard --- Leonard Rosenthol

RE: [iText-questions] Reading and Extracting Text from PDF

2006-02-15 Thread Richard Braman
I am a little confused by this snippet. Where are you getting the steam from? I know it's a PR Stream, but which contructor do you use to create the PRStream? There must be some code before this. -Original Message- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: Wednesday, February

RE: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Richard Braman
Jpedal doesn't put many of its features into its GPL version. Two examples are text extraction and PDF form utils. I used Jpedal to extract each pdf page as a PNG file (with some scaling) and they came out grainy. I asked about it on this list, figuring some one might have some knowledge of extrac

RE: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Leonard Rosenthol
At 02:21 PM 2/15/2006, Richard Braman wrote: Jpedal doesn't put many of its features into its GPL version. That's true, but totally understandable as Mark needs to support his family... Perhaps, if you offered to pay him something to have a custom version built for your need

Antw: Re: [iText-questions] slow pdf generation under redhat es4

2006-02-15 Thread Stephan Hendl
Hi bruno, we use the method com.lowagie.text.Image gif = com.lowagie.text.Image.getInstance(urlstring); other classes of the packet java.awt are not used. What can you recommend to install in order to get the pdf generation faster? Rgds, Stephan >>> Bruno Lowagie <[EMAIL PROTECTED]> 15.02.06

FW: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Richard Braman
-Original Message- From: Richard Braman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 2:52 PM To: 'Leonard Rosenthol' Subject: RE: [iText-questions] Using Itext to create Thumbnails of PDFS Thanks Leaonard for the help. I am bootstrapping for the moment, so I am kind of

RE: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Bill Ensley
If you send my your code, and any pdf test images you have that come out grainy, I will try it here and see if I can help. -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Braman Sent: Wednesday, February 15, 2006 11:5

[iText-questions] Reusing embedded fonts from a PDF

2006-02-15 Thread Charles de Villiers
Hi, I am using iText 1.3. I am trying to use embedded fonts from a "source" PDF to generate content in a "target" PDF. Here is my effort so far: Document document = null; try { // create a reader for the template PdfReader reader = new PdfReader(sourcePdfDocName); Rectangle

RE: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Richard Braman
Title: Message Bill .  Thanks for the help.  I was trying to make the image 150% of its original size in the PDF at 72 dpi.  The 72 dpi image is too small at 100%, so  I extracted it to 300dpi to make the picture bigger and then I cut the size to 75%.    I guess where you run it does make

RE: [iText-questions] Using Itext to create Thumbnails of PDFS

2006-02-15 Thread Leonard Rosenthol
At 08:07 PM 2/15/2006, Richard Braman wrote: Bill .  Thanks for the help.  I was trying to make the image 150% of its original size in the PDF at 72 dpi.  The 72 dpi image is too small at 100%, so  I extracted it to 300dpi to make the picture bigger and then I cut the size to 75%.    Yo

[iText-questions] Adobe 7.0.7 and SSL and iText

2006-02-15 Thread Trevor
am using Windows XP (fully patched) and have upgraded to 7.0.7 from 7.0.5. I have a web application that runs on Apache and JBOSS using SSL, that generates a pdf file using the iText libraries and this pdf is placed in a jsp page as a HTML Object: The printing is done in javascript: function doP

[iText-questions] Add a transparent PNG image to a page, color of text or background will be changed

2006-02-15 Thread jimmy Liu
hi, I find Add a transparent PNG image to a page, color of text or background will be changed in this page. The test code as follows: import java.awt.Color; import java.io.FileOutputStream; import java.io.IOException; import com.lowagie.text.Chunk; import com.lowagie.text.Document; import com.lo

[iText-questions] ID tag issue with Lulu.com prevents reading pdf

2006-02-15 Thread Larry Schmidlin
When I create a PDF using iText, then upload it to lulu.com, 1) lulu.com will print it correctly. 2) I can't preview it by clicking on their the link to the PDF. In doing a compare of the PDF I uploaded and what lulu.com had, it appears that the only thing it changed was the ID tag line. Here's t