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 2006/09/07 12:31:03 UTC

DO NOT REPLY [Bug 40428] New: - Table borders are always rendered with margin of page-master, table-content is not

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: g.veraghtert@aca-it.be


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.

DO NOT REPLY [Bug 40428] - Table borders are always rendered with margin of page-master, table-content is not

Posted by bu...@apache.org.
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





------- Additional Comments From bowditch_chris@hotmail.com  2006-09-07 11:38 -------
*** Bug 40429 has been marked as a duplicate of this bug. ***

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