Bug 376769 - Report loses rich text formatting when exported to PDF
Summary: Report loses rich text formatting when exported to PDF
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-13 14:42 EDT by A N CLA
Modified: 2012-04-24 14:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A N CLA 2012-04-13 14:42:15 EDT
Build Identifier: 20110916-0149

I have a data row on a report that retrieves a description from a database. This description contains rich text formatting and is a dynamic text element. When I view the report in the web viewer, the formatting is correct. However, when I export the report to PDF, it seems the formatting is lost for the PDF file.

More details about this problem can be seen on the forum thread, along with an image attachment:

Thread:
http://www.eclipse.org/forums/index.php/t/327269/

Image:
http://www.eclipse.org/forums/index.php/fa/7887/


Reproducible: Always

Steps to Reproduce:
1.Insert an entry into the database with some sort of rich text formatting, such as indentations and lists.
2. Retrieve this entry as a dynamic text element in the report.
3. View the report in the web viewer, it will render correctly.
4. Export the report to PDF.
5. View the report in the PDF document. The formatting will be incorrect.
Comment 1 Xiaoying Gu CLA 2012-04-15 23:02:20 EDT
Hi,

Can you provide the rich text contents that retrieved from database?
That will helps a lot for me to investigate.
Comment 2 A N CLA 2012-04-16 15:43:31 EDT
Here is the content pulled from the database, which was used to produce the images in the screen shots:

<blockquote dir="ltr" style="margin-right: 0px"><p><b>test<br />test <br /></b></p><ol><li><i>test</i></li><li><i>test</i></li></ol></blockquote><p dir="ltr"><br /><br /><u>test <br /> <br /></u></p><ol><li><u></u><u>test</u></li><ol><ol><li><strike>test </strike></li></ol></ol></ol><br /><p></p><!-- RICH TEXT -->

If you would like me to try anything else on my machine, let me know.

Thanks.
Comment 3 A N CLA 2012-04-24 14:16:38 EDT
It seems the last time we communicated was over a week ago. Do you need any further information for your investigation?