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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|RTF tables ignore margin-   |RTF (and PDF) tables
                   |left of containing block    |incorrectly handle margin-
                   |                            |left inheritacne




------- Additional Comments From [EMAIL PROTECTED]  2007-08-17 07:48 -------
Hi,

If FOP has no bugs for indent inheritance, I suggest running this snippet:

    <fo:table
        space-before="1in"
        margin-left="2in"
        border-width="10%"
        border-color="black"
        border-style="solid"
        background-color="lightblue"
        padding="0.5in"
        table-layout="fixed" width="60%">
        <fo:table-column column-width="1in"/>
        <fo:table-column column-width="1in"/>
        <fo:table-body>
        <fo:table-row>
             <fo:table-cell background-color="blue">
                 <fo:block>XXXX</fo:block></fo:table-cell>
             <fo:table-cell background-color="gray">
                 <fo:block>YYYY</fo:block>
             </fo:table-cell>
        </fo:table-row>
        </fo:table-body>
    </fo:table>

I'm curious why the cell backgrounds are painted where they are expected, and
then the cell TEXT is painted outside and to the right of the cell backgrounds.
 Surely this must be a bug.

Secondly, if margin-left isn't inherited, then while you are correct that the
original behaviour in RTF I mentioned is wrong, the table snippet causes FOP to
generate incorrect RTF, b/c the \par paragraph elements (e.g. blocks) are
inheriting the margin-left, causing the text "XXXX" and "YYYY" to be indented so
far into the cell that it is invisible...

Interested in your comments.

Best,

V

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