Created attachment 126054 [details] Example of the bug, an arrow should display from 5 to 1 in the graph, not 1 to 5 In the attached example file, the arrow between 1 and 5 should be from 5 to 1, while LibreOffice renders it as 1 to 5 (reverse direction). This does not happen for the other arrows. Attached is also a correctly rendered PDF output of the file from MS Office 365.
Created attachment 126055 [details] PDF rendering of the example file from office 365
Reproduced with as early as LO 3.6.0.4 / Windows 7. There are further differences in the graph: -the positions of numbers are all a bit off, -arrows between 2 and 7 are in reverse direction, too, -there's a line running from top left to bottom right corner that shouldn't be there. Another clear difference in the document is the footnote separator being on the opposite side.
Still reproducible in Version: 6.0.0.0.alpha1+ Build ID: 38a8157d9447134913d88c6c373d99a7aa472857 CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
repro 6.2+
Another wrong arrow direction example is https://bugs.documentfoundation.org/attachment.cgi?id=139543 from bug 45479. In attachment 158652 [details] compared MSO and LO. It's 2007 DOCX but same if resaved in MSO.
Szabolcs Toth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cb441c4d0adf698e6af9073c6c3285a66b76871e tdf#100751 DOCX VML shape import: fix arrow direction It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 7.0.0.0.alpha0+ Build ID: 169a10f0e4680814145b668c6320be04038d7a89 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded @Szabolcs, thanks for fixing this issue!
Szabolcs Toth committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/14f11a2a26163123502ac9ea915416871d180cc0 tdf#100751 DOCX VML shape import: fix arrow direction It will be available in 6.4.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.