At the suggestion of David Freels, I am going to start
coding this myself.  One interesting question:  Why
does Graphic live in the com.lowagie.text package yet
inherit from com.lowagie.text.pdf.PdfContentByte?

By the way, the original message is several months
old...
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> Okay, I thought of one way to do the HTML attributes
> that might work.
> 
> public interface MarkupAttributes
> {
>   public Set getMarkupAttributeNames();
>   public void setMarkupAttribute(String name,
>                                  String value);
>   public String getMarkupAttribute(String name);
> }
> 
> then you could have
> 
> public class MarkupChunk
>  extends Chunk
>  implements MarkupAttributes ...
> 
> 
> The writers could ignore the fact that:
>   (markupChunkInstance instanceof MarkupAttributes)
> 
> because a MarkupChunk would still return
> Element.Chunk
> as its type, but an HtmlWriter or XmlWriter could
> check the included attributes for certain
> elements...
> I think this would be pretty easy to implement, too.
> 
> What do you think?  :)
> 
> (I realize I'm probably becoming VERY annoying, but
> hey...)
> 
> -Matt
> 
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site
> hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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

Reply via email to