Ok, I`ve added the Halftone Class to the itext library in the way Brian showed. Thanks to all.

Now, I'll try to create a Resource Dictionary for the pages of my pdf, and a Graphics State Parameter Dictionary with the HT key calling the created Halftone Dictionary.
I'll write about the results, but previous advises will be hepful.

Berto.


Message: 4
Date: Tue, 24 Apr 2007 09:36:32 -0700
From: "Brian McKeever" <[EMAIL PROTECTED]>
Subject: Re: [iText-questions] New Dictionary
To: "Post all your questions about iText here"
	<itext-questions@lists.sourceforge.net>
Message-ID:
	<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

  
> The error message is:
>
>  Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError: HALFTONE
>     at com.lowagie.text.pdf.PdfHalftone.<init>(Unknown Source)
>
> not HHALFTONE as showed the previos message.
  
Maybe you're running against the wrong version of iText (i.e. not the version you added HALFTONE to) - I think the previous poster was on the right track. If I were doing it, I wouldn't add HALFTONE to PdfName, I would just have the PdfName HALFTONE = new PdfName("Halftone"); in the PdfHalftone class. Brian ------------------------------

begin:vcard
fn;quoted-printable:Alberto Malvido Garc=C3=ADa
n;quoted-printable:Malvido Garc=C3=ADa;Alberto
org;quoted-printable:Universidad de Vigo;Teor=C3=ADa de la Se=C3=B1al y Comunicaciones
adr;dom:;;E.T.S.I. de Telecomunicacion. As Lagoas Marcosende.;Vigo;Pontevedra;36200
email;internet:[EMAIL PROTECTED]
tel;work:+34 986812672
tel;home:652844623
url:http://www.uvigo.es
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to