Issue 119985 - date/time is displayed as different language in exported odp
date/time is displayed as different language in exported odp
Status: CLOSED FIXED
Product: ui
Classification: Code
Component: code
AOO 3.4.1
All All
: P3 normal (vote)
: AOO 4.0
Assigned To: WangZhe
:
Depends on:
Blocks: 120823 121368
  Show dependency treegraph
 
Reported: 2012-06-14 02:43 UTC by Tang Meng
Modified: 2013-07-12 09:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation on: ---
Developer Difficulty: ---


Attachments
patch for this issue (1.67 KB, patch)
2012-06-14 06:52 UTC, Tang Meng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Tang Meng 2012-06-14 02:43:31 UTC
1. Create a ppt file in MS-PPT with date/time in footer in an english locale machine.
2. Open the ppt in Symphony and save as odp.
3. Change the system locale to Chinese and change system date/time format to Chinese.
4. Relaunch Aoo, reopen the odp.
bug: the data/time format in footer is changed to Chinese format. It should be the English format.
Comment 1 Tang Meng 2012-06-14 02:44:32 UTC
I am looking at this issue.
Comment 2 Tang Meng 2012-06-14 06:52:30 UTC
Created attachment 78318 [details]
patch for this issue

This bug cause is follow:
a) Incorrectly read structure 'TextSiException' in ppt file. In this structure, only 'Lid' is local ID, and 'altLid' is an alternate ID. We need use 'Lid'.
b) The 'NotesAndHandouts' language information is the 'PK_NOTES', not in 'PK_HANDOUT'.
So I have modified them.
a) set language element as 'Lid'.
b) modify form 'HANDOUT' to 'PK_NOTES'.
Comment 3 liuping 2012-06-21 06:49:02 UTC
confirm this defect
Comment 4 WangZhe 2012-06-21 07:29:52 UTC
I'll review this code
Comment 5 WangZhe 2012-06-25 06:24:54 UTC
Delivered At revision: 1353399