james quest created FOP-2202:
--------------------------------

             Summary: when writing-mode="rl", after spanning block, following 
contents start on left column instead of right column
                 Key: FOP-2202
                 URL: https://issues.apache.org/jira/browse/FOP-2202
             Project: Fop
          Issue Type: Bug
          Components: page-master/layout
    Affects Versions: 1.1
            Reporter: james quest


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>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to