Re: [iText-questions] FYI: PdfPKCS7 missing empty timestamp attribute check, causing PKCS7ArrayIndexOutOfBoundsException

2010-02-02 Thread Harakiri
--- On Tue, 2/2/10, Paulo Soares wrote: > From: Paulo Soares > Subject: Re: [iText-questions] FYI: PdfPKCS7 missing empty timestamp > attribute check, causing PKCS7ArrayIndexOutOfBoundsException > To: "Post all your questions about iText here" > > Date: Tuesday, February 2, 2010, 12:06 PM >

[iText-questions] FYI: PdfPKCS7 missing empty timestamp attribute check, causing PKCS7ArrayIndexOutOfBoundsException

2010-02-02 Thread Harakiri
A signature with an empty timestamp attribute will cause an exception. Sample pdf file test1.pdf: http://old.nabble.com/PDF-signature-validation-problems-p25995965.html Issue in PdfPKCS7.java Old: AttributeTable attble = new AttributeTable(unat); Attribute ts = attble.get(PK

Re: [iText-questions] Clarification of different Signature types and their verification support in Itext

2010-02-01 Thread Harakiri
--- On Thu, 1/28/10, Harakiri wrote: > From: Harakiri > Subject: [iText-questions] Clarification of different Signature types and > their verification support in Itext > To: "Post all your questions about iText here" > > Date: Thursday, January 28, 2010, 9:01

[iText-questions] Clarification of different Signature types and their verification support in Itext

2010-01-28 Thread Harakiri
According to the iText book there are like 3 different signatures: ordinary, recipient, and certifying/authoring. I believe all those can be easily handled with using getAcroFields().getSignatureNames(). However, the current PDF revision talks about: - MDP (modification detection and prevention

Re: [iText-questions] HTMLWorker: Stylesheet not affecting p elements

2009-04-06 Thread Harakiri
--- On Mon, 4/6/09, Pauli Borodulin wrote: > From: Pauli Borodulin > Subject: Re: [iText-questions] HTMLWorker: Stylesheet not affecting p elements > To: harakiri...@yahoo.com, "Post all your questions about iText here" > > Date: Monday, April 6, 2009, 12:31 PM

Re: [iText-questions] HTMLWorker: Stylesheet not affecting p elements

2009-04-06 Thread Harakiri
--- On Sun, 4/5/09, Pauli Borodulin wrote: > From: Pauli Borodulin > > Since iText's HTMLWorker doesn't add any margin > after p elements while > web browsers by default do, I tried adding some using > StyleSheet object: > HTMLWorker.startElement(String, > HashMap) has the following proce

Re: [iText-questions] HTML to PDF Conversion - Need help

2009-03-06 Thread Harakiri
--- On Fri, 3/6/09, Subrahmanya, Rama Krishna wrote: > From: Subrahmanya, Rama Krishna M > Can I use any other library or some tool to convert pure > html to pdf? > Appreciate your guidance. xhtmlrenderer.dev.java.net or numerous commerical solutions ---

Re: [iText-questions] A question about Jasper Compatibility with iText

2009-02-25 Thread Harakiri
1. What is Jasper? I assume you mean JasperReports 2. JasperReports implements the iText API - not the other way around, iText doesnt know anything about JasperReports, therefor this is the wrong place to ask > I can get both jasper 0.2 and jasper 3.1.2 run with the > same version of > iText 1.

Re: [iText-questions] click on image and open the attachment

2008-06-06 Thread Harakiri
, 6/6/08, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > From: Bruno Lowagie <[EMAIL PROTECTED]> > Subject: Re: [iText-questions] click on image and open the attachment > To: "Post all your questions about iText here" > > Date: Friday, June 6, 2008, 3:33 AM >

Re: [iText-questions] click on image and open the attachment

2008-06-05 Thread Harakiri
--- On Thu, 6/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 1. Please put the subject of your question in the Subject: > of your question. > 2. This is an iText discussion list. Are you not aware of > that? > > -- > Bill Segraves Great - best useless input i read for a while - congra

Re: [iText-questions] click on image and open the attachment

2008-06-05 Thread Harakiri
out iText here" > > Date: Thursday, June 5, 2008, 6:48 AM > On Jun 5, 2008, at 5:30 AM, Harakiri wrote: > > Only (as i said in the supplied original thread) right > clicking > > within the pdf where the annotation is works but - > you want to > > teach your u

Re: [iText-questions] click on image and open the attachment

2008-06-05 Thread Harakiri
You dont understand - open that pdf you supplied in the pdf reader - the "Save As" Dialog is greyed out in the attachments pane. http://www.nabble.com/file/p17662151/MyTestPdf.pdf Only (as i said in the supplied original thread) right clicking within the pdf where the annotation is works bu

Re: [iText-questions] click on image and open the attachment

2008-06-04 Thread Harakiri
--- On Wed, 6/4/08, Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > I don't believe this is true. Can you send me a PDF > that > demonstrates this? > It is true =) you even yourself replied to that thread that the statement was true : http://www.nabble.com/How-to-Enable-%22Save-Attachm

Re: [iText-questions] click on image and open the attachment

2008-06-04 Thread Harakiri
I asked the same question on this list last year - search for my e-mail in the archive - you should find a reply from paolo how to do it. Anyway - you probably do NOT want to do it that way anyway because: When you link an attachment with a launch action you are unable to use the SAVE_AS featu

Re: [iText-questions] Arial Unicode MS alternative

2008-05-30 Thread Harakiri
Hello, > I'd go for DejaVu for all the fonts except Asian, > use CJK for the Asian fonts, and use FontSelector > to automate the font selection process. here is the problem for me - im using JasperReports and cant use the fontselector because the template you are using - you have to specify exa

Re: [iText-questions] Arial Unicode MS alternative

2008-05-29 Thread Harakiri
So, to return to the original question - after reading the collected FAQ font ressources: there is NO "free" (not gpl) font which includes asian, western european and kyrillic glpyhs all together - the only one available is still microsoft arial unicode - which is not free =) ---

[iText-questions] Arial Unicode MS alternative

2008-05-27 Thread Harakiri
Hello, can anyone point me to a Arial Unicode MS alternative ("arialuni.ttf") which is available under a non restrictive license, i.e. creative commons or similar - which can be used similar to a LGPL like license. The font should include support for western and asian font types - similar to a

Re: [iText-questions] Certificate failed: Cannot be verified against the KeyStore or the certificate chain

2007-10-22 Thread Harakiri
I suggest you doing a bit of research how to validate X.509 signatures, you need the whole certificate chain in java (bc) to validate the (math) signature and the certificate itsel. --- Fionn Ziegler <[EMAIL PROTECTED]> wrote: > > Hi all, > i just managed correct signing for PDF-Document with >

Re: [iText-questions] Adobe BUG in Reader 7 and 8 - max URI/URL length 233 characters ?!

2007-10-09 Thread Harakiri
der and as such it's not a > high priority item. > > Leonard > > On Oct 9, 2007, at 6:48 AM, Harakiri wrote: > > > First off, it seems you acknowledge that there is > > indeed a problem but havent made a technote yet or > any > > public informatio

Re: [iText-questions] Adobe BUG in Reader 7 and 8 - max URI/URL length 233 characters ?!

2007-10-09 Thread Harakiri
or with Vista yield no such problems. > > Leonard Rosenthol > Adobe Systems > > > On Oct 8, 2007, at 5:25 AM, Harakiri wrote: > > > Im wondering why nobody has replied to this issue > yet > > within the last week. Is nobody using URL Links in > PDF > &g

Re: [iText-questions] Adobe BUG in Reader 7 and 8 - max URI/URL length 233 characters ?!

2007-10-08 Thread Harakiri
URLs which are to long... --- Harakiri <[EMAIL PROTECTED]> wrote: > Hello, > > i found out that Adobe introduced a bug with Reader > 7 > and 8. Every URL annotation you create with more > then > 233 characters will produce a "error communicating > with web-brows

[iText-questions] Adobe BUG in Reader 7 and 8 - max URI/URL length 233 characters ?!

2007-10-02 Thread Harakiri
Hello, i found out that Adobe introduced a bug with Reader 7 and 8. Every URL annotation you create with more then 233 characters will produce a "error communicating with web-browser", the url you click within a PDF document will not be opened. This doesnt seem to be an itext issue as i can repro

Re: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2007-09-06 Thread Harakiri
gt; > Regards, > > Nick K. > > -Original Message- > From: Harakiri [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 06, 2007 7:57 AM > To: [EMAIL PROTECTED]; Post all your questions about > iText here > Subject: Re: [iText-questions] Supported Signature > C

Re: [iText-questions] Supported Signature Certificates? PFX, P7B, P7C, CER Examples?

2007-09-06 Thread Harakiri
I think you are quiet confused about signing and certificate types. P12 and PFX are just containers for private+public keys. CER, DER and so on are also just encoded certificates - mostly only used for public keys however - but you can also encode private keys of course. It boils down that every

Re: [iText-questions] generate pdf using xml template

2007-08-31 Thread Harakiri
--- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote: > It depends. At Ghent University we still have a > database > that doesn't understand SQL (we use D-Isam, a C-Isam > clone, > a file based system, accessed using a C JNI; it's a > legacy). > In that case, it's handier to write custom classe

Re: [iText-questions] generate pdf using xml template

2007-08-31 Thread Harakiri
Yes you can write all of that yourself, including connecting to external datasources... reinvent the wheel =) OR you just use JasperReports which can do this very good, has a graphical XML Report designer, can fill report data any external data source through an Interface and allows you not only t

Re: [iText-questions] creating a "pinging" PDF

2007-08-22 Thread Harakiri
I am going to stand corrected... > > Apparently, this is only PARTIALLY supported today > (for example, the > UI doesn't appear as described below). We will be > addressing this in > a future release. > > Leonard > > > On Aug 21, 2007, at 7:06 PM, Harakiri wr

Re: [iText-questions] creating a "pinging" PDF

2007-08-21 Thread Harakiri
eonard Rosenthol > Adobe Systems > > On Aug 21, 2007, at 5:47 PM, Harakiri wrote: > > > Hi Leo, > > > > there was a discussion about it a few weeks ago > and > > you even replied to it. > > > > See this thread : > > > > > http://www

Re: [iText-questions] creating a "pinging" PDF

2007-08-21 Thread Harakiri
Hi Leo, there was a discussion about it a few weeks ago and you even replied to it. See this thread : http://www.nabble.com/forum/ViewPost.jtp?post=10180894&framed=y See my final answer http://www.nabble.com/Formular-Submit-from-PDF-only-works-while-opened-in-Browser-tf3645402.html#a10218729

Re: [iText-questions] creating a "pinging" PDF

2007-08-21 Thread Harakiri
--- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > Web Service (aka SOAP) support in PDF JavaScript is > only available > in Acrobat and not in Reader. To support Reader, > you will need to us > a simple "post" to a standard http/https listener. Furthermore, in their infinte wisdom Ad

Re: [iText-questions] PDF Signing and Timestamping it using iText

2007-08-09 Thread Harakiri
Try searching this list, somebody supplied sources only a few days ago for timestamping and a howto for usb token signing which is the same as luna hsm signing for java anyway. --- Gurpreet Singh <[EMAIL PROTECTED]> wrote: > Hi > > I have been looking at > http://itextpdf.sourceforge.net/howtos

Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe

2007-07-15 Thread Harakiri
attachment in any dictionary. Can you please elaborate your point with an example ? Thanks alot for your help. Regards --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > Yes, you can use the Launch action to also open up > attachments. > > Leonard > > > On Jul 14,

Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
Im not sure i can follow you, if i use the attachment form i cant have a reference in my pdf without GOTOE.. Or are you refering to something else ? Can i actually create a hotspot to an attachment without GOTOE ? --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > > Whats the difference betwe

Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
a javascript popup and say there are attachments which you can find in version X there, and in version Y there) --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Harakiri wrote: > > > Whats the difference between the two ? I want a > > reference in my pdf and the save

Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
will not. The only way to issue a save is rightclick on the annotation hotspot. I did not find an option to actually reproduce a hotspot with attachment link like a) in adobe acrobat to see if the pdf performs the same... Whats the difference between the two ? I want a reference in my pdf and the save

Re: [iText-questions] How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
itext would simply copy the structure of a blank document created by acrobat then it should work with new documents too i guess. --- Harakiri <[EMAIL PROTECTED]> wrote: > Thanks Bruno for your answer. > > Do you happend to know how/who contact at adobe > ([EMAIL PROTECTED] obvio

Re: [iText-questions] How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
Lowagie <[EMAIL PROTECTED]> wrote: > Harakiri wrote: > > I've installed the adobe prof. 8 trial and created > a > > blank pdf with an attachment. When opening this > pdf in > > either 7 or 8.0 the "Save" button is enabled. > Creating > > a simila

Re: [iText-questions] How to Enable "Save Attachment" Dialog in Adobe

2007-07-14 Thread Harakiri
s leaves two options : a) either i have to set additional security preferences (allow) using itext - but i thought i allowed everything b) this is a special feature by adobe prof. and itext does not support the "Save" button yet... Any ideas ? --- Harakiri <[EMAIL PROTECTED]&g

[iText-questions] How to Enable "Save Attachment" Dialog in Adobe

2007-07-13 Thread Harakiri
Hello, i know that Adobe in their infinite wisdom restricted attached files to a PDF since version 7.0. I do understand that these restrictions are necessary for *opening* attachments within the reader - i do not understand why you would hinder a user to save an attachment to disk. In the attachm

Re: [iText-questions] Where to get Certificates for PDF Signing

2007-07-02 Thread Harakiri
I dont believe another source exists - EVEN if it does exist Adobe has made it a rule that anyone issuing a certificate from their Adobe CA *must* be on a secure storage - so it will always be at least USB or Smart Card - no way to get in simply pkcs7 file format. I have the same problem and wonde

Re: [iText-questions] ARIAL.TTF ECLIPSE

2007-06-22 Thread Harakiri
Ask yourself what has this to do with iText ? HINT : Put it in the classpath... Run As in your main class --- [EMAIL PROTECTED] wrote: > Where would I put ARIAL.TTF in Eclipse for my code: > > normalStyle.setPdfFontName("ARIAL.TTF"); > > to recognize the path to it? > > Rachel Kozlowski

Re: [iText-questions] Experiences with xPDF Viewer?

2007-06-18 Thread Harakiri
ol <[EMAIL PROTECTED]> wrote: > What version of Xpdf are you working with? Version > 3.x is current > and AFAIK fully supports link anotations as well as > rendering other > types. > > Leonard > > On Jun 14, 2007, at 10:02 AM, Harakiri wrote: > >

[iText-questions] Experiences with xPDF Viewer?

2007-06-14 Thread Harakiri
Hello, anyone knows a specific lists of limitations of the xPDF Viewer which is mostly installed on unix systems ? So far i happend to have no problem with layout but with annotations. Neither Link (i.e. http:\\...) annotations work, nor attachment annotations (emmbedded file with link to it - no

Re: [iText-questions] Initial View of PDF to 100% Zoom doesnt work

2007-06-13 Thread Harakiri
Please ignore my post, i figured out my mistake. --- Harakiri <[EMAIL PROTECTED]> wrote: > Hello, > > in the archives i found a post from paulo which > suggest : > http://www.nabble.com/forum/ViewPost.jtp?post=4138560&framed=y > > PdfReader pdf = new PdfRead

[iText-questions] Initial View of PDF to 100% Zoom doesnt work

2007-06-13 Thread Harakiri
Hello, in the archives i found a post from paulo which suggest : http://www.nabble.com/forum/ViewPost.jtp?post=4138560&framed=y PdfReader pdf = new PdfReader("abc.pdf"); PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("abcout.pdf")); PdfWriter writer = stp.getWriter(); PdfAction ac = Pd

Re: [iText-questions] Formular Submit from PDF only works whileopenedin Browser

2007-04-27 Thread Harakiri
After more research i figured the following out : adobe has NO proxy support (authentication) in most of its products - in adobe stock photos this feature was for example just recently introduced. You really wonder what adobe is doing - even the latest reader 8 is unable to use proxy authenticati

[iText-questions] Formular Submit from PDF only works while opened in Browser

2007-04-25 Thread Harakiri
Hello, i tried the examples to submit data to a servlet from an acrobat formular. This works fine as long as the PDF is opened in the browser - however when i open the PDF directly with acrobat it doesnt work - i tested version 6 and 7 - no dice. I would have thought that adobe (under internet set

Re: [iText-questions] Untrusted Signature Certificate (Chain)

2007-04-24 Thread Harakiri
n Acrobat forum. > > Paulo > > > -Original Message- > > From: > [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > On > > Behalf Of Harakiri > > Sent: Tuesday, April 24, 2007 4:38 PM > > To: Post all your questions about iText here > &

Re: [iText-questions] Untrusted Signature Certificate (Chain)

2007-04-24 Thread Harakiri
->Windows Integration. When Acrobat is > installed there's no > windows integration, you have to explicitly set it. > > Paulo > > > -Original Message- > > From: > [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > On > > B

[iText-questions] Untrusted Signature Certificate (Chain)

2007-04-24 Thread Harakiri
Hello, im creating a field signature using a Thawte Certificate. Im using the WINCER signing method. I was under the impression that adobe reader would use the windows installed certificates for verifying the signature. But this doesnt seem to be the case, i tried 2 different signed certificates

Re: [iText-questions] Best Font to support all European languages ?

2007-04-20 Thread Harakiri
--- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote: > mister bean wrote: > > If you are based in the US, you will discover that > arialuni.ttf is > > hard to find, as it is not installed by default on > US systems. > > Oh, I didn't know that. > Now I understand why an American reviewer of my b

Re: [iText-questions] Font and HTMLWorker

2007-04-19 Thread Harakiri
I figured it out myself - setting the encoding to BaseFont.IDENTITY_H solved the issue. --- Harakiri <[EMAIL PROTECTED]> wrote: > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > > arialuni.ttf has the most complete glyph > collection. > > Embedding wil

[iText-questions] Font and HTMLWorker

2007-04-19 Thread Harakiri
rks fine without html formating just using chunks and the arial font. Where could the problem be ? > > -Original Message- > > From: > [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > On > > Behalf Of Harakiri > > Sent: Thursday, April 19, 20

Re: [iText-questions] Best Font to support all European languages ?

2007-04-19 Thread Harakiri
> p.s. Bruno gives a list of font sites in the > appendix to his book, by the > way. > > >>> re >>> > > > Harakiri wrote: > > > > Hello, > > > > i read the "peace" example with multiple languages > and > > thei

[iText-questions] Best Font to support all European languages ?

2007-04-18 Thread Harakiri
Hello, i read the "peace" example with multiple languages and their font. Im still unsure on the font choice tho, so far it seems that arial.ttf is able to display all european languages. Can anyone suggest the right font ? Specifically the major languages like france,german and russian should be

Re: [iText-questions] ColumnText.go(true) weird behaviour

2007-04-11 Thread Harakiri
. --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Harakiri wrote: > > Also go(true) seems to reset every added element > > go 'consumes' the content of the column. > This is by design. > It is explained in chapter 7 of the book. > > > A function like isOve

[iText-questions] ColumnText.go(true) weird behaviour

2007-04-11 Thread Harakiri
Im using the HTMLWorker to convert some HTML data to iText Elements. I wish to add these elements to a specific area (rectangle) - this works fine so far, however when the html data would need more then one page problems occure. Im adding the converted elements to a ColumnText, using the simulate

[iText-questions] AcroField - TextArea with Veritical Scrollbar ?

2007-04-05 Thread Harakiri
Hello, i've found the examples about TextFields and that its possible that they have multiple lines. Now when i declare a rectangle with 200x200 for example, i want that if the text is to large to fit into the rectangle that the pdf reader displays a scrollbar for the user - similar to the HTML t

Re: [iText-questions] Embedding HTML formated Text into PDF

2007-04-04 Thread Harakiri
ed by the HTMLWorker into that area. --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Harakiri wrote: > > Anyone has another suggestion for my requirement ? > > This is an interesting problem. > You can find some suggestions here: > http://itext.ugent.be/library/que

[iText-questions] Sign+Encrypt in one process ? Removing overhead...

2007-04-04 Thread Harakiri
Hello, is it possible to sign+encrypt a pdf in one process ? Im generating PDFs from scratch, also it is possible to do a setEncryption on a PDF writer - im unable to sign the data. I know that i cant change anything after adding a signature to not invalidate. What i currently have to do is 1.

[iText-questions] Embedding HTML formated Text into PDF

2007-04-02 Thread Harakiri
Hello *, i want to include HTML data into a pdf, my first approach was to try to embed a simple html file into a PDF - however this doesnt seem to work (which seems weird cause movies/images work). The second approach was to convert HTML->PDF which doesnt seem to be realiable at the current state

Re: [iText-questions] File Attachments and their hotspot links in a PDF

2007-03-23 Thread Harakiri
--- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > > case how do you put together the FormField with an > > annotation without using GotoE module? > > Don't assume I have followed or remember the > conversation > you have had on the list. Are you saying you want a > GoToE > action without using GoToE?

Re: [iText-questions] File Attachments and their hotspot links in a PDF

2007-03-23 Thread Harakiri
Hello, --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Please read the Wiki: > http://www.lowagie.com/itextwiki/doku.php/collections:kubrick Thank you for this link - however it seems the target actions seem to require a GotoE Module which is not installed in Adobe 6 - is this feature only availa

Re: [iText-questions] File Attachments and their hotspot links in a PDF

2007-03-23 Thread Harakiri
er to me, thanks! Regars --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Harakiri" <[EMAIL PROTECTED]> > To: > Sent: Thursday, March 22, 2007 6:15 PM > Subject: [iText-questions] File Attachments and > their hot

[iText-questions] File Attachments and their hotspot links in a PDF

2007-03-22 Thread Harakiri
Hello, i found Paulos "hack" to have attachments not only be downloadable by clicking on the PIN icon but also on filenames here : http://article.gmane.org/gmane.comp.java.lib.itext.general/19141 Are there any news to this ? Is this the suggested "workaround" ? Because now im facing the problem