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

          Priority: medium
            Bug ID: 65321
          Assignee: [email protected]
           Summary: EDITING: Excess drawing area interferes with OLE
                    importing of drawings into other docs
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.3.3 release
         Component: Drawing
           Product: LibreOffice

Created attachment 80250
  --> https://bugs.freedesktop.org/attachment.cgi?id=80250&action=edit
spreadsheet.ods (use with drawing.odg)

Draw docs have a "canvas" (my term) which is much larger than the page size
configured under Format->Page. For example, with an 8½ x 11" page, the "canvas"
extends from approximately negative 9" to positive 16½".

There does not seem to be any way to control the size of this "extra" space
around the page.   While editing a drawing this is sometimes merely
inconvenient.   However it is fatally problematic when importing a draw doc as
an OLE object into, say, a calc spreadsheet because the "extra" space is part
of the immutable opaque object, and so the drawing is pushed way off to the
right when presented in the embedding document.

Attached are two files "spreadsheet.ods" and "drawing.odg".  The spreadsheet
imports the drawing as an OLE object into a cell.  Even though the drawing
contains only a single small rectangle, the OLE object is huge in the
spreadsheet and there is no way to place the drawing in the center of the cell
(or even entirely on the page).  Okay, at least I couldn't find a way.

==> It seems to me that either:

1. The "canvas" size should be configurable in Draw documents, so it can be
made as small as needed, e.g., just large enough for the drawing, so that
importing the drawing as OLE produces a minimal-sized object; or

2. OLE import in spreadsheets (and presumably other kinds of documents) should
allow positioning the object partially off-page, so that the extra space can be
put where it does no harm.

Steps to reproduce:
1. Download the attached "spreadsheet.ods" and "drawing.odg"
2. Open the spreadsheet (may have to delete and re-import the linked drawing).
3. Try to put the rectangle in the middle of the cell
(you can't)

Operating System: Ubuntu
Version: 4.0.3.3 release

-- 
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