xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bowditch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOP-2624) FO to RTF conversion adds unnecessary \cell after <fo:list-block>...</fo:list-block> when it is nested inside any table cell
Date Mon, 03 Jun 2019 15:05:01 GMT

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

Chris Bowditch commented on FOP-2624:

[~vinodsankar] FOP is open source and so bugs are fixed by volunteers. Feel free to jump in
and help

When running your FO File I am getting a lot of validation errors like:


org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:list-block": list-style-type
(See position 142:119)


I will have a go at fixing them, but to save time and avoid further delays provide clean XSL-FO
up front is the effective way to get a resolution

> FO to RTF conversion adds unnecessary \cell after <fo:list-block>...</fo:list-block>
when it is nested inside any table cell
> ----------------------------------------------------------------------------------------------------------------------------
>                 Key: FOP-2624
>                 URL: https://issues.apache.org/jira/browse/FOP-2624
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: jaydeep V
>            Priority: Major
>         Attachments: FO.xml, HTML.html, RTF.rtf
> I am trying to convert from FO to RTF here, The version of FOP i am using is 1.1
> let say below is my FO
> ...
> ...
> <fo:table>
> <fo:table-body role="html:tbody">
> <fo:table-row role="html:tr">
> <fo:table-cell role="html:td">
> <fo:block>
> <fo:list-block  list-style-type="disc" role="html:ul">
> <fo:list-item role="html:li">
> <fo:list-item-label end-indent="label-end()">
> <fo:block><fo:inline >•</fo:inline></fo:block>
> </fo:list-item-label>
>  <fo:list-item-body start-indent="body-start()">
>  <fo:block>test data</fo:block>
> </fo:list-item-body>
>  </fo:list-item>
> ...(similarly many list items)..
> </fo:list-block>
> ..(some more fo:block div data)..
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> here immediately after the </fo:list-block> RTF is addind '\cell', Because of that
even though there is some data after list block RTF treats it as end of table cell. 
> so Rest of the data after list block won't be visible in RTF.

This message was sent by Atlassian JIRA

View raw message