DO NOT REPLY [Bug 42049] - RTF tables ignore margin-left of containing block
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=42049. 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=42049 --- Additional Comments From [EMAIL PROTECTED] 2007-08-16 15:24 --- An additional point: there is a general bug in the entire FOP processor in which indent properties are being passed to the children of tables. In PDF, this manifests itself by a rightward shifting of the table cells out of the content area of the table itself. In RTF, this means that even though the table is incorrectly NOT indented by its start-indent figure, the cells inside it ARE indented! This is the opposite of what should happen. Try the following fo snippet under RTF and PDF. Using Altsoft's free XSL-FO Debugger, you can see how things should be. fo:table table-layout=fixed width=50% fo:table-column width=50%/ fo:table-column width=50%/ fo:table-body fo:table-row fo:table-cellfo:blockXXX/fo:block/fo:table-cell fo:table-cellfo:blockYYY/fo:block/fo:table-cell /fo:table-row /fo:table-body /fo:table -- 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 42049] - RTF tables ignore margin-left of containing block
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=42049. 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=42049 --- Additional Comments From [EMAIL PROTECTED] 2007-08-16 15:26 --- Pardon me. In above example, I forgot to add a 'start-indent=2in' onto the table. The opening table node should read: fo:table table-layout=fixed width=50% start-indent=2in -- 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 42049] - RTF tables ignore margin-left of containing block
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=42049. 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=42049 --- Additional Comments From [EMAIL PROTECTED] 2007-04-04 10:52 --- RTF rendering of tables inside a block with a positive margin-left property is exhibiting different behaviour than rendering of AWT/PS/c. In particular, in the RTF render, tables always seem to be left-aligned even if their parent has a positive margin-left. However, the same tables are indented as one would expect in the other render modes. Consider this stylesheet (it will work with any XML file if you run fop -xml any_file -xsl file_provided_below -rtf output_file.rtf ?xml version=1.0 encoding=ISO-8859-1? !-- desc: reproduce problem where RTF table is rendered with incorrect -- !-- margin but PS/AWT versions rendered with correct margin. -- xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xsl:template match=/ fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=A4 fo:region-body margin-left=0.26in margin-right=0.25in margin-top=0.17in margin-bottom=0.17in/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=A4 fo:flow flow-name=xsl-region-body fo:block margin-left=0.8in padding-left=0in font- family=arial font-size=8pt !-- a block indented by the margin, correctly. -- fo:block padding-bottom=10ptSome correctly indented text./fo:block !-- a table incorrectly indented. -- fo:table table-layout=fixed padding-bottom=2.7pt fo:table-column column-width=2in/ fo:table-column column-width=2in/ fo:table-body fo:table-row fo:table-cell margin-left=0in fo:blockShould align with/fo:block /fo:table-cell fo:table-cell margin-left=0in fo:blockText above/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet -- 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.