Re: [iText-questions] Add sign to pdf

2009-04-29 Thread amcereijo cereijo
Hello and thank you all. I´ve tried many ways and I have not managed to get it working all that well. I managed to add the signature, but Acrobat Reader said that the signature is invalid. I have the file .cer certificate without the private key with which has signed the document and the file .p7s

[iText-questions] Problem stamping a certain PDF

2009-04-29 Thread Michael Mrozek
This is almost certainly a dumb question as I have very little iText experience, but I've been through the list archives and miscellaneous websites and can't figure it out. There's a sample PDF at http://mrozekma.com/itext.pdf that won't display text I stamp on it. It's some property of the pages r

Re: [iText-questions] document.add throws null on run-time

2009-04-29 Thread 1T3XT info
YARD wrote: > document.add(new Paragraph("Hello", FontFactory.getFont("helvetica", > BaseFont.IDENTITY_H, BaseFont.EMBEDDED))) > FYI: It works fine in Windows and AIX environments. It's not supposed to work: IDENTITY_H demands a font that can be embedded. "Helvitica" uses Helvetica.afm and

[iText-questions] document.add throws null on run-time

2009-04-29 Thread YARD
Hi, Can somebody please help me with this problem? I am using iText-2.1.5.jar which runs with Java1.5 in Ubuntu System. Encoding System used in this OS is UTF-8. When I try to add any elements through document.add(), I am getting Java runtime error message as "Error: null" Eg: doc

Re: [iText-questions] iText EULA needed

2009-04-29 Thread 1T3XT info
web...@bcbsil.com wrote: > Hi, > > The company that I work for is interested in purchasing iText. However, I > need a contact person's name, phone# and email address so that HCSC's Legal > department can contact to discuss the terms of the software. Also, could > you provide me with the EULA re

Re: [iText-questions] pdf signature verification

2009-04-29 Thread Paulo Soares
There's still work to be done with timestamps and ocsp before going the CMS way. Paulo - Original Message - From: "Giuseppe Sacco" To: "Post all your questions about iText here" Sent: Wednesday, April 29, 2009 9:23 PM Subject: Re: [iText-questions] pdf signature verification Il gio

Re: [iText-questions] iText EULA needed

2009-04-29 Thread Paulo Soares
See http://itextsoftware.com/. Paulo - Original Message - From: To: Sent: Wednesday, April 29, 2009 9:03 PM Subject: [iText-questions] iText EULA needed Hi, The company that I work for is interested in purchasing iText. However, I need a contact person's name, phone# and email add

[iText-questions] iText EULA needed

2009-04-29 Thread WEBBD2
Hi, The company that I work for is interested in purchasing iText. However, I need a contact person's name, phone# and email address so that HCSC's Legal department can contact to discuss the terms of the software. Also, could you provide me with the EULA referencing this software? Darryl Web

Re: [iText-questions] pdf signature verification

2009-04-29 Thread Giuseppe Sacco
Il giorno mer, 29/04/2009 alle 21.09 +0100, Paulo Soares ha scritto: > This is all going to be replaced by the CMS in BouncyCastle in the near > future. Meanwhile you can patch PdfPKCS7 to catch the missing IDs. If working on using BC in iText is already started, then I would really like to try t

Re: [iText-questions] pdf signature verification

2009-04-29 Thread Paulo Soares
This is all going to be replaced by the CMS in BouncyCastle in the near future. Meanwhile you can patch PdfPKCS7 to catch the missing IDs. Paulo - Original Message - From: "Giuseppe Sacco" To: Sent: Wednesday, April 29, 2009 8:26 PM Subject: [iText-questions] pdf signature verificatio

Re: [iText-questions] PdfPTable in a PdfPCell with indentation

2009-04-29 Thread 1T3XT info
ceiphren wrote: > I tried many ways, but it seems that there is no way to change the > indentation of a single PdfPTable unless using a paragraph. You're overlooking one option: contributing code to the iText project that allows you to set the indentation of a PdfPTable. -- This answer is provid

Re: [iText-questions] paragraph delimeter

2009-04-29 Thread 1T3XT info
Ragia Ibrahim wrote: > HI > can itext tell each paragraph start and end in pdf file ? Each paragraph in a PDF built from scratch using iText? Yes: see http://1t3xt.be/?X0005d3 Each paragraph in an existing PDF? No, this is very difficult in general (in other words: you won't find any other soft

Re: [iText-questions] paragraph delimeter

2009-04-29 Thread Leonard Rosenthol
Not unless the document is a "Tagged PDF". From: Ragia Ibrahim [mailto:ragi...@hotmail.com] Sent: Wednesday, April 29, 2009 3:34 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] paragraph delimeter HI can itext tell each paragraph start and end in pdf file ? regards Ragia

[iText-questions] paragraph delimeter

2009-04-29 Thread Ragia Ibrahim
HI can itext tell each paragraph start and end in pdf file ? regards Ragia _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx--

[iText-questions] pdf signature verification

2009-04-29 Thread Giuseppe Sacco
Hi all, I am developing a part of a DMS. While coding pdf signature verification using iText, I found a signature type not yet handled. I am referring to signatures with sha256WithRSAEncryption algorithm. This is the first part of my code: PdfReader reader = new PdfReader(pdfDoc); AcroFields af =

Re: [iText-questions] PdfPTable in a PdfPCell with indentation

2009-04-29 Thread ceiphren
I tried many ways, but it seems that there is no way to change the indentation of a single PdfPTable unless using a paragraph. I know that I can use the padding of the cell, but then i will write 2 methods with the same content: one method for changing a single table via Paragraph-Indentation and

[iText-questions] Html to Pdf

2009-04-29 Thread deep4u
Hello, I have to convert Html to pdf using itext and Htmlworker libraies. Its great working fine, but the html file having some links(like sections, internal links ,Table of contents) not working after generating pdf. I upload my html file could you see that once and also please let me kno

Re: [iText-questions] PdfPTable in a PdfPCell with indentation

2009-04-29 Thread 1T3XT info
ceiphren wrote: > Hi, > > I have a Paragraph which contains a PdfPTable, so that I can change the > indentation of the table with the Paragraph. OK; it's bad practice, but... that should work. > The Problem is, when I put the Paragraph with the table into another > PdfPTable, the inner table isn

[iText-questions] PdfPTable in a PdfPCell with indentation

2009-04-29 Thread ceiphren
Hi, I have a Paragraph which contains a PdfPTable, so that I can change the indentation of the table with the Paragraph. The Problem is, when I put the Paragraph with the table into another PdfPTable, the inner table isn't rendered. public static void main(String[] args) {

[iText-questions] itextsharp - paragraph with html??

2009-04-29 Thread manhao . chen
I’m trying to render html mark up in a chapter I have made a post on the asp.net forums but no one seems to know the answer http://forums.asp.net/t/1412438.aspx it has titles, chapters and content inside the chapter, but my content is all html mark up my question is how can I render the html an

Re: [iText-questions] out of memory

2009-04-29 Thread 1T3XT info
Rajiv Sabat wrote: > Thanks fro the reply. Since i am new to this tool, i m bit struggling. > My 2nd question was : > how to set the width of the PdfpCell? > i saw in example that is like this : float[] widths = {0.1f, 0.1f, > 0.05f, 0.75f}; > since i have 150 cells in this table, and i want to se

Re: [iText-questions] Reading PdfSignatureAppearance images from an existing PDF

2009-04-29 Thread Paulo Soares
> -Original Message- > From: Roger Misteli [mailto:roger.mist...@abacus.ch] > Sent: Wednesday, April 29, 2009 8:07 AM > To: iText > Subject: [iText-questions] Reading PdfSignatureAppearance > images from an existing PDF > > Hiyas > > When I have a PDF that was signed, is it possible

Re: [iText-questions] out of memory

2009-04-29 Thread Rajiv Sabat
Thanks fro the reply. Since i am new to this tool, i m bit struggling. My 2nd question was : how to set the width of the PdfpCell? i saw in example that is like this : float[] widths = {0.1f, 0.1f, 0.05f, 0.75f}; since i have 150 cells in this table, and i want to set only one cell width. so is the

[iText-questions] Reading PdfSignatureAppearance images from an existing PDF

2009-04-29 Thread Roger Misteli
Hiyas When I have a PDF that was signed, is it possible to read the appearance images (SignatureGraphic and Image in PdfSignatureAppearance) back somehow so I can display/extract them? Also is it possible to read the Acro6Layers and Acro6Text/Acro4Text strings back and the SignatureRender mode