You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Finn Bock <bc...@worldonline.dk> on 2005/08/31 01:09:43 UTC
Re: svn commit: r264856 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf:
TextAttributesConverter.java rtflib/rtfdoc/RtfText.java
pherweg@apache.org wrote:
> +
> + private static void attrBaseLineShift(EnumLength baselineShift, RtfAttributes rtfAttr) {
> +
> + String s = baselineShift.getString();
Use baselineShift.getEnum() to get the enum values that is assigned to a
length. Never ever use the getString() method, it is purely there for
debugging and for use by the testing frameworks.
I have also fixed this in SVN.
regards,
finn
AW: svn commit: r264856 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf: TextAttributesConverter.java rtflib/rtfdoc/RtfText.java
Posted by Peter Herweg <ph...@web.de>.
Thank you, Finn!
Regards,
Peter Herweg
-----Ursprungliche Nachricht-----
Von: fop-dev-return-27529-pherweg=web.de@xmlgraphics.apache.org
[mailto:fop-dev-return-27529-pherweg=web.de@xmlgraphics.apache.org]Im
Auftrag von Finn Bock
Gesendet: Mittwoch, 31. August 2005 01:10
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: svn commit: r264856 - in
/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf:
TextAttributesConverter.java rtflib/rtfdoc/RtfText.java
pherweg@apache.org wrote:
> +
> + private static void attrBaseLineShift(EnumLength baselineShift,
RtfAttributes rtfAttr) {
> +
> + String s = baselineShift.getString();
Use baselineShift.getEnum() to get the enum values that is assigned to a
length. Never ever use the getString() method, it is purely there for
debugging and for use by the testing frameworks.
I have also fixed this in SVN.
regards,
finn