[Libreoffice-bugs] [Bug 40199] New: Misplaced Caption in LibreOffice Writer when pasting rotated Shape from LibreOffice Draw

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 18 07:33:37 PDT 2011


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

           Summary: Misplaced Caption in LibreOffice Writer when pasting
                    rotated Shape from LibreOffice Draw
           Product: LibreOffice
           Version: LibO 3.4.1 RC1
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: thomas.schlaefer at googlemail.com


Created an attachment (id=50350)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50350)
Libre Office Draw and Writer Documents that demonstrate the error

1. Open attached document "drawing.odg" from attached zip file
2. copy & paste the curly bracket into a new Writer document
3. right click the shape in Writer and select "Caption" to add a Caption to the
drawing
4. observe that the caption is placed far too low below the drawing (can also
be seen in the document "document_with_misplaced_caption.odt" from the attached
zip file)

This seems to work with all shapes that are drawn and afterwards rotated to an
angle other than 0°. In my example the curly bracket originally measured 10cm
in heigth and 1cm in width. It was rotated to 270° so it now is 10cm in width
and 1cm in heigth. (right click on shape -> Position and Size -> Rotation ->
Rotation Angle)

After copy & pasting the drawing into Writer, it seems as if Writer doesn't
take the Rotation Angle into account when placing the Caption so the drawing's
original heigth of 10cm is applied when placing the Caption. Therefore it is
placed 10centimeters below the  shape, which is wrong!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list