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

            Bug ID: 103092
           Summary: FILESAVE: Calc: wrong position for rotated pictures to
                    270 degree after save
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

1. Open a new spreadsheet and insert a picture at cell C3, anchor at cell 
 2. edit the rotation of that picture to 270 degrees
 3. move that picture/anchor to cell C3
 4. write protect the pictures position and size
 5. safe the spreadsheet to xxxx.ods
 6. open that spreadsheet again an the picture was shifted to the left hand
side, also the anchor was shifted too!

Build-ID: 1:5.1.4-0ubuntu1 and using the german package.

Here the content.xml file without rotated picture.
<draw:frame table:end-cell-address="Tabelle1.C43" table:end-x="126.57mm"
table:end-y="2.98mm" draw:z-index="0" draw:name="Bild 1" draw:style-name="gr1"
draw:text-style-name="P1" svg:width="125mm" svg:height="176.73mm"
svg:x="1.59mm" svg:y="2.36mm"><draw:image
xlink:href="Pictures/10000201000002E80000041C5A7B6FEDA0C5356C.png"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad">

Here the content.xml file after rotated picture.
<draw:frame table:end-cell-address="Tabelle1.C42" table:end-x="142.89mm"
table:end-y="0.93mm" draw:z-index="0" draw:name="Bild 1" draw:style-name="gr1"
draw:text-style-name="P1" svg:width="125mm" svg:height="176.73mm"
draw:transform="rotate (-1.5707963267949) translate (178.9 3)"><draw:image
xlink:href="Pictures/10000201000002E80000041C5A7B6FEDA0C5356C.png"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad">

I'm not sure, but it seems to me, the decimal point is not correct in the line
"rotate (-1.5....) translate (178.0 3)">.....

For further information please contact me by email.

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

Reply via email to