You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jim Quest <qu...@gmail.com> on 2013/01/29 19:14:42 UTC
when writing-mode="rl", after spanning block, following contents
start on left column instead of right column
hi all,
when writing-mode="rl" in a 2 column page, the first column is on the right.
however, when there is a spanning block, the following contents are on the
left column instead of the right column!
please find attached the pdf output
here is the fo. is there something i am doing wrong, or is this a critical
issue?
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" writing-mode="rl-tb">
<fo:layout-master-set>
<fo:simple-page-master page-height="30mm" page-width="50mm"
master-name="page">
<fo:region-body column-count="2"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="page">
<fo:flow flow-name="xsl-region-body">
<fo:block background-color="yellow">para 1</fo:block>
<fo:block background-color="gray">para 2</fo:block>
<fo:block background-color="yellow">para 3</fo:block>
<fo:block background-color="gray">para 4</fo:block>
<fo:block background-color="yellow">para 5</fo:block>
<fo:block background-color="gray">para 6</fo:block>
<fo:block background-color="yellow">para 7</fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="page">
<fo:flow flow-name="xsl-region-body">
<fo:block background-color="yellow" span="all">para 1a, spanned
column</fo:block>
<fo:block background-color="gray">para 2a in wrong column</fo:block>
<fo:block background-color="gray">para 3a</fo:block>
<fo:block background-color="gray">para 4a</fo:block>
<fo:block background-color="gray">para 5a</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Re: when writing-mode="rl", after spanning block, following contents
start on left column instead of right column
Posted by Glenn Adams <gl...@skynav.com>.
this appears to be a bug; please file an issue at
https://issues.apache.org/jira/browse/FOP and be sure to attach the test
input FO file and output PDF file
On Tue, Jan 29, 2013 at 11:14 AM, Jim Quest <qu...@gmail.com> wrote:
> hi all,
>
> when writing-mode="rl" in a 2 column page, the first column is on the
> right.
> however, when there is a spanning block, the following contents are on the
> left column instead of the right column!
> please find attached the pdf output
>
> here is the fo. is there something i am doing wrong, or is this a critical
> issue?
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> writing-mode="rl-tb">
> <fo:layout-master-set>
> <fo:simple-page-master page-height="30mm" page-width="50mm"
> master-name="page">
> <fo:region-body column-count="2"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
>
> <fo:page-sequence master-reference="page">
> <fo:flow flow-name="xsl-region-body">
> <fo:block background-color="yellow">para 1</fo:block>
> <fo:block background-color="gray">para 2</fo:block>
> <fo:block background-color="yellow">para 3</fo:block>
> <fo:block background-color="gray">para 4</fo:block>
> <fo:block background-color="yellow">para 5</fo:block>
> <fo:block background-color="gray">para 6</fo:block>
> <fo:block background-color="yellow">para 7</fo:block>
> </fo:flow>
> </fo:page-sequence>
> <fo:page-sequence master-reference="page">
> <fo:flow flow-name="xsl-region-body">
> <fo:block background-color="yellow" span="all">para 1a, spanned
> column</fo:block>
> <fo:block background-color="gray">para 2a in wrong column</fo:block>
> <fo:block background-color="gray">para 3a</fo:block>
> <fo:block background-color="gray">para 4a</fo:block>
> <fo:block background-color="gray">para 5a</fo:block>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>