[Libreoffice-bugs] [Bug 114179] FILEOPEN DOCX Custom size and position of the chart wall is not interpreted in DOCX files created with Word 2013

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 21 22:19:52 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=114179

--- Comment #4 from Bartosz <gang65 at poczta.onet.pl> ---
I have analysed the root cause of problem, and it seems that size of the
Diagram Shape is not known.
The corresponding source code is located at:
oox/source/drawingml/chart/plotareaconverter.cxx:422

in method:
void PlotAreaConverter::convertPositionFromModel()

THe condition:
    if( aLayoutConv.calcAbsRectangle( aDiagramRect ) ) try

is not met, as calcAbsRectangle doesn't have information about position and
size of diagram.
Unfortunately I was not able to find how to receive these information.

Maybe shape size should be taken as it was done for Area property:
https://gerrit.libreoffice.org/#/c/57762/5/oox/source/drawingml/chart/titleconverter.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180721/76b51b2c/attachment.html>


More information about the Libreoffice-bugs mailing list