Serge S. Vasiljev writes:

> Well, actually -Bruno I still did not get any response or advice for that question 
> ( just that one from you ;-) )
> You thought that I got answer just because my "thanks" in the end of the letter :-) ?

I received a mail only containing the text:
thanks fo help
I assumed this meant you had already received an answer. 

> Could you please give me  a short explanation - how I can make it ?

First the image as link question.
This is not yet supported, but it would be easy to write some
code that automatically adds an annotation when an image is added.
For the moment, the only thing you can do, is to add an image
at an absolute position, and add an annotation at the same
coordinates. 

For the annotations, see:
http://www.lowagie.com/iText/tutorial/ch11.html#annot
(example 8) 

All this functionality (links etc.) is not yet supported in
the XML package. I should really update this. 

For the other image-XML question, please compare:
the iText DTD, with the constructor of the Image object.
<!ELEMENT image EMPTY>
<!ATTLIST image
   url             CDATA   #REQUIRED
   align           CDATA   #IMPLIED
   underlying      CDATA   #IMPLIED
   textwrap        CDATA   #IMPLIED
   alt             CDATA   #IMPLIED
   absolutex       CDATA   #IMPLIED
   absolutey       CDATA   #IMPLIED
   plainwidth      CDATA   #IMPLIED
   plainheight     CDATA   #IMPLIED
   rotation        CDATA   #IMPLIED
>
The alignment attribute takes a text, such as "Middle";
the underlying and textwrap attributes take a boolean
(correct me if I'm wrong). 

> And I have another question:
>  How I can define nestedtables via XML ( paraser throws Exception when I'm trying to 
>add Tabel ) - BUT I learned how to make it manualy from Java code ( from Java 
>tutorial ) ?

Nested tables were not supported yet at the moment I wrote
the XML 2 PDF functionality. It's on my (very large) todo list. 

kind regards,
Bruno Lowagie

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to