[iText-questions] adobe reader crashes on windows shutdown

2006-01-25 Thread S G
i've written an itext java server-side app and it works fine. except when i shut-down windows, there's an exception in acrobat. this does not happen if i do not visit the page that downloads the itext .pdf file. thanks. __ Do You Yahoo!? Tired of

Re: [iText-questions] Positioning of data in fields

2006-01-25 Thread Andy Levy
Just to be clear, I'm not "complaining" - just trying to make sure I have all my facts straight before I tell people we'll have to fiddle with all 50-some PDFs we're working from just to resolve this alignment (to get them all consistent). On 1/25/06, Paulo Soares <[EMAIL PROTECTED]> wrote: > You

[iText-questions] Barcode in a PDFStamper, I'm getting closer ?

2006-01-25 Thread oleole
Hello again, I've made some progress... here is the code: reader = new PdfReader(modelfr, null); ms = new MemoryStream(); stamper = new PdfStamper(reader, ms); // filling form here... Barcode128 shipBarCode = new Barcode128(); // preparing barcode here... Image imgShipBarCode = shipBarCode.Create

Re: [iText-questions] Positioning of data in fields

2006-01-25 Thread Paulo Soares
You should complain to Adobe about that. The layout rules were never in the specifications and Adobe did as it pleased it. Depending on the Acrobat version the field when filled will be in a different position. It's not much but if it's aligned with some static text it will show the offset. --

Re: [iText-questions] Positioning of data in fields

2006-01-25 Thread Andy Levy
We're checking into it now. Does this act globally (all fields), or is it on a per-field basis? If it's global, and we have different versions of Acrobat, this could really get us crossed up, couldn't it? We compile our final PDF from a number of PDFs and FDFs which have been created by several

RE: [iText-questions] PDF Layers

2006-01-25 Thread Paulo Soares
What are "consecutive content byte writes"? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of M.-Leander Reimer > Sent: Wednesday, January 25, 2006 5:57 PM > To: 'itext-questions@lists.sourceforge.net' > Subject: [iText-questions] PDF Layers > > H

Re: [iText-questions] PDF Layers

2006-01-25 Thread Bruno Lowagie
M.-Leander Reimer wrote: Hi there, just a quick question: Just a quick anwer: it depends on how you create your document. br, Bruno --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Dow

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread Leonard Rosenthol
At 11:22 AM 1/25/2006, [EMAIL PROTECTED] wrote: Thanks again Leonard and Bruno . Actually we get pdf with searchable text , already ocr by third party tool . OK... But what does that have to do with blank pages? Now from Itext api , how will i get the image or content text . I wa

[iText-questions] PDF Layers

2006-01-25 Thread M.-Leander Reimer
Hi there, just a quick question: Does iText insert PDf layers when generating a PDF document using consecutive content byte writes? If so, can I avoid this behaviour? Thanks for your feedback! Leander --- This SF.net email is sponsored by

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread ritesh . modi
Thanks again Leonard and Bruno . Actually we get pdf with searchable text , already ocr by third party tool .Now from Itext api , how will i get the image or content text . I was able to get the pdfStream using , contents key from page dictionary . But couldn't get content from the stream . i

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread Bruno Lowagie
Leonard Rosenthol wrote: Sure. First look at the content stream and see if it represents only a single image. If so, then you'll need to decode the image and check each pixel value to see if it is "white". I can already predict the next three questions: 1. how do I decode

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello Leonard, Thanks . What we are looking for is something which seems blank to users when they open it. Scanned pages may be described as blank by human beings, but they aren't blank viewed from the perspective of a machine. iText won't be able to detect blank pag

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread Leonard Rosenthol
At 10:48 AM 1/25/2006, [EMAIL PROTECTED] wrote: Thanks . What we are looking for is something which seems blank to users when they open it. OK. Actually , there is no question of annoataion or field , as these are converted to pdf file from scanned image. So is there any way , we c

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread ritesh . modi
Hello Leonard, Thanks . What we are looking for is something which seems blank to users when they open it. Actually , there is no question of annoataion or field , as these are converted to pdf file from scanned image. So is there any way , we can determine that a page is white image with no s

Re: [iText-questions] Help With reading blank page

2006-01-25 Thread Leonard Rosenthol
At 10:20 AM 1/25/2006, [EMAIL PROTECTED] wrote: We have a requirement , where users scan documents and it comes with some blank pages. We want to remove the blank pages , programmatically before storing it. its difficult to figure how to be sure that a page is blank ? Because the defi

RE: [iText-questions] iText and printing PDF files

2006-01-25 Thread Gosselin, Michael
First, I apologize for the ambiguity. However, your answer was sufficient. I want to print a PDF file on paper as a stand-alone or background job. At least I know that iText is not the tool I need for this project. Thanks, Michael Gosselin > -Original Message- > From: Bruno Lowagie

[iText-questions] Help With reading blank page

2006-01-25 Thread ritesh . modi
Hello ALL , We have a requirement , where users scan documents and it comes with some blank pages. We want to remove the blank pages , programmatically before storing it. its difficult to figure how to be sure that a page is blank ? I read the document , iterate over each page , and on each pa

Re: [iText-questions] Encryption options with iText

2006-01-25 Thread Leonard Rosenthol
At 09:45 AM 1/25/2006, Aaron J Weber wrote: So is there some "more secure" method of leveraging the encryption?   For example, if I DO set a user-password, then encrypt the document, is that "better"? Yes, if you set a user password AND a permissions/owner password, then the only way to

RE: [iText-questions] Encryption options with iText

2006-01-25 Thread Paulo Soares
It's the same. The problem is not the strength of the the key or algorithm but the case that you also provide the key to open the pdf if no user password is set. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Aaron J Weber > Sent: Wednesday, Ja

Re: [iText-questions] Encryption options with iText

2006-01-25 Thread Aaron J Weber
So is there some "more secure" method of leveraging the encryption?   For example, if I DO set a user-password, then encrypt the document, is that "better"?   Thanks for the quick response!-AJ   - Original Message - From: Paulo Soares To: Aaron J Weber ; itext-questions@

Re: [iText-questions] Encryption options with iText

2006-01-25 Thread Leonard Rosenthol
At 09:35 AM 1/25/2006, Aaron J Weber wrote: I've read (and discovered first-hand) that traditionally, encrypting a PDF is pretty weak in the implementation-side of things. That is, it's more of a deterrent than a protection, because it can be fairly-easily defeated. Depending on wh

[iText-questions] Encryption options with iText

2006-01-25 Thread Aaron J Weber
I've read (and discovered first-hand) that traditionally, encrypting a PDF is pretty weak in the implementation-side of things.  That is, it's more of a deterrent than a protection, because it can be fairly-easily defeated.   Can someone verify whether the encrypt methods in iText are any di

RE: [iText-questions] certify a pdf

2006-01-25 Thread Paulo Soares
It's not supported. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of DI (FH) Peter Webel > Sent: Wednesday, January 25, 2006 1:37 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] certify a pdf > > hi out there, > > i

[iText-questions] Setting footer with an image to a pdf

2006-01-25 Thread Bogdan
I create a footer where i put one image, but the image (gif) goes at the top of each page (i tried with small image but same problem). Here is the code: /** * Create the footer for pdf document. * * @return header of document; */ private HeaderF

[iText-questions] certify a pdf

2006-01-25 Thread DI (FH) Peter Webel
hi out there, i have written a server/client application which can sign pdf's on the fly. this system works great. now i want to certiy the pdf, but i didn't found any information about that. can anybody help me, thank, zc master --- This S

[iText-questions] Problems with validating signed PDF

2006-01-25 Thread [EMAIL PROTECTED]
Hi. I'm using your library for signing and validating a signature of a PDF file. All works fine up to one case: A PDF is signed by a certificate and I trust only this certificate and none of the CA or Root-Certs in the chain. In the PDFPKCS7.java you should use the method verifyCertificates as

Re: [iText-questions] how many text lines in a paragraph?

2006-01-25 Thread Bruno Lowagie
mediarché wrote: thank you so much and what about same issue with rtfwriter? There's no such thing as 'defining an exact layout' in RTF. RTF is interpreted by an application such as WordPad, Word,... The number of lines a paragraph will take, depends on the way an RTF file is rendered by the

Re: [iText-questions] (no subject)

2006-01-25 Thread Paulo Soares
Your doc was created with Designer and is not supported. - Original Message - From: "Benny Breiling" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 25, 2006 8:34 AM Subject: [iText-questions] (no subject) Hello! I have a problem by filling a registration-form with iText. My prog

Re: [iText-questions] how many text lines in a paragraph?

2006-01-25 Thread Bruno Lowagie
mediarché wrote: hi all, i need to know the total number of text lines (how many text lines) are present in a paragraph. If the width of your page is infinite, there is only one line in your paragraph. If the width of your page is zero, the number of lines in your paragraph is infinite ;-)

[iText-questions] how many text lines in a paragraph?

2006-01-25 Thread mediarché
hi all, i need to know the total number of text lines (how many text lines) are present in a paragraph. can anyone suggest me the way i can do it? thanx in advance niko --- This SF.net email is sponsored by: Splunk Inc. Do you grep through

Re: [iText-questions] itext TIFF to PDF conversion doesn't work for TIFF files with more than 3 samples per pixel and also for images with 16 bits per sample

2006-01-25 Thread Paulo Soares
The reason for those exceptions is that those types are not supported but that you already knew. There's no workaround. - Original Message - From: "Abhishek Vaidya" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 25, 2006 7:29 AM Subject: [iText-questions] itext TIFF to PDF conversio

[iText-questions] Runtime add table to document

2006-01-25 Thread isha kakodkar
Hi all, I want to dynamically add a table to a document. I add a graphic to a document and a jpeg. Then i do document.add(table). But only the first page of the table shows the graphics and on subsequent pagees,it does not appear.Can anyone please help me on how to bring the graphic on all pag

Re: [iText-questions] iText and printing PDF files

2006-01-25 Thread Bruno Lowagie
Gosselin, Michael wrote: Hello, I am new to iText, and I need to know one simple thing: can I use iText to print a PDF file in the background? If so, how? Your question is ambiguous. If you want to print a PDF file on paper in a background process, the answer is: iText doesn't do printing. I