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

            Bug ID: 97630
           Summary: LibreOffice uses wrong attribute for feature
                    "shrink-to-fit"
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

The presentation object "Outline" has the feature, that the font-size is
reduced, if the content does not fit into the frame area.

In "ODF 1.2 extended" this is written to file as
'draw:fit-to-size="shrink-to-fit"'. But the attribute 'draw:fit-to-size' has
only the values true and false. And the attribute itself is the wrong one.

The correct attribute is "style:shrink-to-fit"
Read section 20.350
"The style:shrink-to-fit attribute specifies whether content is reduced in size
to fit within a cell or drawing object. Shrinking means that the font size of
the content is decreased to fit the content into a cell or drawing object."

The attribute "style:shrink-to-fit" is not only usable with
<style:table-cell-properties> but also with <style:graphic-properties>. 

Therefore I do not see any need for extending the kind of the value of
attribute 'draw:fit-to-size'. Instead use the correct attribute and retain the
old behavior of 'draw:fit-to-size'.

Besides being conform to ODF1.2, the correct attribute would make it possible
to solve issue #34467, and to bring this feature to UI, so that a user can
freely decide, whether he wants to use this feature or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to