Created attachment 118190 [details] Writer file containing a graph See attached; 5.0.1.1 does a much better job than the 4.4.5.2-1 (which gets it completely wrong); but it's still not quite there: 1) The graph is offset relative to it's outer frame 2) The caption is in a different place 3) It's added a title at the top 4) The X axis is formatted differently - more worryingly I think the X axis is offset by 10 units
Created attachment 118191 [details] docx export of the same graph
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b2ad33fd5a1ee0cd9a1e657725aedc90da659f24 Related: tdf#93676 special 255 Percent Flag should not be exported to docx It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=327fb3ec1df35f2e92e3e18083f746a18201ec71&h=libreoffice-4-4 Related: tdf#93676 special 255 Percent Flag should not be exported to docx It will be available in 4.4.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=208592500ddaabe26208503c8a06e9818a05a992&h=libreoffice-5-0 Related: tdf#93676 special 255 Percent Flag should not be exported to docx It will be available in 5.0.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
not sure why this was closed, probably because a commit referencing it was pushed. That's only one part of the puzzle
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=10654c038c0bc20fb348be7164e08f3de98718f4 Related: tdf#93676 in msword chart appears with axis positioned between ticks It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@caolanm: Sorry about the premature status change!
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=24560df316de86cea93a37edd38e02a2f2d9c0c2 Related: tdf#93676 unwanted duplicate axis title exported It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1ff5ecda9ccfcf3e65e90c404db93fcbbefb889e Related: tdf#93676 msword wraps slightly differently than us It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 118504 [details] chart test file For debugging the chart issues this file is much better. In general Calc has some additional debugging support for charts and the chart does not move around during a export-import cycle.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a052479f3c85bdedddfa38cb03b0858003c965c3 related tdf#93676: make the bold property explicit for run export It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=442eb1ab9d8c1ad970993ef6c8a49e89601b7432 related tdf#93676, we want to export all significant digits It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0ff4ec7f0a44af22794c2919a13978b3af1bb0b3 Revert "Related: tdf#93676 in msword chart appears with axis positioned between ticks" It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f7b8bab7f38b09aff2bce9b314492677c02a3034 related tdf#93676, add test for chart::CommonFunctors It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bb5d638065590cba700ff46f5a0a1ffbe03b6f1a related tdf#93676, also fix chart::CommonFunctors::DoubleToOUString It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d9aed0bc2e741fa02a6ffdf90193aae7ce471e52 Related: tdf#93676 msword wraps slightly differently than us It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=694419d813c14f6135aa4463d77f72c3a24a5cc5 Related: tdf#93676 in msword chart appears with axis positioned between ticks It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=93ab0ff24cb71c36c9e7958046e96d7472b5af90 Related: tdf#93676 default to as-char inside captions It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
1 and 2 are a fundamental problem in MSWord that things inside frames can only be anchored as-character and other anchorings get smushed on export like in this case. You can change the anchoring of your existing chart by right clicking it, selecting anchor and select "as character". I can do very little to fix that. What I *can* do however is to change our captioning to use as-character anchoring by default which will make new uses of "add caption" result in something that is word-compatible. 3 is fixed 4.1 the exact original formatting cannot be expressed in docx 4.2 in this particular case the axes can be tweaked to give the right look 5 there was incorrect indent on the last paragraph, this is also fixed now
Created attachment 118576 [details] screenshot of original in writer
Created attachment 118577 [details] screenshot of output in word
screenshots are post change of anchor to as-character. That's as good as I think we can do.
Caolán, The fixes for this issue break bar charts. Would it be possible to only apply them to line charts? See Bug 96662