DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41389>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41389 Summary: Rtf numbered lists without numbers Product: Fop Version: 0.93 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: rtf AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: [EMAIL PROTECTED] I convert DocBook XML document to RTF, using xsltproc for generation of .fo file, and next FOP 0.93. Document has orderedlist and itemizedlists. Itemizedlists are converted to bullets very well, but orderedlist has no numbers in front of paragraphs. I've done some experiments with .fo file which showed to me that everything starting with a digit is treated as a numbered list element. <fo:list-item-label> <fo:block>1.</fo:block> </fo:list-item-label> Next I browsed trough source code of fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListItem.java and found confirmation: if (label.length() > 0 && Character.isDigit(label.charAt(0))) { rtfListItem.setRtfListStyle(new RtfListStyleNumber()); } else { rtfListItem.setRtfListStyle(new RtfListStyleText(label)); } I suspect that there is something wrong with RtfListStyleNumber, but I'm not java programmer so my possibilities end here. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.