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 bu...@apache.org on 2002/07/06 01:45:17 UTC

DO NOT REPLY [Bug 10521] New: - New line not triggered when list-item-body has no text

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10521>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10521

New line not triggered when list-item-body has no text

           Summary: New line not triggered when list-item-body has no text
           Product: Fop
           Version: 0.20.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: finknottle2@yahoo.com


New line not triggered when list-item-body has no text

If a list contains a list-item-body that does not output text, no new line is 
inserted and any additional text is written in place. This happens in multiple 
(text, pdf, AWT) renderers.

For example:

TESTINPUT
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
        <fo:simple-page-master master-name="simple" page-height="25cm"   page-
width="20cm"   margin-top="1cm"
            margin-bottom="1cm"  margin-left="1.5cm"            margin-
right="1.5cm">
            <fo:region-body margin-top="1in"  margin-bottom="1in" />      
<fo:region-before extent=".6in"/>
            <fo:region-after extent=".6in"/>
        </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="simple">
        <fo:flow flow-name="xsl-region-body">
            <fo:block >
                <fo:list-block text-indent="20pt" provisional-distance-between-
starts="2.5in">
                    <fo:list-item>
                        <fo:list-item-label end-indent="label-end()">
                            <fo:block font-style="italic" font-family="Courier">
                                The label
                            </fo:block>
                        </fo:list-item-label>
                        <fo:list-item-body start-indent="body-start()">
                            <fo:block> <!-- No text in the body -->
                            </fo:block>              </fo:list-item-body>
                    </fo:list-item>
                </fo:list-block>
            </fo:block>
            <fo:block>  The next line </fo:block>
        </fo:flow>
    </fo:page-sequence>
</fo:root>
         
================================================
TESTRESULT FROM TEXT RENDERER
The   nextelline

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org