Re: [iText-questions] Editing PDF Stream

2008-11-05 Thread 1T3XT info
Bertrand GILLIS wrote: > Dear All, > > I've got an uncompressed PDF document. > On each page of this document, I need to remove a specific text. Bad requirement. You're on your own if you try this. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info --

[iText-questions] Editing PDF Stream

2008-11-05 Thread Bertrand GILLIS
Dear All, I've got an uncompressed PDF document. On each page of this document, I need to remove a specific text. Let's say I would like to remove the text "Please remove this text" on each page. This text is easy to locate with the following commands within the PDF Stream : q BT /X

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
Rewrite = new ReadAndRewrite(); > readAndRewrite.convert(); > } > } > > Thanks, > Doug > ____ > > Carl Zeiss Meditec, Inc. > Research and Development > Senior Staff Software Engineer > 5160 Hacienda Drive > Dublin, CA 94568 >

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
MAIL PROTECTED] wrote on 10/17/2008 10:23:33 AM: > > > > -Original Message- > > From: Lim, Doug [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 17, 2008 5:38 PM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions]

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Paulo Soares
> -Original Message- > From: Lim, Doug [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 5:38 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Editing PDF Stream > > > So I would create and use a PdfWriter instead

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
nt: Friday, October 17, 2008 2:07 AM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions] Editing PDF Stream > > > > > > I think I figured out what my problem is. After I tokenize > > the commands I figure out which ones I w

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Paulo Soares
Use PdfObject.toPdf() to output the object. Paulo > -Original Message- > From: Lim, Doug [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 2:07 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Editing PDF Stream > > &g

Re: [iText-questions] Editing PDF Stream

2008-10-16 Thread Lim, Doug
> log(Level.SEVERE, null, ex); > } > } > > public static void main(String args[]) { > ReadAndRewrite readAndRewrite = new ReadAndRewrite(); > readAndRewrite.convert(); > } > } > > - Original Message - > > You'll

Re: [iText-questions] Editing PDF Stream

2008-10-16 Thread Lim, Doug
Yes, it certainly does. The embedded reader is being done by another group to which I have submitted a fix, so that has been handled. The other problem is that another part of our product is producing PDF through a reporting tool, which we don't have control over, that is not strictly PDF com

Re: [iText-questions] Editing PDF Stream

2008-10-16 Thread Lim, Doug
nt() and PdfContentParser. Paulo - Original Message - From: "Lim, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2008 1:54 AM Subject: [iText-questions] Editing PDF Stream Hi, I will apologize up-front. I am a complete newbie to iTex

Re: [iText-questions] Editing PDF Stream

2008-10-12 Thread Leonard Rosenthol
Wouldn't it make more sense to improve/fix the embedded Reader? Leonard On Oct 10, 2008, at 8:54 PM, Lim, Doug wrote: Hi, I will apologize up-front. I am a complete newbie to iText and PDF files. The problem I am trying to solve is that I have a bunch of PDF files that are incorrectly

Re: [iText-questions] Editing PDF Stream

2008-10-12 Thread Paulo Soares
You'll need PdfStamper for the output, PdfReader.getPageContent(), PdfReader.setPageContent() and PdfContentParser. Paulo - Original Message - From: "Lim, Doug" <[EMAIL PROTECTED]> To: Sent: Saturday, October 11, 2008 1:54 AM Subject: [iText-questions] Editing

[iText-questions] Editing PDF Stream

2008-10-12 Thread Lim, Doug
Hi, I will apologize up-front. I am a complete newbie to iText and PDF files. The problem I am trying to solve is that I have a bunch of PDF files that are incorrectly formed. They can be read and viewed by Adobe Reader 9, but not by our embedded PDF reader. The error in the PDF file can be