Hi,

In Wordpad the list items are numbered as '1', '2', '3' (no dot) but in MS
Word 2002 they are all numbered as '1.'. Is Wordpad doing some good guessing
or is the output RTF wrong?

It does look like FOP has generated a separate list for each item which
probably is incorrect. It works if I use a text editor to change ls2 in
"\pntxta. }\ls2 {\pntext" and ls3 in "\pntxta. }\ls3 {\pntext" to ls1. Any
idea is this a bug in FOP? Thanks.


{\*\generator Apache XML Graphics RTF Library;}
\fet0 \ftnbj 
{\*\listtable
{\list\listtemplateid-723955400\listsimple{\listlevel\leveljc\levelfollow0\levelspace0\levelindent0\levelstartat1{\leveltext\'03\'00.
;}{\levelnumbers\'01;}\f0 }{\listname ;}\listid-1155484576}
{\list\listtemplateid-1690734402\listsimple{\listlevel\leveljc\levelfollow0\levelspace0\levelindent0\levelstartat1{\leveltext\'03\'00.
;}{\levelnumbers\'01;}\f0 }{\listname ;}\listid1033096058}
{\list\listtemplateid1327362106\listsimple{\listlevel\leveljc\levelfollow0\levelspace0\levelindent0\levelstartat1{\leveltext\'03\'00.
;}{\levelnumbers\'01;}\f0 }{\listname ;}\listid-1557280266}
}
{\*\listoverridetable
{\*\listoverride{\listid-1155484576\listoverridecount0\ls1}}
{\*\listoverride{\listid1033096058\listoverridecount0\ls2}}
{\*\listoverride{\listid-1557280266\listoverridecount0\ls3}}
}
\paperw11906 \paperh16838 \margt1134 \margb1134 \margl1701 \margr850
\headery1134 \footery1134 
\sectd 
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li0 \b0 
{\i0 \fs24 \cf1 \f4 \b0 \sb0 
{\i0 \fs24 \sa0 \ul0 \cf1 \strike0 \f4 \b0 \sb0 
This is a list:
\par 
}
}
}\pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1 \pnindent
\pntxta. }\ls1 {\pntext \f1 \'b7 \tab }
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li720 \b0 
{\i0 \fs24 \cf1 \f4 \b0 \sb0 
{\i0 \fs24 \sa0 \ul0 \cf1 \strike0 \f4 \b0 \sb0 
List item 1.
\par {\pntext \f1 \'b7 \tab }
}
}
}\pard \pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1
\pnindent \pntxta. }\ls2 {\pntext \f1 \'b7 \tab }
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li720 \b0 
{\i0 \fs24 \cf1 \f4 \b0 \sb0 
{\i0 \fs24 \sa0 \ul0 \cf1 \strike0 \f4 \b0 \sb0 
List item 2.
\par {\pntext \f1 \'b7 \tab }
}
}
}\pard \pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1
\pnindent \pntxta. }\ls3 {\pntext \f1 \'b7 \tab }
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li720 \b0 
{\i0 \fs24 \cf1 \f4 \b0 \sb0 
{\i0 \fs24 \sa0 \ul0 \cf1 \strike0 \f4 \b0 \sb0 
List item 3.
\par {\pntext \f1 \'b7 \tab }
}
}
}\pard 
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li0 \b0 
}
{\ri0 \i0 \ql \fs24 \cf1 \f3 \li0 \b0 
}\sect }


davidl wrote:
> 
> Hi,
> 
> I'm using Microsoft Word 2002. Many thanks.
> 
> 
> Adrian Cumiskey wrote:
>> 
>> Hi David,
>> 
>> Have not tried to reproduce this with 0.92 beta or 0.93.  This FO 
>> list-block seems to work fine in the trunk.  Which RTF viewer are you 
>> using to test the results?
>> 
>> Adrian.
>> 
>> davidl wrote:
>>> Hi,
>>> 
>>> I'm using FOP 0.92 beta to convert FO to RTF. I have a numbered list in
>>> the
>>> FO but list items in the output RTF are all numbered as '1.' with no
>>> increment:
>>> 1.  List item 1.
>>> 1.  List item 2.
>>> 1.  List item 3.
>>> 
>>> FOP 0.93 also gives the same result.
>>> 
>>> My FO list-block is as below:
>>> 
>>> <fo:list-block>
>>> <fo:list-item>
>>> <fo:list-item-label end-indent="0pt" start-indent="18pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> 1.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-label>
>>> <fo:list-item-body end-indent="0pt" start-indent="36pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> List item 1.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-body>
>>> </fo:list-item>
>>> <fo:list-item>
>>> <fo:list-item-label end-indent="0pt" start-indent="18pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> 2.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-label>
>>> <fo:list-item-body end-indent="0pt" start-indent="36pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> List item 2.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-body>
>>> </fo:list-item>
>>> <fo:list-item>
>>> <fo:list-item-label end-indent="0pt" start-indent="18pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> 3.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-label>
>>> <fo:list-item-body end-indent="0pt" start-indent="36pt">
>>> <fo:block line-height="13.7pt" text-align="start" text-indent="0pt">
>>> <fo:inline font-family="Times Roman, serif" font-size="12pt">
>>> List item 3.</fo:inline>
>>> </fo:block>
>>> </fo:list-item-body>
>>> </fo:list-item>
>>> </fo:list-block>
>>> 
>>> Thanks.
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/RTF-list-numbering-incorrect-tf3418318.html#a9655088
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to