Hi Thanasis,
Apologize that my knowledge in RTF is very minimal. I will do my best to
describe the issue here.
Take a look at the part where I highlight in red, it's showing the correct
numbering. Maybe that's why it's working properly in Wordpad, but somehow MS
Word think it's wrong?
{\b0 \cf1 \f5 \ri0 \i0 \ql \fs20 \li0 \pard \fi-360 \li {\*\pn \pnlvlbody
\ilvl0 \ls0 \pndec \pnstart1 \pnindent \pntxta. }\ls1 {\pntext \f1 \'b7 \tab }
{\b0 \cf1 \f5 \ri0 \i0 \ql \fs20 \li896
{\b0 \cf1 \f5 \ul0 \strike0 \i0 \fs20 \sa0 \sb0
Greet the candidate and introduce yourself, giving your name and position
within the organization.
\par {\pntext \f1 \'b7 \tab }
}
}\pard \pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1
\pnindent \pntxta. }\ls2 {\pntext \f1 \'b7 \tab }
{\b0 \cf1 \f5 \ri0 \i0 \ql \fs20 \li896
{\b0 \cf1 \f5 \ul0 \strike0 \i0 \fs20 \sa0 \sb0
Confirm the job for which the candidate is being considered.
\par {\pntext \f1 \'b7 \tab }
}
}\pard \pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1
\pnindent \pntxta. }\ls3 {\pntext \f1 \'b7 \tab }
{\b0 \cf1 \f5 \ri0 \i0 \ql \fs20 \li896
{\b0 \cf1 \f5 \ul0 \strike0 \i0 \fs20 \sa0 \sb0
Explain the purpose of the interview: to gather specific information about
\par {\pntext \f1 \'b7 \tab }
}
}\pard \pard \fi-360 \li {\*\pn \pnlvlbody \ilvl0 \ls0 \pndec \pnstart1
\pnindent \pntxta. }\ls4 {\pntext \f1 \'b7 \tab }
{\b0 \cf1 \f5 \ri0 \i0 \ql \fs20 \li896
{\b0 \cf1 \f5 \ul0 \strike0 \i0 \fs20 \sa0 \sb0
Describe the interview plan.\u160\'3f\u160\'3f
\par {\pntext \f1 \'b7 \tab }
}
}\pard
}
So far I have looked at Bug 1331
(https://issues.apache.org/jira/browse/FOP-1331) with patch fix without any
luck.
(https://issues.apache.org/jira/secure/attachment/12558243/list-fixing-patch.txt)
FTY bug 1292 is related to this problem as well
https://issues.apache.org/jira/browse/FOP-1292
Cheers,
Chen
From: A Gian [mailto:[email protected]]
Sent: Sunday, November 02, 2014 4:00 PM
To: [email protected]
Subject: RE: RTF list numbering incorrect
Hello,
I can reproduce the issue in trunk, fop 1.0 and fop 1.1 using a simple fo (see
attachments). I am not really familiar with the rtf syntax but i find it
interesting, that the correct is correct when opened with wordpad and not with
microsoft office 2010.
Thanasis
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Subject: RTF list numbering incorrect
Date: Thu, 30 Oct 2014 16:06:16 +0000
Hi all,
I'm using Fop trunk (built on September,2014) to convert FO to RTF. I have a
numbered list in the FO , it worked fine when I convert it into PDF, but when I
output it to RTF all numbered as '1', with no increment.
Result in PDF:
1. Greet the candidate and introduce yourself, giving your name and position
within the organization.
2. Confirm the job for which the candidate is being considered.
3. Explain the purpose of the interview: to gather specific information about
4. Describe the interview plan
Result in RTF(open in Word 2010)
1. Greet the candidate and introduce yourself, giving your name and position
within the organization.
1. Confirm the job for which the candidate is being considered.
1. Explain the purpose of the interview: to gather specific information about
1. Describe the interview plan.
Data in xml format
<content>
<item type="num_list">
<list-num>
<list-item>
<data><![CDATA[Greet the candidate and
introduce yourself, giving your name and position within the
organization.]]></data>
</list-item>
<list-item>
<data><![CDATA[Confirm the job for which the
candidate is being considered.]]></data>
</list-item>
<list-item>
<data><![CDATA[Explain the purpose of the
interview: to gather specific information about]]></data>
</list-item>
<list-item>
<data><![CDATA[Describe the interview plan.
]]></data>
</list-item>
</list-num>
</item>
</content>
I've searched mailing list and find someone else had same issue back in March,
2007.
http://marc.info/?t=117411792200002&r=1&w=2
A few bugs may related to this issue.
https://issues.apache.org/jira/browse/FOP-1292 // still open
https://issues.apache.org/jira/browse/FOP-1331
//<https://issues.apache.org/jira/browse/FOP-1331%20/> closed
Could anyone shed some light on this, please?
Thank you,
Chen Yang
--------------------------------------------------------------------- To
unsubscribe, e-mail:
[email protected]<mailto:[email protected]>
For additional commands, e-mail:
[email protected]<mailto:[email protected]>