[Libreoffice-bugs] [Bug 116898] Please provide Autofit option also for regular text boxes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 12 23:34:42 UTC 2018


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #11 from Regina Henschel <rb.henschel at t-online.de> ---
There exists two boolean attributes in file format: 'draw:fit-to-size' and
'style:shrink-to-fit'. They are general graphic-properties and can be applied
to any shape. The implementation has been corrected by Michael Stahl (bug
97630), but there exist no UI yet.

Two boolean attributes results in four situations:

(A)draw:fit-to-size="true" and style:shrink-to-fit="false" is currently called
"Fit-to-Frame" in the UI and is available in the UI for legacy rectangles and
polygons and curves.

(B)draw:fit-to-size="false" and style:shrink-to-fit="true" has no UI and is the
default setting for presentation outline shapes. That is what sergio calls
"auto fit text".

(C)draw:fit-to-size="false" and style:shrink-to-fit="false" is currently the
default for shapes other than presentation outline shapes.

(D)draw:fit-to-size="true" and style:shrink-to-fit="true" makes no sense. It is
rendered same as (A). But the attribute style:shrink-to-fit="true" is kept, so
when you disable draw:fit-to-size in the UI, you get situation (B).

To bring a graphic text box into situation (B), insert the text box in Impress
and apply the presentation style 'Outline1'. Then open then "Text..." dialog
and uncheck the checkbox 'Fit to Frame' in case it is checked. You can copy the
text box to Draw, it keeps the property. But there exists no way in the UI to
reset the text box to the default.

It is a valid request to get a UI to manually set the property
"style:shrink-to-fit" on and off.

-- 
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/20180612/227eb427/attachment-0001.html>


More information about the Libreoffice-bugs mailing list