Apache OpenOffice (AOO) Bugzilla – Issue 119889
[From Symphony] Import .pptx file into OO3.4, the vertical text direction of the table will be lost.
Last modified: 2012-12-26 08:42:38 UTC
Created attachment 78142 [details] .pptx sample has a table with vertical text in Build info: AOO3.4_r1327774 Steps: 1. Launch MS Office 2007,new a SD document,insert a table,input some text in the cell,then select and set "text direction" to "vertical",save it as a .pptx document. (A sample file attached for your reference) 2.Open the attached .pptx file in OO3.4. Issue: The vertical text setting lost.
1. Root Cause: The oox module imports the cell vertical property but doesn't set it. 2. Resolution: Set property to cell object if the cell has vertical property. And fix in svx module by setting cell's vertical property.
Created attachment 78143 [details] patch for vertical text in table from pptx It involves 2 modules oox and svx. In oox, it needs to pass vertical property to sd in tablecell.cxx. In svx, it needs set vertical property for cell object in cell.cxx.
reviewed, built and tested, patch applied on trunk trunk -> revision 1348039
confirm fixing the bug on ver 1351249 in Win7 ,pass