Re: [iText-questions] Still able to copy text under stamp.

2009-02-19 Thread 1T3XT info
Ryan Moser wrote: > I'll try to clear up what i need to do and hopefully you can steer me in the > right direction. Your requirement is still not clear. You want to cover 2/3 of a page with a blank rectangle? That's possible. But: if the covered text isn't a scanned image, people will be able

Re: [iText-questions] Query RandomAccessFileOrArray

2009-02-19 Thread 1T3XT info
answers solutions wrote: > is there any way can i delete that image Only if you change the way the RandomAccessFileOrArray is created. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread 1T3XT info
mandar.jagtap wrote: > That's right...Thanks a ton for the suggestions...I would like to fix that > bug in iText to add the screen annotation on page-number other than...where > and how can I trace it and fix. I will try it definately if I can... or your > help will do things very much easy for me.

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread mandar.jagtap
That's right...Thanks a ton for the suggestions...I would like to fix that bug in iText to add the screen annotation on page-number other than...where and how can I trace it and fix. I will try it definately if I can... or your help will do things very much easy for me...I am using iText 2.1.4.

Re: [iText-questions] Still able to copy text under stamp.

2009-02-19 Thread Ryan Moser
Thanks for the reply. I'll try to clear up what i need to do and hopefully you can steer me in the right direciton. I guess it is technically readaction, but its a fixed area of the page for all the documents i input. I just want the botton 2/3rd's of the page redacted then add a stamp on top

[iText-questions] Query RandomAccessFileOrArray

2009-02-19 Thread answers solutions
Hi I have opened a File through RandomAccessFileOrArray RandomAccessFileOrArray ra = *new* RandomAccessFileOrArray( "C:\\MFP\\tifFiles\\docScan_1235049151076.mtiff"); *int* pages = TiffImage.*getNumberOfPages*(ra); *for* (*int* j = 0; j < pages;) { ++j; document.add(TiffImage.*getTiffImag

Re: [iText-questions] Still able to copy text under stamp.

2009-02-19 Thread Leonard Rosenthol
If what you are trying to accomplish is redaction, you are going about it ALL WRONG! -Original Message- From: Ryan Moser [mailto:r...@whack.org] Sent: Thursday, February 19, 2009 5:21 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Still able to copy text under st

[iText-questions] Still able to copy text under stamp.

2009-02-19 Thread Ryan Moser
I'm trying to apply a stamp to pdf documents in order to make the text under not visable (or able to copy) for a preview. I have no problem applying the stamp to the documents. The problem is with the pdf docs that you are able to copy the text (ie. all non-scanned pdfs) you can just copy the te

Re: [iText-questions] HTMLWorker.startElement : IMG w/o align treated far differently than with align

2009-02-19 Thread 1T3XT info
Steve Carrow wrote: > Here's the offending auto-generated snippet, part of what I'm trying to > convert: > >   width="645" alt="" src="/images/Image/TOM3.JPG" /> > > The thing is, if I add a (deprecated) "align" attribute to the IMG, then > the image shows in the document; without that align, i

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread 1T3XT info
Mike Ferrando wrote: > mandar.jagtap, > Here is some code I wrote based on the iText examples. > > I am pretty sure if you use PdfReader and PdfStamper you will keep all > your bookmarks, etc. Correct, but the problem the OP was experiencing, was that he needed to add annotations, but due to a

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread Mike Ferrando
mandar.jagtap, Here is some code I wrote based on the iText examples. I am pretty sure if you use PdfReader and PdfStamper you will keep all your bookmarks, etc. but you have to extract them from the reader and add them to the stamper. I have tested this with success on PDFs rendered from FOP,

Re: [iText-questions] How to extract Tags from a tagged pdf file?

2009-02-19 Thread 1T3XT info
prasannab...@aim.com wrote: > What classes I can use to extract the tags? I tried but couldn't? You should read chapter 18 of the book "iText in Action". http://www.1t3xt.com/docs/book.php -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

[iText-questions] How to extract Tags from a tagged pdf file?

2009-02-19 Thread prasannabale
What classess I can use to extract the tags? I tried but couldn't? Thanks, Pbale -- next part -- An HTML attachment was scrubbed... -- Message: 4 Date: Wed, 18 Feb 2009 10:56:47 -0800 From: Leonard Rosenthol Subject: Re: [iText-questions]

Re: [iText-questions] Ouery RandomAccessFileOrArray

2009-02-19 Thread 1T3XT info
answers solutions wrote: > please let me know as soon possible Dear Hari Bhogu, You're the one with the mail address "fast solutions", not we. How much do you charge for a fast solution? Message to the other readers on the list: sorry for this noise. I won't repeat this sermon: http://www.nabble.

Re: [iText-questions] PDF/A compliance

2009-02-19 Thread Leonard Rosenthol
Got it. As Michael explained so well earlier - see < http://www.nabble.com/Re%3A-Unrecognized-PDF-content%3A-The-document%09contains-PDF-content-or-custom-content-not-supported-by-the%09current-version-of-Adobe-Reader.-p20375513.html> Leonard On 2/19/09 9:38 AM, "amarianoelaide" wrote: ope

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread 1T3XT info
mandar.jagtap wrote: > Can we preserve the cross-references, bookmarks, toc if we use PdfCopy and > Pdfwriter together? No, but there are alternatives. > If so could give a hint on that as per following code? I > already tried with PdfStamper. It doesn't work for page-number other than 1. It's a

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread mandar.jagtap
Can we preserve the cross-references, bookmarks, toc if we use PdfCopy and Pdfwriter together? If so could give a hint on that as per following code? I alreday tried with PdfStamper. It doesn't work for page-number other than 1. mandar.jagtap wrote: > > I need to copy the entire pdf document as

Re: [iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread 1T3XT info
mandar.jagtap wrote: > I need to copy the entire pdf document as it is to the target pdf and also > need to stamp some media objects to particular location in pdf document. Use PdfCopy and/or PdfStamper, with PdfWriter, it's normal that you loose all cross-references (links in bookmarks, toc and

Re: [iText-questions] PDF/A compliance

2009-02-19 Thread amarianoelaide
open file with acro 9. third tab on the left - "Signatures: verify signatures added to this document" click on "Click to view this version", then on View report and you see the code 4000 Leonard Rosenthol-3 wrote: > > WHAT operation are you doing to get the 4000? That is part of the > "Signat

[iText-questions] Need to importpage to target pdf alongwith all the cross-references in existing pdf file

2009-02-19 Thread mandar.jagtap
I need to copy the entire pdf document as it is to the target pdf and also need to stamp some media objects to particular location in pdf document. I can copy the entire content as it is but all the cross-references ( links in bookmarks, toc and normal xrefs) are lost somehow. Could somebody help

[iText-questions] Ouery RandomAccessFileOrArray

2009-02-19 Thread answers solutions
Hi I have opened a File through RandomAccessFileOrArray RandomAccessFileOrArray ra = *new* RandomAccessFileOrArray( "C:\\MFP\\tifFiles\\docScan_1235049151076.mtiff"); *int* pages = TiffImage.*getNumberOfPages*(ra); *for* (*int* j = 0; j < pages;) { ++j; document.add(TiffImage.*getTiffImag

Re: [iText-questions] PDF/A compliance

2009-02-19 Thread mkl
You can also see these numbers when inspecting the signature properties. On the last tab there is a button to show the integrity properties of the document ("Integritätseigenschaften des Dokuments anzeigen..." in German). If you trigger it you are presented those numbers. Regards, Michael. -

Re: [iText-questions] PDF/A compliance

2009-02-19 Thread Leonard Rosenthol
WHAT operation are you doing to get the 4000? That is part of the "Signature Preview Mode" which isn't invoked normally - so wondering why you are seeing it... Leonard On 2/19/09 5:22 AM, "amarianoelaide" wrote: Thank you all. I follow your suggestions and now I don't have problem about p

Re: [iText-questions] PdfAnnotation of specified page not working...

2009-02-19 Thread 1T3XT info
Mandar Jagtap wrote: > Hi All, > > I just wanted to know, if anyone got a chance to have a look at this > thread below? It's a bug in iText, the /P key is wrong when an annotation is added. You'll have to wait till somebody fixes the bug. -- This answer is provided by 1T3XT BVBA http://www.1t3xt

Re: [iText-questions] Chapter/ Sections without any prefix

2009-02-19 Thread 1T3XT info
Cool The Breezer wrote: > I am looking to create a chapter/section without any prefix. I was going > through the archive and realized that its not possible. Try chapter.setNumberDepth(0); > The only benefit for me to use Chapter is it appears in bookmark > automatically. Is is possible to do th

Re: [iText-questions] Concerning fields on PDF forms

2009-02-19 Thread 1T3XT info
steve poling wrote: > Consider that SignedBy field. It holds the same information as FromName, > and its stupid to ask for the same information twice. This is satisfied > by two text fields named FromName near the upper left hand corner of the > page and near the bottom of the page. This is less

Re: [iText-questions] questions on paragraph heading and opening the PDF in a new window

2009-02-19 Thread 1T3XT info
Linda Jyothis S wrote: > 1) How can I open the PDF in a new window( clicking the link will > take the control to a Request handler java class- RAD 7.0) What window? Browser window or PDF Viewer window? Internet app [1] or standalone app [2]. If [1], it's not a PDF/iText issue. If [2], you ma

Re: [iText-questions] iText bug on PdfString encoding

2009-02-19 Thread 1T3XT info
Yu Chen wrote: > The code that can reproduce the bug is attached. I couldn't reproduce the problem. See attached screenshot. Note that I'm using the iText version that is in the SVN repository. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info <>--

Re: [iText-questions] Operation Not Supported

2009-02-19 Thread 1T3XT info
Kichline, Don (Penske) wrote: > I then jar my application up and transfer the jar to an iSeries > (AS/400), version V5R3. I receive the following error when I attempt to > run my program: > > java.io.IOException: Operation not supported. Map failed This is not an iText problem. Have a look at:

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-19 Thread 1T3XT info
Billy Anachronism wrote: > I'm currently using a work-around to pdfstamp the document, then > re-open it and select the pages. This works but seems unnecessarily > inefficient I didn't understand the problem (I still don't after reading the original mail), but I'm happy to see that you've found a

Re: [iText-questions] NewLine added after doc.Add (table)

2009-02-19 Thread 1T3XT info
Anders Thomsen wrote: > Using ItextSharp: > > When adding a table, paragraph etc. to a document using doc.Add(), I > believe a new line is added after the added object. Yes, and this can trigger an internal document.newPage(); > This gives me a > problem when adding a table that just small enoug

Re: [iText-questions] Getting ttf file from font name

2009-02-19 Thread 1T3XT info
quam-usp wrote: > Hello everybody, > I think than the subject is clear. I wanna create a BaseFont for a new text, > and I have the font name from a field, but don't know how to get the ttf of > this font. > Any idea? Search the hard drive for TTFs with a similar name (see chapters 8 and 9 of the b

Re: [iText-questions] usage of iText

2009-02-19 Thread 1T3XT info
Venkatraman, Srikumar IN BOM SISL wrote: > Also I would be using Crème (PDA based version of Java) 3.4.2 for > running applications on the PDA’s. You'll need to take the iText source and compile it in the same environment of your JRE. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.co

Re: [iText-questions] How can I get the font in my PDF to be Arial

2009-02-19 Thread 1T3XT info
David Thielen wrote: > Hi; > > > > Ok, I’ve read through Chapter 8 again. And I’ve come up with the > following 2 approaches to get a font for text I write to the PDF: > > FontFactory.getFont(“Arial”, BaseFont.IDENTITY_H, false, 12.0, 0); > FontFactory.getFont(“Arial”, BaseFont.IDENTITY_H, tr

Re: [iText-questions] Why something like ArabicLigaturizer will not work for Indian Scripts like Hindi , Tamil and Others.

2009-02-19 Thread Paulo Soares
> -Original Message- > From: RKVS Raman [mailto:rkvsra...@gmail.com] > Sent: Thursday, February 19, 2009 10:50 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Why something like > ArabicLigaturizer will not work for Indian Scripts like Hindi > , Tamil a

Re: [iText-questions] PDF/A compliance

2009-02-19 Thread amarianoelaide
Thank you all. I follow your suggestions and now I don't have problem about pdf/a compliance. But the error 4000 still remains. I sent you my new file. Could be a signature problem? Thanks for your help. http://www.nabble.com/file/p22097489/signed_pdf.pdf signed_pdf.pdf -- View this message in

Re: [iText-questions] Why something like ArabicLigaturizer will not work for Indian Scripts like Hindi , Tamil and Others.

2009-02-19 Thread RKVS Raman
On Thu, Feb 19, 2009 at 3:14 PM, Paulo Soares wrote: > I suspect that instead of havind an Hindi ligatutizer it would make more > sense to use the OTF tables in the font. This way, any ligatures in any > languages would work as long as the font supported them. It's an interesting > project but

Re: [iText-questions] Why something like ArabicLigaturizer will not work for Indian Scripts like Hindi , Tamil and Others.

2009-02-19 Thread Paulo Soares
I suspect that instead of havind an Hindi ligatutizer it would make more sense to use the OTF tables in the font. This way, any ligatures in any languages would work as long as the font supported them. It's an interesting project but not really a trivial one. Paulo > -Original Message