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=42374>.
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=42374

           Summary: List label and bodyindentation incorrect in RTF
           Product: Fop
           Version: 0.93
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: rtf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I'm using FOP 0.93 to convert FO to RTF. The FO has a numbered list inside a 
table cell as below. The list item label and body in the generated RTF are not 
indented correctly according to the "start-indent" settings in the FO. It 
looks like the first indent is hard coded with a value 360 and the FO "start-
indent" setting is being ignored in RtfListItem.java.

<fo:table end-indent="-5.4pt" start-indent="-5.4pt" table-layout="fixed">
<fo:table-column column-width="95.4pt"/>
<fo:table-column column-width="369pt"/>
<fo:table-body end-indent="0pt" start-indent="0pt">
<fo:table-row>
<fo:table-cell padding-left="5.4pt" padding-right="5.4pt">
<fo:block line-height="13.7pt" orphans="1" widows="1">
<fo:leader line-height="13.7pt"/>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="5.4pt" padding-right="5.4pt">
<fo:list-block>
<fo:list-item orphans="1" widows="1">
<fo:list-item-label end-indent="0pt" start-indent="14.2pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
i.</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body end-indent="0pt" start-indent="45.35pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
List item 1</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item orphans="1" widows="1">
<fo:list-item-label end-indent="0pt" start-indent="14.2pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
ii.</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body end-indent="0pt" start-indent="45.35pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
List item 2</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item orphans="1" widows="1">
<fo:list-item-label end-indent="0pt" start-indent="14.2pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
iii.</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body end-indent="0pt" start-indent="45.35pt">
<fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
<fo:inline font-family="Arial, sans-serif" font-size="12pt">
List item 3</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
<fo:block line-height="13.7pt" orphans="1" widows="1">
<fo:leader line-height="13.7pt"/>
</fo:block>
<fo:block line-height="13.7pt" orphans="1" widows="1">
<fo:leader line-height="13.7pt"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>

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