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 2008/05/05 17:00:29 UTC
DO NOT REPLY [Bug 44935] New: Table content within tables with
margin-left are offset too
https://issues.apache.org/bugzilla/show_bug.cgi?id=44935
Summary: Table content within tables with margin-left are offset
too
Product: Fop
Version: all
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P2
Component: page-master/layout
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: dewayne.hafenstein@columbiaultimate.com
When a document is created using a table specified with margin-left of any
value, the contents of the table are also offset in the cells by the same
amount. It appears that the margin-left trait of the table is being inherited
by the table cells as well, when it should not be.
I was able to recreate this problem with any margin value, but it is especially
noticeable with a large left margin, such as 2.5in or 3in. The specific
application we were trying to perform was a letter with a form section
displaced to the right on the page.
When the left margin is set to zero, the problem disappears. I also noticed
that all of the test cases do not use left margins for the tables, so it is
possible that this has existed for a long time.
I have attached the actual letter document that I was trying to render to this
bug report. It was created from a Word document, converted using Open-Office
and XSLT transforms to convert it to XSL-FO. I have also been able to
reproduce the problem with a hand-coded document.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44935] Table content within tables with
margin-left are offset too
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44935
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-01 13:51:58 UTC ---
batch transition to closed remaining pre-FOP1.0 resolved bugs
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44935] Table content within tables with
margin-left are offset too
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44935
Andreas L. Delmelle <ad...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Andreas L. Delmelle <ad...@apache.org> 2008-05-05 08:10:13 PST ---
This is not a bug, but a known peculiarity in the XSL-FO Recommendation.
We have dedicated an entire Wiki page to it:
http://wiki.apache.org/xmlgraphics-fop/IndentInheritance
In short:
- margin-left indeed is not inherited, but the corresponding property
start-indent is
- the value of margin-left is used to compute start-indent on the table (lr-tb
writing mode)
- the descendants inherit the computed value for start-indent
You can sidestep the problem, either by resetting start-indent to "0pt" on the
table-body, or by using a configuration file that sets the
'break-indent-inheritance' configuration option to true.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44935] Table content within tables with
margin-left are offset too
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44935
--- Comment #1 from Dewayne Hafenstein <de...@columbiaultimate.com> 2008-05-05 08:01:20 PST ---
Created an attachment (id=21921)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21921)
This is an actual letter that we are using to test our application with
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.