[ 
https://issues.apache.org/jira/browse/FOP-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jaydeep V updated FOP-2624:
---------------------------
    Description: 
I am trying to convert from FO to RTF here, 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.

  was:
I am trying to convert from FO to RTF here, 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 like blocks 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.


> FO to RTF conversion adds unnecessary \cell after </fo:list-block> when it is 
> inside any table cell
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FOP-2624
>                 URL: https://issues.apache.org/jira/browse/FOP-2624
>             Project: FOP
>          Issue Type: Bug
>            Reporter: jaydeep V
>
> I am trying to convert from FO to RTF here, 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
(v6.3.4#6332)

Reply via email to