Bug ID: 111636
Summary: Copying chart into Calc or Writer result wrong X/Y
Version: 126.96.36.199.alpha0+ Master
X/Y axis of chart are modified after copy from Calc to Writer or Calc.
Thus, chart doesn't look like original one.
It is probably axis unit formats which are badly copied.
Data seems to be preserved.
Steps to Reproduce:
1. In attachment, copy chart or select range which contains chart.
2. Open a new tab or a new Writer document.
3. Paste it.
X axis unit is date format instead of numeric.
Y axis unit is decimal format instead of percentage.
Columns are misrepresented due to these changes.
Correct X/Y axis unit formats.
User Profile Reset: No
In file sc/source/core/data/drwlayer.cxx, in function ScDrawLayer::CopyToClip,
if you change this line:
SdrObject* pNewObject = pOldObject->Clone();
by SdrObject* pNewObject = pOldObject->getFullDragClone();
You have a correct chart only when you copy your chart by selecting a cell
range, including the chart. But, you copy an image, not an editable chart.
Maybe we can understand what is the difference between these function and how
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list