[Libreoffice-ux-advise] [Bug 34467] FORMATTING: Fit to Frame for text boxes is broken

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 8 12:03:52 UTC 2016


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

--- Comment #47 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Thomas Krumbein from comment #46)
> (In reply to Regina Henschel from comment #45)
> > If you use "ODF 1.2" and not "ODF 1.2 extended" for save and load, then the
> > feature "fit to frame" will work as in older versions.
> 
> Sorry Regina - I just checked this on Win 10 with LibO 5.0.3  - this is not
> right.
> 
> "Fit to frame" does still not work. No change to prior versions.

It works here for LO 5.2 and for LO4.2. The essential part is, that you have to
_save_ it in "ODF 1.2". When you then reload the file, you will see that it
fits to frame.

The reason for the trouble is, that "ODF 1.2 extended" writes the attribute
value "shrink-to-fit" for the attribute "draw:fit-to-size". Strict ODF 1.2 only
allows "true" or "false" as values and "ODF 1.2" indeed writes "true" as value.
So if you have ever saved it in "ODF 1.2 extended", it has the wrong value and
you first have to repair it.

You can exchange "shrink-to-fit" with "true" directly in the file source if you
want. But opening and saving in "ODF 1.2" works as well.

I have written issue #97630 for a suggestion to get both features.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list