Quoting Mark Goking <[EMAIL PROTECTED]>:

> I guess it may be a bug. Yes I did set it using widthPercentage at
> 100% AND THE result is still like only 70 or 80%

OK, sorry.

> 
> As for my other email about
> 
> > 1) i have a tagmap mapping chunk to my text. if i use symbols like 
> > dash -, a trademark symbol � and �, it gives me an exception, any 
> > workaround on this one?
> 
> 
> I tried it using pure java code and it works fine in a Chunk object.
> But placing it inside an xml tag gives an exception. So im assuming
> this aint supported yet in xml. :)

I add such special entities with <entity id="trade" />,
but I never did it in a TagMap. As a matter of fact,
I never use an XML tagmap, I always work with XmlPeer
and HashMaps.

> > 2) is it possible to map a Graphic class to xml tagmap? i want to
> map 
> > it so i can do something like <hr> in html
> 
> > ElementTags.HORIZONTALRULE
> 
> How can this be aliased in an xml tagmap?
> 
> <tag name="elemengtags" alias="hr">
> <attribute name="horizontalrule" value="horizontalrule" />
> </tag>
> 
> ??? Is this right?

No, this doesn't look right.
The value of ElementTags.HORIZONTALRULE = "horizontalrule"
So it should be something like:
<tag name="horizontalrule" alias="hr" />

See also
http://itext.sourceforge.net/src/com/lowagie/text/html/HtmlTagMap.java
for this kind of things.
peer = new HtmlPeer(ElementTags.HORIZONTALRULE, HtmlTags.HORIZONTALRULE);
put(peer.getAlias(), peer);


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to