Re: [iText-questions] Creating Customized JAR file of iText for anApplication

2006-10-25 Thread Aaron J Weber
You could try autojar (sourceforge).  I've found it works pretty well -- but when you have any automated tool removing classes from existing jars (and combining them with others), you should make sure to regression-test your classes against the resultant-jar very well in case something was m

Re: [iText-questions] Copying, printing, saving

2006-10-03 Thread Aaron J Weber
If you sign the document, they'll still be ABLE to modify it, but it will invalidate the signature, so you can easily detect the modification and invalidate their version of the document (so to speak).   -AJ - Original Message - From: Gregory Lawson To: itext-questions@

Re: [iText-questions] How to find a text in a PDF file

2006-09-08 Thread Aaron J Weber
I don't think iText has that capability.  Look to pdfbox for something that can help...but you'll have to loop through each page, extract the text, search it, and then break out of the loop when you're satisfied.   I wrote something similar a while back...was wishing I could use iText.   -AJ

Re: [iText-questions] Slightly OT: Does anyone have a way to determine the language or even codepage of a PDF?

2006-07-20 Thread Aaron J Weber
g to have an answer to my question?  Even when all I have is Image [streams] on each page?   Sorry, but I'm still searching for an answer, and I just wanted to clarify your "Sage" advice.   Thanks again for your time. -AJ   - Original Message - From: Leonard Rosentho

Re: [iText-questions] Slightly OT: Does anyone have a way to determine the language or even codepage of a PDF?

2006-07-20 Thread Aaron J Weber
.. :(   Thanks again, AJ   - Original Message - From: Leonard Rosenthol To: Aaron J Weber ; Post all your questions about iText here ; itext-questions@lists.sourceforge.net Sent: Thursday, July 20, 2006 8:43 AM Subject: Re: [iText-questions] Slightly OT: Does

[iText-questions] Slightly OT: Does anyone have a way to determine the language or even codepage of a PDF?

2006-07-19 Thread Aaron J Weber
I basically am trying to filter PDFs to see if they're a non-Latin-based language (Japanese, Korean, Chinese to name a few).   Thanks for any hints/tips/suggestions.   Sorry for the Off-Topic inquiry...there are a lot of "PDF Experts" on this list! :)   -AJ   -

Re: [iText-questions] PDF to Tiff

2006-07-19 Thread Aaron J Weber
AFAIK, the JPedal code requires one of the NON-free versions of the library...at least that's what I ran into when I researched it recently.   -AJ   - Original Message - From: Bill Ensley To: 'Post all your questions about iText here' Sent: Wednesday, July 19, 2006

Re: [iText-questions] get RenderedImage for PDF Page?

2006-06-27 Thread Aaron J Weber
PDFs were).   Thanks, AJ - Original Message - From: Leonard Rosenthol To: Aaron J Weber ; Post all your questions about iText here ; itext-questions@lists.sourceforge.net Sent: Tuesday, June 27, 2006 6:10 PM Subject: Re: [iText-questions] get RenderedImage for PDF Page

[iText-questions] get RenderedImage for PDF Page?

2006-06-27 Thread Aaron J Weber
Sorry, but I'm getting lost in the Javadocs and examples (eagerly awaiting the BOOK!!!)...   Here's the high-level thing:  I have some "Image Only" PDFs.  I want to get a java.awt.image.RenderedImage for each page so I can test some OCR tools (will be happy to share any results, if anyone's

Re: [iText-questions] strange ClassCastException on init?

2006-05-17 Thread Aaron J Weber
I don't think I can post the file (unfortunately), because it may be confidential information.   I _did_ find that I could page thru the document just fine, however, the "creator" has a bookmark that is apparently invalid, because clicking on it causes Acrobat to throw an "invalid document (1

[iText-questions] strange ClassCastException on init?

2006-05-17 Thread Aaron J Weber
I have some code that's been running perfectly for a few months now.  Suddenly we ran into a document (I think) that causes it to crash when I'm trying to load it into a PdfReader!  Never seen this before, and the code has been used on thousands of documents -- 99% of which are created in th

Re: [iText-questions] JPedal undocumented goody

2006-04-03 Thread Aaron J Weber
ht = 1056 #Bands = 3 xOff =0 yOff = 0 dataOffset[0] 0   Thanks, AJ   - Original Message - From: Bill Ensley To: 'Aaron J Weber' ; iText Mail Group Sent: Friday, March 31, 2006 3:12 PM Subject: RE: [iText-questions] JPedal undocumented goody JP

Re: [iText-questions] Filling PDF Forms

2006-03-23 Thread Aaron J Weber
: bruno To: Aaron J Weber Cc: itext-questions@lists.sourceforge.net Sent: Thursday, March 23, 2006 3:01 AM Subject: Re: [iText-questions] Filling PDF Forms Aaron J Weber wrote:> Does anyone have any example java illustrating the filling of PDF Forms?First a clarificatio

[iText-questions] Filling PDF Forms

2006-03-22 Thread Aaron J Weber
Excuse me in advance for the question that I'm sure has been asked, but I couldn't find...   Does anyone have any example java illustrating the filling of PDF Forms?  I thought I saw some, but lost it.  I see that the "iText by Example" has still left that to be filled-in (the rest of that w

[iText-questions] convert annotations to FDF

2006-03-01 Thread Aaron J Weber
I have some PDF files that are strictly Annot objects -- they're otherwise-blank files that just store the annots in the exact same coordinates as they should appear on the original PDF; we copy them back and forth to the original PDF to display them as necessary.   Anyway, I'd like to conver

[iText-questions] Watermarks and 'under-content'

2006-02-06 Thread Aaron J Weber
I'm finding that if I try to watermark a scanned document (that is "Image+Text"), and use the sample program, the watermark-image never appears.  However, if I change it to put the watermark in the "over-byte-content", it'll appear, but obscure the text "under it" at that point.   Am I corre

Re: [iText-questions] PDF to PNG (or JPEG)

2006-01-31 Thread Aaron J Weber
Use ImageMagick or GhostScript, though I haven't found great settings when you want to scale it down (i.e. a thumbnail).  It gets blurry really fast.   -AJ   - Original Message - From: Yann mL To: itext-questions@lists.sourceforge.net Sent: Tuesday, January 31, 2006 1

Re: [iText-questions] ImageMajick

2006-01-26 Thread Aaron J Weber
rom: Leonard Rosenthol To: Aaron J Weber ; Bill Ensley ; iText Mail Group Sent: Thursday, January 26, 2006 5:38 PM Subject: Re: [iText-questions] ImageMajick At 04:57 PM 1/26/2006, Aaron J Weber wrote:>On a side-note to that, I was playing with ImageMajick a while

Re: [iText-questions] ImageMajick

2006-01-26 Thread Aaron J Weber
I'd like to hear what you find.   On a side-note to that, I was playing with ImageMajick a while back trying to convert the first page of a PDF into a decent thumbnail.  I found that I couldn't get the resolution to the clarity I desired.  Would like to hear if you find some settings that you

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 Web

[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

[iText-questions] how can i simply check if a PDF contains Searchable Text?

2006-01-24 Thread Aaron J Weber
I need to workaround a known Acrobat Capture issue where it fails to OCR a PDF (even after it's converted to TIFF?) if the PDF already contains text (i.e. is not a PDF-Image-Only document).   Since I'm batch-processing, I don't have the luxury of opening each document and trying to select som

[iText-questions] Fw: using PageEvents with PdfCopy class?

2006-01-17 Thread Aaron J Weber
Was trying to use PageEvents with PdfCopy instead of PdfWriter.  However, the events seem to be fired when reading from the source PDF, and not when writing to the target PDF.  Specifically, I see the onStartPage() called on PdfCopy.getImportedPage(), when I'd like it to be called on PdfCopy

Re: [iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-17 Thread Aaron J Weber
(and set the page number appropriately in the bookmark)?   But the second question still nags: Will this mess-up any inherent numbering in the existing bookmarks?  How do I specify that my new bookmark should be at the root of the outline?   Thanks again! -AJ - Original Message - Fro

[iText-questions] simply add a bookmark at the root of new PDF for each concat'ed document?

2006-01-16 Thread Aaron J Weber
This has got to be an easy one for all you iText "Pros" out there!   I'm looking at the "iText by Example", Concatenate.java file.  What I think would be stellar would be if we could (optionally) add a bookmark at the root of the outline that has a destination of the first page of the concat