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/03/26 18:40:29 UTC

DO NOT REPLY [Bug 7490] New: - fo:leader pushes words out of line

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=7490>.
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=7490

fo:leader pushes words out of line

           Summary: fo:leader pushes words out of line
           Product: Fop
           Version: 0.20.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: apa3a@yahoo.com


Insteand of changing size to fill available space only fo:leader pushes other
words out of line.
I found the when I tried to align one text to the right, other part to the left
on the same line as described in Dave Pawson book at
http://www.dpawson.co.uk/xsl/sect3/bk/appA.html

Test code:

<?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">
    <fo:region-body/>
  </fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="simple">
  <fo:flow flow-name="xsl-region-body">
    <fo:block text-align-last="justify">
      Left-Hand Text<fo:leader leader-pattern="space"/>Right-Hand Text
  </fo:block>
</fo:flow>
</fo:page-sequence>

</fo:root>

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