Apache OpenOffice (AOO) Bugzilla – Issue 46089
Font properties of complex script text lost when saved to Word XML format
Last modified: 2017-05-20 11:13:26 UTC
1. Create a new document in Writer (with CTL support enabled) 2. In Format|Character, set the CTL font to be "Cordia New", 16 point, Thai. 3. Type something including Thai text. 4. Save the document as Microsoft Word 2003 XML format 5. Open the XML document in Word 2003. I tried both Thai edition and the freely downloadable Word Viewer 2003. 6. Observe that the Thai text is Angsana New, 12 point. Neither the font nor font size have been preserved. I found the minimum changes needed to the XML to get the font properties to be properly recognized by Word were as follows: a) Split the text into runs, so that characters from different scripts are in different <w:r> elements. b) Give the <w:r> elements that contain complex text characters a property of <w:cs/> c) Add a paragraph property for the complex text point size <w:sz-cs w:val="32"/>.
Created attachment 24308 [details] Original .odt file created with Writer
Created attachment 24309 [details] The XML file when saved from Writer as Word 2003 XML.
Created attachment 24310 [details] Manually hacked version of the XML file that works for Word 2003
confirmed. changed priority to P2 - Data loss (font information) - Basic functionality is not working correctly (file export)
Please check if it's a duplicate to issue #42909.
in general, it may. the main difference: - issue #46089 (this) - font info losses - issue #42909 - language info losses
This is definitely different from issue #42909. This is about .xml format. #42909 is about .doc format.
Considering the effort, the priority, the risk and our resource planning I've to retarget this issue to OOo Later.
assigning to hbrinkm
Issue : Not able to retain document of type Windows 2003 XML in user selected text format style. Reproduced: yes Configuration Used : OS -> Windows Vista RAM Used -> 4 GB Build Used: OpenOffice Version 3.3.1 Steps to Reproduce: 1> Open OpenOffice 2> Click File->New->Text Document 3> Write few lines into the newly created file. 4> Select few lines of file and click Format->Character 5> Change the font style as (Arial + Bold) and note it somewhere. 6> Save the file by selecting type as windows 2003 XML. 7> Note that there will be message that the type has been selected for this document other than *.odt 8> Open the previosuly saved file and note that the text is in Arial but not in Bold. Comments: 1> Noticed that this happens with regular english language and it saves some character format setting like when I selected Bold + Italic + Underline then it was able to retain Underline format setting but not the bold and italic. 2> In order to reproduce this issue open the file in another window dont reopen in the same window where the file is already open. 3> While saving in the Windows 2003 XML type there is a pop-up message which states that "use the latest ODF file format and be sure all formatting and content is saved correctly". Please note that does it mean its acceptable with the selected type tp loose formatting.
Reset assigne to the default "issues@openoffice.apache.org".