You would also have to implement the create() method properly to do
the create on the underlying graphics, and create a new wrapper
graphics.
On Mar 2, 2007, at 12:01 PM, robert engels wrote:
> Maybe just create a wrapper PdfGraphics that contains a reference
> to the underlying PdfGraphics
Maybe just create a wrapper PdfGraphics that contains a reference to
the underlying PdfGraphics and then delegate all methods to it.
Intercept the drawString calls, detect the urls, and then add the
annotations to the pdf.
-
; [mailto:[EMAIL PROTECTED] On
> Behalf Of Darrell Berry
> Sent: Friday, March 02, 2007 7:45 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] graphics2d/pdfmark...
>
> Hi
>
> Searched the archives, and couldn't find a similar question, so...
Hi
Searched the archives, and couldn't find a similar question, so...
I have a java app which currently exports graphics2d objects rendered
using the excellent JUNG visualisaiton library as EPS files (amongst
other formats), using a slightly-hacked version of the FreeHEP vector
graphics too