Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344115

Summary: RTF Report generated is not able properly align the nested html text with <ul> and <li> tags
Product: z_Archived Reporter: Hearty Raphael <heartyraphael>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: REOPENED --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: blocker    
Priority: P3 CC: alain.erard, arunkumarb, bluesoldier, heartyraphael, hustlg, manjunatha.nadigar
Version: 1.0.0   
Target Milestone: 3.7.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
iText jar Version used in 3.6.2 and 3.7 are seems to be same.
none
Input ListText data
none
List Text Outputted in PDF
none
pdf
none
Bug rpt file with <ul><ul><li> sequence none

Description Hearty Raphael CLA 2011-04-28 08:12:32 EDT
I was trying to create a RTF Report of a dynamic html text which contain nested <ul> and <li> tags. The generated report does not maintain the text levels and the alignment.
Comment 1 Xiaoying Gu CLA 2011-04-29 02:37:23 EDT
Would you please attache a example how your html code was?
Comment 2 Hearty Raphael CLA 2011-04-29 04:25:44 EDT
(In reply to comment #1)
> Would you please attache a example how your html code was?

<UL><LI>The provisioning activities of a hosted operator </LI><UL><LI>Each hosted operator</LI><LI>It SHALL be possible that</LI><LI>It SHALL be possible to share one provisioning system between the hosted operators. </LI><LI>It shall be possible</LI></UL><LI>The addition or removal of a hosted operator</LI><LI>The access and related rights</LI><LI>It SHALL be possible to restart</LI><LI>All the logs, performance counters and CDRs issued by</LI><LI>It SHALL be possible for a hosted operator</LI><LI>It SHALL be possible to enable</LI><LI>It SHALL BE possible to allocate software throughtput capacity</LI><UL><LI>In HA configuration, each messaging services</LI><LI>Whenever a messaging service traffic blade</LI><LI>The messaging services throughput capacity</LI></UL></UL><UL><LI>The management of the dispatcher scripts or other scripts</LI><LI>It 
SHALL be possible to define operator messages</LI><LI>It SHALL be possible to configure the MiO software</LI><UL><LI>It SHALL BE possible</LI></UL></UL>
Comment 3 Gang Liu CLA 2011-05-11 01:25:43 EDT
fixed.
Comment 4 Hearty Raphael CLA 2011-05-11 03:12:49 EDT
(In reply to comment #3)
> fixed.

Is there any URL location where I can get the library which includes the code fix?
Comment 5 Gang Liu CLA 2011-05-11 03:22:00 EDT
You can try it with tomorrow's  nightly build (3.7.0)
Comment 6 Xiaoying Gu CLA 2011-05-13 01:11:21 EDT
verified in daily build 3.7.0.v20110512-0630
Comment 7 Manjunatha NS CLA 2011-07-04 06:34:58 EDT
Created attachment 199036 [details]
iText jar Version used in 3.6.2 and 3.7 are seems to be same.
Comment 8 Manjunatha NS CLA 2011-07-04 06:35:27 EDT
Created attachment 199037 [details]
Input ListText data
Comment 9 Manjunatha NS CLA 2011-07-04 06:36:03 EDT
Created attachment 199038 [details]
List Text Outputted in PDF
Comment 10 Manjunatha NS CLA 2011-07-04 06:38:18 EDT
I have tested with Eclipse 3.7 GM Release, doesn't working, please see the screenshot the same.

One obsevation iText jars version used seems to be same version for both 3.6.2 and 3.7. Please let me which component fix went in.
Comment 11 Hearty Raphael CLA 2011-07-04 06:45:51 EDT
Reopening this defect. The issue still persist. For more information, please refer the attached files included by Manju
Comment 12 Gang Liu CLA 2011-07-04 22:31:31 EDT
Could you please attach the html text for this case?
Comment 13 Hearty Raphael CLA 2011-07-05 03:16:37 EDT
(In reply to comment #12)
> Could you please attach the html text for this case?

I have requested Manjunatha NS to provide the html text.
Comment 14 Hearty Raphael CLA 2011-07-05 03:18:45 EDT
Can you please share the HTML Text to Gang Liu?
Comment 15 Manjunatha NS CLA 2011-07-05 05:19:31 EDT
<BR><UL><LI>Chapter -1</LI><UL><LI>Chapter -1.1</LI><LI>Chapter -1.2</LI></UL><LI>Chapter -2</LI><LI>Chatper -3</LI><UL><LI>Chatper 3.1</LI><UL><LI>Chatper 3.1.2</LI><UL><LI>Chatper 3.1.2.1</LI><UL><LI>Chatper 3.1.2.1.1</LI></UL></UL></UL><LI>Chapter 3.2</LI></UL><LI>Chatper -4</LI></UL>
Comment 16 Gang Liu CLA 2011-07-05 05:47:04 EDT
Created attachment 199103 [details]
pdf
Comment 17 Gang Liu CLA 2011-07-05 05:50:09 EDT
it looks ok on birt3.7.0RC1(v20110517-1525-RC1), pleas refer to attached screenshot.
The change is mode in org.eclipse.birt.report.engine, instead of iText.
Comment 18 Manjunatha NS CLA 2011-07-05 06:15:14 EDT
Can u please let us know what all jars to be included for report generation. Currently we are using com.lowagie.text_2.1.7.v201004222200.jar
Comment 19 Alain Erard CLA 2011-10-20 12:04:32 EDT
I have the same bug : I can't create sequence like :
"<UL><LI>test</LI><UL><LI>test</LI></UL></UL>"

I use birt 3.7.1 with rcp report designer.
Please find in attachment my rcp file.
Comment 20 Alain Erard CLA 2011-10-20 12:08:37 EDT
Created attachment 205656 [details]
Bug rpt file with <ul><ul><li> sequence

If I use birt rcp report designer with PDF generator, adobe acrobat reader demands to find japanese font and caracters are not displayed