If I set the writing mode on a page master to "rl" (arabic/hebrew) and 
than define margin-left and right on the region body where are these 
margins suppose to appear on the output device, i.e. would margin-left 
still be on the left side of the paper and margin-right on the right 

A sample fo is further below. My problem is that on the generated PDF 
the margin-left is on the right and vice versa. And I am not sure if 
that is correct.


    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
        <fo:simple-page-master master-name="normal" page-width="3in" 
page-height="5in" margin="18pt" writing-mode="rl">
          <fo:region-body margin-top="18pt" margin-bottom="12pt" 
margin-left="15pt" margin-right="36pt" background-color="yellow" />
          <fo:region-before extent="18pt" background-color="blue" 
precedence="true" />
          <fo:region-after extent="12pt" background-color="green" 
precedence="true" />
          <fo:region-start extent="36pt" background-color="red" />
          <fo:region-end extent="15pt" background-color="orange" />
      <fo:page-sequence master-reference="normal" 
        <fo:static-content flow-name="xsl-region-before">
            r e g i o n  b e f o r e
        <fo:static-content flow-name="xsl-region-after">
            r e g i o n  a f t e r
        <fo:static-content flow-name="xsl-region-start">
            r e g i o n  s t a r t
        <fo:static-content flow-name="xsl-region-end">
            r e g i o n  e n d
        <fo:flow flow-name="xsl-region-body">
            Demonstrates an 18pt margin on the page master.
            The page size is 5in x 3in. On the region body we have:
            margin-top="18pt" margin-bottom="12pt" margin-left="15pt" 

Reply via email to