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/01/23 18:46:25 UTC

DO NOT REPLY [Bug 5984] New: - text-align="end" does not work correctly when using page-number-citation

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

text-align="end" does not work correctly when using page-number-citation

           Summary: text-align="end" does not work correctly when using
                    page-number-citation
           Product: Fop
           Version: all
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: scott.moore@netdecide.com


This happens in 0.20.3rc

The following FO can be used to reproduce the problem.

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master margin-bottom="1in" margin-left="1in" 
margin-right="1in" margin-top="1in" master-name="Standard" page-height="11in" 
page-width="8.5in">
			<fo:region-body margin-bottom="0in" margin-left="0in" 
margin-right="0in" margin-top="0in"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="Standard">
		<fo:flow flow-name="xsl-region-body">
			<fo:block font-family="Times-Roman" font-size="18pt" 
text-align="end">
				(this should be aligned with the line below) 
Page 1 of <fo:page-number-citation ref-id="page2"/>
			</fo:block>
			<fo:block font-family="Times-Roman" font-size="18pt" 
text-align="end">
				(this should be aligned with the line below) 
Page 1 of 2
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
	<fo:page-sequence master-reference="Standard">
		<fo:flow flow-name="xsl-region-body">
			<fo:block id="page2">This is page 2</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