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 "MOHD (JIRA)" <ji...@apache.org> on 2014/05/13 09:34:14 UTC
[jira] [Updated] (FOP-2373) list-item-body with multi-line items
[ https://issues.apache.org/jira/browse/FOP-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
MOHD updated FOP-2373:
----------------------
Description:
I got some issue in list-block, when FO file contains list-block and list-item-body with multi-line items. Issue in RTF format where labels are repeating. Please find below the scenario.
FO syntax:
<fo:list-block>
<fo:list-item>
<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>
Item 1 Line 1
</fo:block>
<fo:block>
Item 1 Line 2
</fo:block>
<fo:block>
Item 1 Line 3
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<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>
Item 2 Line 1
</fo:block>
<fo:block>
Item 2 Line 2
</fo:block>
<fo:block>
Item 2 Line 3
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
RTF output it appears as
* Item 1 Line 1
* Item 1 Line 2
* Item 1 Line 3
* Item 2 Line 1
* Item 2 Line 2
* Item 2 Line 3
I got the below patch and it solves the issue outside the table not inside.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50163
Please suggest me if someone has solution..
was:
I got some issue in list-block, when FO file contains list-block and list-item-body with multi-line items. Issue in RTF format where labels are repeating. Please find below the scenario.
FO syntax:
<fo:list-block>
<fo:list-item>
<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>
Item 1 Line 1
</fo:block>
<fo:block>
Item 1 Line 2
</fo:block>
<fo:block>
Item 1 Line 3
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<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>
Item 2 Line 1
</fo:block>
<fo:block>
Item 2 Line 2
</fo:block>
<fo:block>
Item 2 Line 3
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
RTF output it appears as
* Item 1 Line 1
* Item 1 Line 2
* Item 1 Line 3
* Item 2 Line 1
* Item 2 Line 2
* Item 2 Line 3
I got the below patch and it solves the issue outside the table not inside.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50163
Please suggest me where I have to put this issue.
> list-item-body with multi-line items
> ------------------------------------
>
> Key: FOP-2373
> URL: https://issues.apache.org/jira/browse/FOP-2373
> Project: Fop
> Issue Type: Bug
> Components: rtf
> Affects Versions: 1.0
> Reporter: MOHD
> Labels: lisitem, listblock, rtf
>
> I got some issue in list-block, when FO file contains list-block and list-item-body with multi-line items. Issue in RTF format where labels are repeating. Please find below the scenario.
> FO syntax:
> <fo:list-block>
> <fo:list-item>
> <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>
> Item 1 Line 1
> </fo:block>
> <fo:block>
> Item 1 Line 2
> </fo:block>
> <fo:block>
> Item 1 Line 3
> </fo:block>
> </fo:list-item-body>
> </fo:list-item>
> <fo:list-item>
> <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>
> Item 2 Line 1
> </fo:block>
> <fo:block>
> Item 2 Line 2
> </fo:block>
> <fo:block>
> Item 2 Line 3
> </fo:block>
> </fo:list-item-body>
> </fo:list-item>
> </fo:list-block>
> RTF output it appears as
> * Item 1 Line 1
> * Item 1 Line 2
> * Item 1 Line 3
> * Item 2 Line 1
> * Item 2 Line 2
> * Item 2 Line 3
> I got the below patch and it solves the issue outside the table not inside.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50163
> Please suggest me if someone has solution..
--
This message was sent by Atlassian JIRA
(v6.2#6252)