Apache OpenOffice (AOO) Bugzilla – Issue 119559
[From Symphony]Vertical letters in "VerticalText" fontwork get horizontal when opening .ppt file
Last modified: 2012-12-26 08:06:58 UTC
Created attachment 77775 [details] sample file with fontwork build: AOO3.4 r1327774 steps: 1. Launch AOo3.4 2. Open the attached .ppt file 3. Save it to another .ppt file 4. Reopen it with both AOO3.4 and MS 5. Check the fontwork in slide 2. Defect: See the attached snapshots, All Vertical letters in the fontwork change to horizontal after saved by AOO3.4.
Created attachment 77776 [details] before save screenshot
Created attachment 77777 [details] after save screenshot
I will check the issue
Root cause is The Fontwork object has no vertical properties. When read the text is rotated in PPT, we will set the vertical property to the paragraph in this object. And when export it to PPT file format, we didn't set this flag to the file again. So reopen, this property is not set to this object Here is the solution: When export one fontwork object, check the outlinerparagraph. If it is vertical, set the 0x20000 flag to TextPathFlags.
Created attachment 78286 [details] patch for the issue
Created attachment 78288 [details] Code fix patch
The two patches look almost identical except for formatting except for the use of the full path vs. the local path.
Thanks for the great analysis of the problem and the patch. Applied as rev 1349700.
confirm fixing the bug on ver 1351249 in Win7 ,pass