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 "Seifeddine Dridi (JIRA)" <ji...@apache.org> on 2013/04/30 17:40:16 UTC

[jira] [Comment Edited] (FOP-2225) Inline background-color will be inherit to next cell

    [ https://issues.apache.org/jira/browse/FOP-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645672#comment-13645672 ] 

Seifeddine Dridi edited comment on FOP-2225 at 4/30/13 3:40 PM:
----------------------------------------------------------------

If you comment line 462 in RtfTextrun.writeRtfContent(), RTF generation will be correct. I'm guessing that elements inside a table cell inherit style attributes of their parent, which is fine but the problem might be that FOP is reusing objects without reinitializing them properly...
                
      was (Author: sdridi):
    If you comment line 462 in RtfTextrun.writeRtfContent(), RTF generation will be correct. I'm guessing that elements inside a table cell inherit style attributes of their parent, which is fine but the problem might be that FOP is reusing objects without reinitializing them properly. For instance, when we switch the <fo:table-cell> so that the one with background-color comes last, the output RTF document is correct.
                  
> Inline background-color will be inherit to next cell
> ----------------------------------------------------
>
>                 Key: FOP-2225
>                 URL: https://issues.apache.org/jira/browse/FOP-2225
>             Project: Fop
>          Issue Type: Bug
>          Components: rtf
>    Affects Versions: trunk
>            Reporter: Markus Sticker
>            Priority: Minor
>         Attachments: table_error_inline.fo, table_error_inline.rtf
>
>
> Table-cells:
> The inline background-color will be taken to the next cell.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira