[Bug 50509] Wrong rtf list label without auto increment generated by fop revision 1036000

2012-04-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

--- Comment #3 from Glenn Adams gad...@apache.org ---
batch transition resolved+wontfix to closed+wontfix

-- 
You are receiving this mail because:
You are the assignee for the bug.


DO NOT REPLY [Bug 50509] Wrong rtf list label without auto increment generated by fop revision 1036000

2012-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

--- Comment #2 from Glenn Adams gl...@skynav.com 2012-04-07 09:43:23 UTC ---
rtf is no longer actively maintained; if a patch is provided, it will be
considered for application

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50509] Wrong rtf list label without auto increment generated by fop revision 1036000

2012-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

Glenn Adams gl...@skynav.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50509] Wrong rtf list label without auto increment generated by fop revision 1036000

2012-04-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

--- Comment #1 from Glenn Adams gl...@skynav.com 2012-04-07 01:44:34 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50509] Wrong rtf list label without auto increment generated by fop revision 1036000

2012-04-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

Glenn Adams gl...@skynav.com changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


Wrong rtf list label without auto increment generated by fop revision 1036000

2010-12-21 Thread jerry
Hi,

I am trying to generate the rtf file with the following fo file:

?xml version=1.0 encoding=utf-8?

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;


!-- defines the layout master --
fo:layout-master-set
fo:simple-page-master master-name=first
page-height=29.7cm
page-width=21cm
margin-top=1cm
margin-bottom=2cm
margin-left=2.5cm
margin-right=2.5cm
fo:region-body margin-top=3cm/
fo:region-before extent=3cm/
fo:region-after extent=1.5cm/
/fo:simple-page-master
/fo:layout-master-set

!-- starts actual layout --
fo:page-sequence master-reference=first

fo:flow flow-name=xsl-region-body


fo:list-block provisional-distance-between-starts=0.7cm
provisional-label-separation=0.15cm

!-- nested list item --
fo:list-item start-indent=0.5cm
!-- insert a number --
fo:list-item-label end-indent=label-end()
fo:block text-align=enda./fo:block
/fo:list-item-label
!-- list text --
fo:list-item-body start-indent=body-start()
fo:block text-align=justify
nested list item /fo:block
/fo:list-item-body
/fo:list-item

!-- nested list item --
fo:list-item start-indent=0.5cm
!-- insert a number --
fo:list-item-label end-indent=label-end()
fo:block text-align=endb./fo:block
/fo:list-item-label
!-- list text --
fo:list-item-body start-indent=body-start()
fo:block text-align=justify
nested list item with more text. nested list item with more text.
/fo:block
fo:block text-align=justify
nested list item with more text. nested list item with more text.
/fo:block
fo:block text-align=justify
nested list item with more text. nested list item with more text.
/fo:block
/fo:list-item-body
/fo:list-item

!-- nested list item --
fo:list-item start-indent=0.5cm
!-- insert a number --
fo:list-item-label end-indent=label-end()
fo:block text-align=endc./fo:block
/fo:list-item-label
!-- list text --
fo:list-item-body start-indent=body-start()
fo:block text-align=justify
nested list item /fo:block
/fo:list-item-body
/fo:list-item

/fo:list-block 

/fo:flow

Correct content of the generated rtf should be as followed:

a.nested list item

b.nested list item with more text. nested list item with more text.

nested list item with more text. nested list item with more text.

nested list item with more text. nested list item with more text.

c.nested list item


But the result is not correct.

a.nested list item

a.nested list item with more text. nested list item with more text.

nested list item with more text. nested list item with more text.

nested list item with more text. nested list item with more text.

a.nested list item

Lists with the roman list label has the same problem.

It seems that FOP treat these labels as bullet labels or it cannot deal
with the auto increment of the alpha and roman labels.

Is there any solution?

I have tried the newest revision of FOP but the FOP generated a blank
rtf file. Is the rtf function removed in this revision?



Regards,
Jerry

--- @ WiseStamp Signature
http://my.wisestamp.com/link?u=mk62vz5p5r287rmxsite=www.wisestamp.com/email-install.
Get it now
http://my.wisestamp.com/link?u=mk62vz5p5r287rmxsite=www.wisestamp.com/email-install



Re: Wrong rtf list label without auto increment generated by fop revision 1036000

2010-12-21 Thread Chris Bowditch
On 21/12/2010 13:46, jerry wrote:
 Hi,

Hi,

Please don't send questions about FOP's use to the fop-dev mailing list.
Instead please send such mails to fop-user mailing list. fop-dev is used
for talking about Java code internal to FOP.



 I am trying to generate the rtf file with the following fo file:

 ?xml version=1.0 encoding=utf-8?

 fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;


 !-- defines the layout master --
 fo:layout-master-set
 fo:simple-page-master master-name=first
 page-height=29.7cm
 page-width=21cm
 margin-top=1cm
 margin-bottom=2cm
 margin-left=2.5cm
 margin-right=2.5cm
 fo:region-body margin-top=3cm/
 fo:region-before extent=3cm/
 fo:region-after extent=1.5cm/
 /fo:simple-page-master
 /fo:layout-master-set

 !-- starts actual layout --
 fo:page-sequence master-reference=first

 fo:flow flow-name=xsl-region-body


 fo:list-block provisional-distance-between-starts=0.7cm
 provisional-label-separation=0.15cm

 !-- nested list item --
 fo:list-item start-indent=0.5cm
 !-- insert a number --
 fo:list-item-label end-indent=label-end()
 fo:block text-align=enda./fo:block
 /fo:list-item-label
 !-- list text --
 fo:list-item-body start-indent=body-start()
 fo:block text-align=justify
 nested list item /fo:block
 /fo:list-item-body
 /fo:list-item

 !-- nested list item --
 fo:list-item start-indent=0.5cm
 !-- insert a number --
 fo:list-item-label end-indent=label-end()
 fo:block text-align=endb./fo:block
 /fo:list-item-label
 !-- list text --
 fo:list-item-body start-indent=body-start()
 fo:block text-align=justify
 nested list item with more text. nested list item with more text.
 /fo:block
 fo:block text-align=justify
 nested list item with more text. nested list item with more text.
 /fo:block
 fo:block text-align=justify
 nested list item with more text. nested list item with more text.
 /fo:block
 /fo:list-item-body
 /fo:list-item

 !-- nested list item --
 fo:list-item start-indent=0.5cm
 !-- insert a number --
 fo:list-item-label end-indent=label-end()
 fo:block text-align=endc./fo:block
 /fo:list-item-label
 !-- list text --
 fo:list-item-body start-indent=body-start()
 fo:block text-align=justify
 nested list item /fo:block
 /fo:list-item-body
 /fo:list-item

 /fo:list-block 

 /fo:flow

 Correct content of the generated rtf should be as followed:

 a.nested list item

 b.nested list item with more text. nested list item with more text.

 nested list item with more text. nested list item with more text.

 nested list item with more text. nested list item with more text.

 c.nested list item


 But the result is not correct.

 a.nested list item

 a.nested list item with more text. nested list item with more text.

 nested list item with more text. nested list item with more text.

 nested list item with more text. nested list item with more text.

 a.nested list item

 Lists with the roman list label has the same problem.

I am far from an expert with RTF, but I suspect it must be a bug. Please
open a bug in bugzilla and attach (not copy and paste) the XSL-FO there.

 It seems that FOP treat these labels as bullet labels or it cannot
 deal with the auto increment of the alpha and roman labels.

 Is there any solution?

I am not aware of the solution. It could be that others on the mailing
list will know.

 I have tried the newest revision of FOP but the FOP generated a blank
 rtf file. Is the rtf function removed in this revision?

RTF support has not been removed. I guess you have stumbled across
another bug. Please open a second bug report in bugzilla.

Thanks,

Chris




 Regards,
 Jerry

 --- @ WiseStamp Signature
 http://my.wisestamp.com/link?u=mk62vz5p5r287rmxsite=www.wisestamp.com/email-install.
 Get it now
 http://my.wisestamp.com/link?u=mk62vz5p5r287rmxsite=www.wisestamp.com/email-install




DO NOT REPLY [Bug 50509] New: Wrong rtf list label without auto increment generated by fop revision 1036000

2010-12-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50509

   Summary: Wrong rtf list label without auto increment generated
by fop revision 1036000
   Product: Fop
   Version: 1.1dev
  Platform: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: rtf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: 0105_je...@tongji.edu.cn


Created an attachment (id=26436)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26436)
The original fo file

I am trying to generate the rtf file with the attached fo file:

Correct content of the generated rtf should be as followed:


  a.  nested list item

  b.  nested list item with more text. nested list item with more text.

  nested list item with more text. nested list item with more text.

  nested list item with more text. nested list item with more text.

 c.   nested list item


But the result is not correct. 


 a.   nested list item

 a.   nested list item with more text. nested list item with more text.

  nested list item with more text. nested list item with more text.

  nested list item with more text. nested list item with more text.

 a.   nested list item

Lists with the roman list label has the same problem.

It seems that FOP treat these labels as bullet labels or it cannot deal with
the auto increment of the alpha and roman labels.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.