RE: RTF list numbering incorrect

2014-11-03 Thread Chen Yang
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:a.yan...@hotmail.com]
Sent: Sunday, November 02, 2014 4:00 PM
To: fop-users@xmlgraphics.apache.org
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: cy...@hrsg.ca<mailto:cy...@hrsg.ca>
To: fop-users@xmlgraphics.apache.org<mailto:fop-users@xmlgraphics.apache.org>
Subject: RTF list numbering incorrect
Date: Thu, 30 Oct 2014 16:06:16 +
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


  
 
   
  
   
   
  
   
   
  
   
   
  
   
 
  
   

I've searched mailing list and find someone else had same issue back in March, 
2007.
http://marc.info/?t=11741179222&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: 
fop-users-unsubscr...@xmlgraphics.apache.org<mailto:fop-users-unsubscr...@xmlgraphics.apache.org>
 For additional commands, e-mail: 
fop-users-h...@xmlgraphics.apache.org<mailto:fop-users-h...@xmlgraphics.apache.org>


RE: RTF list numbering incorrect

2014-11-02 Thread A Gian
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: cy...@hrsg.ca
To: fop-users@xmlgraphics.apache.org
Subject: RTF list numbering incorrect   
Date: Thu, 30 Oct 2014 16:06:16 +

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 about4. 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 about1.Describe the interview plan.   Data in xml 
format
   
 
 
   
 
 
 
 
   I’ve searched mailing list and find someone else 
had same issue back in March, 2007. http://marc.info/?t=11741179222&r=1&w=2 
 A few bugs may related to this 
issue.https://issues.apache.org/jira/browse/FOP-1292  // still 
openhttps://issues.apache.org/jira/browse/FOP-1331 // closed Could anyone shed 
some light on this, please? Thank you, Chen Yang 
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org  
  

numList.fo
Description: Binary data

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: RTF list numbering incorrect

2007-03-24 Thread davidl

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:
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 1.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> List item 1.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 2.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> List item 2.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 3.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> List item 3.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 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]



Re: RTF list numbering incorrect

2007-03-21 Thread davidl

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:
>> 
>> 
>> 
>> 
>> 
>> 
>> 1.
>> 
>> 
>> 
>> 
>> 
>> List item 1.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 2.
>> 
>> 
>> 
>> 
>> 
>> List item 2.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 3.
>> 
>> 
>> 
>> 
>> 
>> List item 3.
>> 
>> 
>> 
>> 
>> 
>> 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#a9608631
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Re: RTF list numbering incorrect

2007-03-21 Thread Adrian Cumiskey

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:






1.





List item 1.







2.





List item 2.







3.





List item 3.





Thanks.




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