DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40428>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40428

           Summary: Table borders are always rendered with margin of page-
                    master, table-content is not
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


When specifying a margin-left of 0 cm on a simple-page-master, a table border is
always rendered with no margin (generating a PDF-file). Even if the table in
question is nested inside a block-element with a margin X > 0cm (or if the table
itself has a margin X), the content of the table however seems to have the 
margin X.

The following fo-document reproduces the problem:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="simpleA4" page-height="29.7cm"
page-width="21cm" margin-top="0cm" margin-bottom="0cm" margin-left="0cm"
margin-right="0cm" >
      <fo:region-body></fo:region-body>
    </fo:simple-page-master>
  </fo:layout-master-set>
        
  <fo:page-sequence master-reference="simpleA4">
    <fo:flow flow-name="xsl-region-body" >
      <fo:block margin-left="6cm">
        This is a normal text
        <fo:table table-layout="fixed" border-width="1mm" border-style="solid" >
          <fo:table-column column-width="80mm"/>
          <fo:table-column column-width="80mm"/>
            <fo:table-body >
              <fo:table-row>
                <fo:table-cell>
                  <fo:block>This is the first cell</fo:block>
                </fo:table-cell>
                <fo:table-cell>
                  <fo:block>This is the second cell</fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-body>
          </fo:table>
        </fo:block>
      </fo:flow>
   </fo:page-sequence>
</fo:root>

What I want to achieve:
 -a background-image covering whole page (no margin)
 -text has to have a margin of 6cm

Is there a work-around?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to