[Libreoffice-bugs] [Bug 135195] FILEOPEN DOCX Specific chart makes Writer use all memory
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 15 16:16:27 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=135195
--- Comment #5 from NISZ LibreOffice Team <libreoffice at nisz.hu> ---
Created attachment 165545
--> https://bugs.documentfoundation.org/attachment.cgi?id=165545&action=edit
Reproducer example made in Excel 13
Here is an example for how to break this:
- In Excel create a chart with some data
- In the Select Data Source dialog of Excel edit the range for the horizontal
(category) axis. In the small Axis Labels dialog go to A2 and select a range
until the end of data by pressing Ctrl-Shift-DOWN. But oh no, press DOWN twice
so it does not select to the end of data, but to the end of the sheet. So the
field shows =Munka1!$A$2:$A$1048576 - no problem, Excel can handle this just
fine.
- Copy the resulting chart to Word. Save as DOCX. This will generate something
like this in chart1.xml:
<c:cat>
<c:numRef>
<c:f>Munka1!$A$2:$A$1048576</c:f>
<c:numCache>
<c:formatCode>d\-mmm</c:formatCode>
<c:ptCount
val="1048575"/>
Now Writer uses this ptCount value to try to determine how many rows the
internal data table of the chart should have. 1 million rows is too much for
it, so we should not believe this number to be true.
This happens on MSO 2010 / 13.
The actual number of c:pt tags could be a more accurate estimate.
--
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/20200915/d33b6c4e/attachment.htm>
More information about the Libreoffice-bugs
mailing list