https://bugs.freedesktop.org/show_bug.cgi?id=44509

--- Comment #6 from [email protected] ---
reproduced with: 
LO 3.5:build-413
Build-ID "350m1(Build 413)"
opensuse 11.2
graphic: rectangle using the onboard drawing tools in calc

When drawing the graphic it will be anchored to the marked cell by default.
I changed the size and position by mouse.
But the position is calculated relative to the page.
In my case: X=56,36cm Y=17,70cm size 4,96cm x 0,42cm

Saving-closing-reopening the document let this graphic move to X=54,59cm
Y=17,42cm and resize to 6,52cm x 0,63cm.

It doesn't matter if I protect size and / or position before saving.
It doesn't matter if I draw the rectangle in position or cut and paste it.

but:
When I change the anchor type to "to page" before saving and closing the
document the position is kept correctly.
That's not the way for working around when I really need to anchor the graphic
to the cell so that it will follow the cell when resorting the area.

notice 1:
The numerical values of the position stay the same when switching between "to
cell" and "to page", they are not recalculated when switching to the other
anchoring type.

notice 2:
Switching anchor type to "to cell" again and setting offsets to 0 x 0 move the
graphic to the _page's_ upper left corner instead of the cell's one.

notice 3:
When I move the graphic to 0 x 0 (any anchor type) via dialog, mark it, change
anchor type to "to cell", cut it, mark a cell different form A1 and insert the
graphic there then it will be placed correctly with offset 0 x 0 relative to
_the cell_, but the resulting position values in the dialog will be relative to
_the page_ again and the behavior is anchored-to-page again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to