[Libreoffice-bugs] [Bug 118139] FILEOPEN: Incorrect height of textboxes
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 4 22:45:56 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118139
--- Comment #6 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Xisco FaulĂ from comment #5)
> @Regina, I thought this issue could be of interested to you
But I do not really no the Word formats. Nevertheless, I have a little bit
investigated.
(In reply to Armin Le Grand (CIB) from comment #4)
> Confirmed.
>
> Just wondering about the Shapes imported. It *seems* to be a GroupObject
> containing DrawObjects, but in context menu 'Group' commands are not allowed.
That is a bug in LibreOffice, inherited from OpenOffice.org. If the shape is
anchored as character, you cannot enter the group or ungroup it.
https://bz.apache.org/ooo/show_bug.cgi?id=83498 and for the special case of
Word import https://bz.apache.org/ooo/show_bug.cgi?id=54325
To examine the shape, you have to change the anchor "to character" or "to
paragraph" e.g.
>
> To find that I will have to debug step-by-step the import of such a
> DrawObject. Thus:
>
> - How was the example created?
The old Word version had a feature to insert an "AutoShape" and then add text
boxes to it. That had automatically generate a group containing the AutoShape
itself and the text boxes. Word had this feature, because in the beginning the
AutoShapes where not able to have text themselves. This auto-grouping is no
longer available in current Word versions.
> - Is there a more simple one with e.g. a single such DrawObject?
It makes no real difference, whether you have one or four text boxes. You have
always a "canvas" (that is the group) and therein the Autoshape and the text
boxes. The group has wrap and anchor properties and can have a custom name. I
was only once able to name a text box, but cannot reproduce it.
The AutoShape has the fill and line properties. Size and position are coupled
between group and AutoShape and you can use one or the other the change it.
> - Is there a way to create a bugdoc with minimal content (step-by-step)?
>
> That would make looking into much easier.
https://www.youtube.com/watch?v=hfbXtylMlWY
You need e.g. Word 2003.
I have made a screenshot from Word 365, and will attach it together with the
used files.
Besides the wrong height, there are additional problems:
The borders are missing.
All shapes are named in Word, but the names are not imported and therefore the
shapes are not visible in the Navigator.
The import of the compatible docx has additional errors: The AutoShape is
missing. The text boxes are inserted as custom shapes and have "resize to
text". But as custom shapes they need "wrap", because in contrast to text boxes
the custom shapes have wrap not automatically. I have no strong opinion,
whether a solution with custom shape is better than a solution with a text box.
It might be, that the import of docx does not consider, that the document is in
"Compatability mode".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180704/ed92c305/attachment.html>
More information about the Libreoffice-bugs
mailing list