[iText-questions] newline handling inside chunk/phrase

2012-07-05 Thread pier luigi zanotti
I'm a bit confused about newline handling in chunks text. The following code: Paragraph para = new Paragraph(); para.add(new Chunk(" A")); para.add(new Chunk("\n B")); para.add(new Chunk("\n C")); document.add(para); add a paragraph of 3 lines, where the first line in the resulting

Re: [iText-questions] PDFReader fails when loading the PDF

2012-07-05 Thread mindrani
I was using an older version and got errors but thought that this may work in the newer version so I tried the latest version and I still get errors. Is there a specific way that the PDF should be created? Is converting word to PDF supported? Here is the stacktrace: ERROR LogError [(null)] - In

[iText-questions] Rubber stamp example

2012-07-05 Thread John Renfrew
Following the examples in chapter 7 I have successfully added an 'Approved' rubber stamp lower left of a document When I open it in Acrobat Pro X it shows When I open it in Acrobat Reader X all I see is a black box with an X If I go into Pro and then change status to (any status here) and save, t

Re: [iText-questions] PDFReader fails when loading the PDF

2012-07-05 Thread Paulo Soares
What's the stack trace and what version of iTextSharp are you using. Paulo On Thu, Jul 5, 2012 at 9:20 PM, mindrani wrote: > http://itext-general.2136553.n4.nabble.com/file/n4655546/GSARescind.pdf > GSARescind.pdf > > Hi, > > The PDFReader fails when loading the PDF in attachment - GSARescind.pd

[iText-questions] PDFReader fails when loading the PDF

2012-07-05 Thread mindrani
http://itext-general.2136553.n4.nabble.com/file/n4655546/GSARescind.pdf GSARescind.pdf Hi, The PDFReader fails when loading the PDF in attachment - GSARescind.pdf The code goes into exception at the following line: Dim reader1 As New iTextSharp.text.pdf.PdfReader("c:\GSARescind.pdf") I also tr

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
Thanks Paulo for your replay. Here is the signed pdf file that i have an error wehen i try to verify signature : http://itext-general.2136553.n4.nabble.com/file/n4655545/circuitinfo.signed.pdf circuitinfo.signed.pdf Cordially. -- View this message in context: http://itext-general.2136553.n

Re: [iText-questions] How Can I Unsubscrime Myself From iText

2012-07-05 Thread TvT
No you are doomed to reveive those mails until the end of time... Let me help you: http://lmgtfy.com/?q=iText+unsubscribe 2012/7/5 Ahmari, Afshin > ** ** > > Hi > > ** ** > > Actually I receive more 20-30 emails non related to me answering some > questions so I just want to know how can I

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread Paulo Soares
Don't send the PDF to me, post it in the mailing list (or a link if it's too big). I ask again one last time, does it verify with Acrobat? Paulo On Thu, Jul 5, 2012 at 5:02 PM, zouzou wrote: > Thank you for your response Paulo, > > In fact after the end of the execution of my signature programe

[iText-questions] How Can I Unsubscrime Myself From iText

2012-07-05 Thread Ahmari, Afshin
Hi Actually I receive more 20-30 emails non related to me answering some questions so I just want to know how can I unsubscribe myself from iText message list? Thanks Afshin This e-mail is confidential and may be legally privileged.If you have received this me

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
thankd -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-and-signing-pdf-fils-tp4655392p4655540.html Sent from the iText - General mailing list archive at Nabble.com. -- Live Security Virt

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
Thank you for your response Paulo, In fact after the end of the execution of my signature programe I have a pdf file signed with a signature that appears on this pdf but I actually want to check the signed pdf in my programe as a result : PdfReader reader = new PdfReader (new RandomAccessFileOr

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
Thank you for your response Paulo, In fact after the end of the execution of my signature programe I have a pdf file signed with a signature that appears on this pdf but I actually want to check the signed pdf in my programe as a result PdfReader reader = new PdfReader (new RandomAccessFileOrArra

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
Thank you for your response Paulo, In fact after the end of the execution of my signature programe I have a pdf file signed with a signature that appears on this pdf but I actually want to check the signed pdf in my programe as a result PdfReader reader = new PdfReader (new RandomAccessFileOrArra

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread Paulo Soares
Can you verify it with Reader? If you can, please the PDF for inspection. Paulo On Thu, Jul 5, 2012 at 3:06 PM, zouzou wrote: > Hello everyone, > > currently I use the latest version of iText I can sign a pdf with the sha256 > parcontre moùent verification is done with the code of iText fails! >

Re: [iText-questions] iText and signing pdf fils

2012-07-05 Thread zouzou
Hello everyone, currently I use the latest version of iText I can sign a pdf with the sha256 parcontre moùent verification is done with the code of iText fails! Here is the exception thrown: ExceptionConverter: java.security.InvalidKeyException: Illegal Key must not be null Has sun.security.rsa.

Re: [iText-questions] put additional information to a graph (annotation?)

2012-07-05 Thread Leonard Rosenthol
The only way to achieve this is by putting an invisible button over the area in question and assigning it a tooltip. Leonard -Original Message- From: Andreas Meyer [mailto:n8...@coolgoose.com] Sent: Thursday, July 05, 2012 9:01 AM To: itext-questions@lists.sourceforge.net Subject: [iTex

[iText-questions] put additional information to a graph (annotation?)

2012-07-05 Thread Andreas Meyer
Hi, I would like to put additional information to a graph, which is generated with moveTo() and lineTo(). The information should pop-up (onmouseover), when the user moves the cursor over a straight line _or_ a defined region around a point. Is there more than one practicable way to achieve this a

Re: [iText-questions] Textextraction from CID Fonts

2012-07-05 Thread Paulo Soares
No, it means that the PDF producer should have included the ToUnicode map. Any font can be extractable with a ToUnicode map (and some without). Paulo On Thu, Jul 5, 2012 at 12:30 PM, Thomas Kübler wrote: > Hello, > > so if i understand this answer, if the client want's to extract the text he > d

Re: [iText-questions] Textextraction from CID Fonts

2012-07-05 Thread Thomas Kübler
Hello, so if i understand this answer, if the client want's to extract the text he don't have to use the unicode fonts, thats right? thanks Am 05.07.2012 um 13:19 schrieb Paulo Soares: > There's nothing wrong with the PDF unless you want to extract text. > Your PDF lacks a ToUnicode entry tha

Re: [iText-questions] Textextraction from CID Fonts

2012-07-05 Thread Paulo Soares
There's nothing wrong with the PDF unless you want to extract text. Your PDF lacks a ToUnicode entry that maps the glyphs to Unicode. There's no way to extract text now. Paulo On Thu, Jul 5, 2012 at 11:38 AM, Thomas Kübler wrote: > Hello, > > i have a problem to extract text from an pdf files wh

[iText-questions] Textextraction from CID Fonts

2012-07-05 Thread Thomas Kübler
Hello, i have a problem to extract text from an pdf files where all text use the Tahoma Bold and Regular Font as Type TrueTyp (CID) with Identity-H encoding. The result is an empty array, when i try this with copy&paste directly with acrobat pro i get only "?" as result. Is this an encoding

Re: [iText-questions] iText 2.1.3 PDF is displayed blank in IE

2012-07-05 Thread Amedee Van Gasse
On Wed, July 4, 2012 09:53, Julian Janssens wrote: > Hello, > > We also had this problem. > > It was not related to iText. The solution was to define the Content-length > HTTP header and the mime-type of the request serving the PDF to the > browser. > > Regards, > > Julian This is the second perso