Apache OpenOffice (AOO) Bugzilla – Issue 119860
[From Symphony]The position of conncector change after save to another ppt by AOO
Last modified: 2012-12-26 08:02:02 UTC
Created attachment 78110 [details] sample file build: AOO3.4 r1327774 steps: 1. Launch AOO and open the sample file; 2. Click "File->Save as" to export a new .ppt. 3. Close and reopen the new .ppt document with AOO. 4. Compare content with that in original document. Actual Result: The position of connect change. Expect Result: The new document's content is same as the one in Microsoft
Created attachment 78140 [details] another sample file with connector
may have relation with Bug 119459
The root cause is same with 119531. *** This issue has been marked as a duplicate of issue 119531 ***
reopen this issue.
root cause: bentconnctor's attribute have not been exported correctly.
Created attachment 79608 [details] solution detail
Created attachment 79609 [details] UT
Created attachment 79610 [details] patch for export bentconnector Solution AOO use polygon[] to describe the bent connector.MS use angle, flip, adjust value and connector type to describe the bent connector. So It is necessary to calculate the above four factor by polygon[].Convert in function EscherPropertyContainer::CreateConnectorProperties() in file “\main\filter\source\msfilter\escherex.cxx”. convert detail refer the attachment "solution.pdf"
patch looks good, reviewed.
#119860# fix bent connector's type lost when save .ppt file Reported by: Li Feng Wang Patch by: Ying Sun Review by: Jian Yuan Li revision: 1391754
Verified pass on windows and linux with build r1397404