Hi, The patch is attached to this message.
Thanks Tonny Kohar > > > > It may be easier and cleaer to add this method to Mark, as > > every Mark actually created is an instance of > > "gvt.renderer.BasicTextPainter.BasicMark" which contains a TextHit > > internally. > > So, I will add method public TextHit getHit() on interface > org.apache.batik.gvt.text.Mark. That's mean every mark have text hit > property. is it ok for you? >
Index: Mark.java =================================================================== RCS file: /home/cvspublic/xml-batik/sources/org/apache/batik/gvt/text/Mark.java,v retrieving revision 1.4 diff -u -r1.4 Mark.java --- Mark.java 18 Aug 2004 07:14:42 -0000 1.4 +++ Mark.java 24 Feb 2005 05:32:52 -0000 @@ -30,4 +30,7 @@ * Return the TextNode this Mark is associated with */ TextNode getTextNode(); + + /** Return the TextHit for this mark */ + public TextHit getHit(); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]