[iText-questions] How to make Plain ContentsList of a Pdf into a new linked Contents of a Pdf So that a user can go to a specific page By clicking on the Respective link

2007-03-01 Thread rajat bhatnagar
*HI* *I am trying 2 do the following since the last 4 days but did not have success as of now* ** *My Aim: To convert a Plain Index of a PDF File into a Linked index so that on clicking on it the user goes to the specified page * I am tring to do the following 1.Read a PDF From a specified Locat

Re: [iText-questions] bouncy castle provider?

2007-03-01 Thread robert engels
As a follow-up, the bouncy castle jars are very large 1.2 mb, yet seem to only be needed if doing public key encryption, and should not be required for basic old style pdf encryption, yet they are required in order to create ANY encrypted pdf. If the Java encryption services were used, at le

[iText-questions] bouncy castle requirement?

2007-03-01 Thread robert engels
Curious. Why is there a direct dependency on the bouncy castle jars? Can't iText use the standard Java encryption packages (which will locate the needed provider)? Thanks, Robert Engels - Take Surveys. Earn Cash. Influen

Re: [iText-questions] Insert Image in PDF...

2007-03-01 Thread Rick DeFazio
The solution I posted should work if you are using a servlet? >From: Versoft <[EMAIL PROTECTED]> >Reply-To: Post all your questions about iText here > >To: itext-questions@lists.sourceforge.net >Subject: [iText-questions] Insert Image in PDF... >Date: Thu, 1 Mar 2007 09:38:47 -0800 (PST) > > >Hi

[iText-questions] Getting coordinates of an existing field...

2007-03-01 Thread Rick DeFazio
Does anyone know if it is possible to determine the coordinates of an existing signature filed in a PDF? If so any code examples? Thanks! _ http://local.live.com/default.aspx?v=2&cp=43.658648~-79.383962&style=r&lvl=15&tilt=-90&dir=0

Re: [iText-questions] Insert Image in PDF...

2007-03-01 Thread Rick DeFazio
String imagePath = getServletContext().getRealPath("/") + "images" + System.getProperty("file.separator") + "logo.jpg"; >From: Versoft <[EMAIL PROTECTED]> >Reply-To: Post all your questions about iText here > >To: itext-questions@lists.sourceforge.net >Subject: [iText-questions] Insert Image in

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
The getImageFile() is just returning the image file name from the arraylist. So this use the constructor public RandomAccessFileOrArray(String filename) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Lewis, Cory (Genworth)
Out of curiosity, which constructor does this use? (what does getImageFile() return?) ra = new RandomAccessFileOrArray(lLeaf.getImageFile(ii)); > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Thursday, March 01, 2007 2:17 PM

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I dont think closing the file channel relase the file descripter Please have a look at this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4796385 It seems I am experiencing the same. thanks & regards, Milind - Take Sur

[iText-questions] Insert Image in PDF...

2007-03-01 Thread Versoft
Hi Friends, I am using Tomcat for this application and the functionaity requires us to export the contents into PDF. I need to add a image in the PDF which resides in /images. I use the following to export the file... context.setResponseContentType("application/pdf"); context.addResponseHeader("

[iText-questions] Import a part of a page

2007-03-01 Thread mreynard
I'm tying to add to a pdf a part of an other pdf. I found getImportedPage who import a whole page but how can I import just a part of a page? Thanks for your help. Michel - Take Surveys. Earn Cash. Influence the Fu

Re: [iText-questions] Urgent Plz Help....

2007-03-01 Thread 9985645055
Hi.,, Thx for your time., I resolved the exception by changing the JDK version to Latest. the older jdk version rt.jar has not containg some classes sharable by Pja.jar Thanks Srikanth. Stefan Pfingstl-2 wrote: > > You havn't installed X your system. > To use iText start java with thoe option

Re: [iText-questions] timestamping/certifying signature problems

2007-03-01 Thread Moore, Jane
Hi Paulo, Thanks for the reply. I will try using an external signature dictionary to insert the timestamp. Regarding Show Certificate in Adobe, if I do not call setCertify(true), I can see the entire certificate chain when clicking "Show Certificate," so it's not the certificate. I noticed s

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Paulo Soares
Closing the channel closes the file, at least in Windows. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Thursday, March 01, 2007 6:08 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files a

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I mean my class file. So that you can check if I am doing something which causing this issue. As you said RandomAccessFileOrArray.close internally c invoking MappedRandomAccessFile close. You might see the issue if you have continuous running program (on unix). Question ,in the MappedRandomAcces

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Thursday, March 01, 2007 5:29 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed > > I can send you the class file. Please

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I can send you the class file. Please let me know your email addr. thx - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & busi

Re: [iText-questions] timestamping/certifying signature problems

2007-03-01 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Moore, Jane > Sent: Thursday, March 01, 2007 4:57 PM > To: Post all your questions about iText here > Subject: [iText-questions] timestamping/certifying signature problems > > Hi, > > > > Whe

[iText-questions] timestamping/certifying signature problems

2007-03-01 Thread Moore, Jane
Hi, When I sign a .pdf with the following code and open it in Adobe 7.0, I have the following problems: 1) Signature date/time are from the clock on the Signer's computer (so the timestamping functionality isn't being applied) 2) I can't "Show Certificate" 3) I get "Error during signatur

Re: [iText-questions] RSA blind signature scheme and iTextSharp

2007-03-01 Thread Paulo Soares
Those files are in the BouncyCastle CVS, I'm not adding or removing anything. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paúl Santapau > Sent: Thursday, March 01, 2007 1:50 PM > To: itext-questions@lists.sourceforge.net > Subject: [iT

Re: [iText-questions] Signatures with SHA256

2007-03-01 Thread Paulo Soares
You can use an external signature. Now that the bouncycastle libraries are required I'm modifying PdfPKCS7.java to use the existing crypto libraries to do all the work including decoding all the algorithm types. When it's ready it will be easier to use other algorithms. Paulo > -Original Mes

Re: [iText-questions] Batch PDF Version Changes

2007-03-01 Thread Leonard Rosenthol
If the PDF doesn't actually use features of 1.5, why would you change the version number? Leonard On Feb 28, 2007, at 8:29 PM, Lyle Thomas wrote: Hi There, Is it possible to use itext to change the pdf version as a batch? I have many pdfs that require to be changed from 1.2 to 1.5, and I

[iText-questions] Adding elements to existing PDF

2007-03-01 Thread Rick DeFazio
Hi, I looked through the archives and could not find an answer on how to edit an existing PDF. There was a link to a Java examples site but IE 7 said it could not load the URL. Could someone point me to some source code on how to load and existing PDF so that I can add content to it. I know ho

[iText-questions] Import a part of a page

2007-03-01 Thread mreynard
I'm tying to add to a pdf a part of an other pdf. I found getImportedPage who import a whole page but how can I import just a part of a page? Thanks for your help. Michel - Take Surveys. Earn Cash. Influence the Fu

[iText-questions] RSA blind signature scheme and iTextSharp

2007-03-01 Thread Paúl Santapau
Hello all, Browsing within the iTextSharp code I have found these three classes: srcbc/crypto/parameters/RSABlindingParameters.cs srcbc/crypto/generators/RSABlindingFactorGenerator.cs srcbc/crypto/engines/RSABlindingEngine.cs This classes corresponds to a (From t

[iText-questions] Signatures with SHA256

2007-03-01 Thread Robert Esterer
Hello, Because of the upcoming requirements for Qualified Signatures in Germany it might (or probably will) be necessary to replace SHA1 with SHA256 by the end of this year [1]. I looked at the current PDF Reference (1.7) and accoring to it, SHA256 support already came with PDF 1.6. The way I und

Re: [iText-questions] Pdf File request

2007-03-01 Thread Tony Chhun
Oh, I didn't know that, can you tell the URL where adobe recommends this? 2007/3/1, Paulo Soares <[EMAIL PROTECTED]>: > > I've no idea where's the problem. There's a reason why Adobe recomends > to use the screen annotation to let whatever media player you have in your > machine to play the so

Re: [iText-questions] Pdf File request

2007-03-01 Thread Tony Chhun
Oh, I didn't know that, can you tell the URL where adobe recommends this? 2007/3/1, Paulo Soares <[EMAIL PROTECTED]>: I've no idea where's the problem. There's a reason why Adobe recomends to use the screen annotation to let whatever media player you have in your machine to play the sound. Pau

Re: [iText-questions] Tiff orientation

2007-03-01 Thread beppecosta
During tiff to pdf conversion is it possible to get tiff tags other tnat initialOreintation, like for example the DateTime Tag (Code 306 (hex 0x0132) ? Thanks. Paulo Soares wrote: > > > - Original Message - > From: "beppecosta" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, February 20

Re: [iText-questions] Pdf File request

2007-03-01 Thread Paulo Soares
I've no idea where's the problem. There's a reason why Adobe recomends to use the screen annotation to let whatever media player you have in your machine to play the sound. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tony Chhun > Se

Re: [iText-questions] Pdf File request

2007-03-01 Thread Tony Chhun
"The classic sound annotation only supports raw samples and you'll generally need to convert your sound files." Thank you a lot for that, it seems that pdf reference contains some mistakes. It reads, sound entry of a sound annotation can contain a stream with a F entry. Well, I have tried this wa

Re: [iText-questions] Batch PDF Version Changes

2007-03-01 Thread Bruno Lowagie (iText)
Lyle Thomas wrote: > Hi There, > > Is it possible to use itext to change the pdf version as a batch? I have > many pdfs that require to be changed from 1.2 to 1.5, and I am unsure as > to how to do this. That's very simple: PdfReader reader = new PdfReader("my.pdf"); PdfStamper stamper = new

Re: [iText-questions] detect page break and table size

2007-03-01 Thread Bruno Lowagie (iText)
kanchana wrote: > Hi Alexis, > > Thank you so much for the prompt reply. I truly appreciate your help. I was > able to get to the basics of things I needed but ran into some other > problems for which I cannot find a solution anywhere. Not even in the API docs? That IS strange! > For my specific

Re: [iText-questions] IText converts HTML blanks to á in pdf

2007-03-01 Thread Bruno Lowagie (iText)
Gerhus, Christian wrote: > Hello, > i’m using itext1.3 with BIRT runtime 2.1. I have created a report which > is displayed as HTML. Then I have tried to convert the HTML document to PDF. Why not generate the PDF straight away? Why first take a lossy format like HTML and then make a PDF? > The