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

Bug 226685

Summary: Thai3.4:Export Report problem for Postscript and MS.Word
Product: z_Archived Reporter: Nattapong Sirilappanich <natta>
Component: BIRTAssignee: Jun Ouyang <jouyang>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: camle, clin, doshiro, kitlo, wyan
Version: 2.3.0Keywords: plan
Target Milestone: 2.3.0 RC1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Result for open Postscript file in GSView
none
Report design
none
Thai data source
none
Postscript result
none
Word result
none
The exported MS.Word file
none
Postscript file
none
word output snap none

Description Nattapong Sirilappanich CLA 2008-04-11 09:57:29 EDT
Created attachment 95683 [details]
Result for open Postscript file in GSView

Build ID: I20080330-1350

Steps To Reproduce:
1.Import Flat_File_CSV.rptdesign
2.Load datasource
3.Run Report "In Web Viewer"
4.Export Report as PostScript and MS.Word



More information:
MS.Word file render unreadable Thai string for Office 2007 but looking fine in Office 2003
Comment 1 Nattapong Sirilappanich CLA 2008-04-16 02:23:38 EDT
Created attachment 96193 [details]
Report design
Comment 2 Nattapong Sirilappanich CLA 2008-04-16 02:25:13 EDT
Created attachment 96194 [details]
Thai data source
Comment 3 Haojun Chu CLA 2008-04-17 05:46:27 EDT
It works for me. I can export to Postscript and Word and show the results very well. Please check the Postscript and Word documents generated on my machine.

1. Please make sure that your setting is right. To achieve that, could you check whether you could see the results of the 2 documents of mine?

2. I think you can also check whether it works when exporting PDF.
Comment 4 Haojun Chu CLA 2008-04-17 05:48:14 EDT
Created attachment 96409 [details]
Postscript result
Comment 5 Haojun Chu CLA 2008-04-17 05:48:59 EDT
Created attachment 96410 [details]
Word result
Comment 6 Nattapong Sirilappanich CLA 2008-04-17 11:09:26 EDT
(In reply to comment #3)
> It works for me. I can export to Postscript and Word and show the results very
> well. Please check the Postscript and Word documents generated on my machine.
> 1. Please make sure that your setting is right. To achieve that, could you
> check whether you could see the results of the 2 documents of mine?
> 2. I think you can also check whether it works when exporting PDF.

Hi Haojun,

1. I don't know what setting is right because i perform only the step specified in test case given to me. And i'll examine your 2 files on next 3 days because i'm currently out of office, sorry for inconvenience.

2. There're some other issues for PDF but anyway, exported successfully. (I'll confirm the issues found whether it's a defect or not)
Comment 7 Nattapong Sirilappanich CLA 2008-04-21 01:11:41 EDT
(In reply to comment #4)
> Created an attachment (id=96409) [details]
> Postscript result

I couldn't open this file too.

I'm using GSView version 4.9 2007-11-18 and GhostScript version 8.61 under Windows Vista.

Both of it are freshed install without any special configuration.

Any suggestion?
Comment 8 Nattapong Sirilappanich CLA 2008-04-21 01:20:21 EDT
(In reply to comment #5)
> Created an attachment (id=96410) [details]
> Word result

Word result can be open in both MS.Office 2003 and 2007 but the Thai string is unreadable in 2007.
Comment 9 Haojun Chu CLA 2008-04-24 03:18:16 EDT
Hi Nattapong,

Could you attach your word and ps documents?
Comment 10 Nattapong Sirilappanich CLA 2008-04-24 03:58:31 EDT
Created attachment 97385 [details]
The exported MS.Word file

Hi, this is a MS.Word file
Comment 11 Nattapong Sirilappanich CLA 2008-04-24 04:02:42 EDT
Created attachment 97389 [details]
Postscript file

Hi, Here is the exported postscript file
Comment 12 Haojun Chu CLA 2008-04-24 04:08:14 EDT
Created attachment 97390 [details]
word output snap
Comment 13 Haojun Chu CLA 2008-04-24 04:10:04 EDT
Is this the right result? I can also see the Postscript output.
Comment 14 Nattapong Sirilappanich CLA 2008-04-24 05:43:43 EDT
(In reply to comment #12)
> Created an attachment (id=97390) [details]
> word output snap

The output having problem of word breaking.
Comment 15 Nattapong Sirilappanich CLA 2008-04-24 05:44:48 EDT
(In reply to comment #13)
> Is this the right result? I can also see the Postscript output.

Yes, this is the file that couldn't be open in Vista.
Comment 16 Haojun Chu CLA 2008-04-24 21:41:18 EDT
Let's put aside the word breaking problem. There is already a bug requesting for a fix.

So the problem is that you can't open the output files on Vista, right? The picture is what I see on Vista using Office 2007. Besides, I can also open your Postcript output with GSView. So I think is a problem with your OS environment, but I've no idea of where it is.
Comment 17 Wei Yan CLA 2008-04-24 21:55:39 EDT
The problem in word output has been fixed in 

226633: Thai3.4:Run Report As Doc generate unreadable Thai string

We do have some issues to generate the postscript. The generated postscript can be opened by the ghost but fails in some gsview. Re-assign to Jun Ouyang to handle the postscript issues.
Comment 18 Nattapong Sirilappanich CLA 2008-04-24 22:12:49 EDT
(In reply to comment #16)
> Let's put aside the word breaking problem. There is already a bug requesting
> for a fix.
> So the problem is that you can't open the output files on Vista, right? The
> picture is what I see on Vista using Office 2007. Besides, I can also open your
> Postcript output with GSView. So I think is a problem with your OS environment,
> but I've no idea of where it is.

All other problem of MS.Word has already been reported in other bug so this issue is no longer usefull.

For Postscript issue, i'll try to consult with my team.

Thanks for your concern.
Comment 19 Jun Ouyang CLA 2008-05-13 02:27:01 EDT

*** This bug has been marked as a duplicate of bug 205797 ***