I saw too late that the OP went off-list.
This was my answer, accidentally sent to the OP personally.
John Renfrew wrote:
> So I now have
>
> stamper.addAnnotation(PdfAnnotation.createLink(writer, new Rectangle
> (35,60,30,20), PdfAnnotation.HIGHLIGHT_NONE, "mailto:[email protected]";));
>
> or
>
> s
John Renfrew wrote:
> Is there part of the class that will allow the subject field of a "mailto:";
> link to be populated too??
That's off-topic on the iText list. It's common knowledge that you can
add the subject to a mailto: link like this:
"mailto:[email protected]?subject=stuff";
Also, I see t
John Renfrew wrote:
> If you would be so kind as to point me to the page then I can surely read it
> myself and not trouble you any more.
page 466:
An Annotation object is added to the Document object, whereas a
PdfAnnotation is added to the PdfWriter instance.
You're trying to add an Annota
about iText here
Subject: Re: [iText-questions] set.Annotation
John Renfrew wrote:
> Annotation annot = new Annotation(35, 60,
> 65, 80, new URL("mailto:[email protected]";))
A closer look at the code snippet you've sent,
reveals that you're mixing up Annotation
(for use wi
John Renfrew wrote:
> Annotation annot = new Annotation(35, 60,
> 65, 80, new URL("mailto:[email protected]";))
A closer look at the code snippet you've sent,
reveals that you're mixing up Annotation
(for use with PDFs built from scratch only)
and PdfAnnotation.
The book "iText in Action" explains t
John Renfrew wrote:
> If you change it to
> Stamper.addAnnotation(annot, 1) - it fails
> Or
> PdfStamper.add.Annotation(annot, 1) it fails
>
> So I have given it a page. Ask me another question.
Have you tried this example:
http://1t3xt.be/?X0f9
--
This answer is provided by 1T3XT BVBA
http://w
-
From: 1T3XT info [mailto:[email protected]]
Sent: 31 October 2009 10:39
To: Post all your questions about iText here
Subject: Re: [iText-questions] set.Annotation
John Renfrew wrote:
> This code snippet works when it is part of a writer stream but not stamper
>
> Just want to add a
John Renfrew wrote:
> This code snippet works when it is part of a writer stream but not stamper
>
> Just want to add a clickable highlight to an existing PDF
>
> Any ideas as to why It fails when you add the Stamper.addAnotation line
It would also fail if you'd ask a human to add the annota
This code snippet works when it is part of a writer stream but not stamper
Just want to add a clickable highlight to an existing PDF
Any ideas as to why It fails when you add the Stamper.addAnotation line
I am using Groovy inside Filemaker..
PdfReade