offapi/com/sun/star/drawing/TextFitToSizeType.idl | 11 ++++++----- offapi/com/sun/star/drawing/TextProperties.idl | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-)
New commits: commit 92fe6fed58d3166740ab00a274e4c69562b20d0e Author: Michael Stahl <[email protected]> Date: Fri Oct 20 11:15:54 2017 +0200 offapi: update TextFitToSizeType documentation for tdf#97630 fix Change-Id: Id4fad147002d0ec18d1462764f842a3791b48d3a diff --git a/offapi/com/sun/star/drawing/TextFitToSizeType.idl b/offapi/com/sun/star/drawing/TextFitToSizeType.idl index 25693f67901b..00c9598fd0e9 100644 --- a/offapi/com/sun/star/drawing/TextFitToSizeType.idl +++ b/offapi/com/sun/star/drawing/TextFitToSizeType.idl @@ -32,17 +32,18 @@ published enum TextFitToSizeType */ NONE, - /** The rendered glyph bitmaps are scaled up or down + /** The bitmap with the rendered glyphs is scaled up or down proportionally to fit the size of the shape. This may scale anisotropically. No AutoGrow and no Auto line-breaks in this case. + + On fontwork custom shapes, the rendering is different: + each line of text is <em>separately</em> scaled + proportionally to fit the width. */ PROPORTIONAL, - /** Like <code>PROPORTIONAL</code>, but each line of text - is separately scaled proportionally to fit the width. - No AutoGrow and no Auto line-breaks in this case. - + /** Nowadays this is the same as `PROPORTIONAL`. @note This is actually only implemented on fontwork custom shapes, and the only supported option (other than NONE) on fontwork shapes. commit e2282240add1b57d5eafae8e829ac18051a27f59 Author: Michael Stahl <[email protected]> Date: Thu Oct 19 23:07:48 2017 +0200 offapi: fix TextFitToSize property Change-Id: I3c519e1377c09b53f02f360bb53f422ac1bad2b5 diff --git a/offapi/com/sun/star/drawing/TextProperties.idl b/offapi/com/sun/star/drawing/TextProperties.idl index bd0ff90819ed..4516c9829781 100644 --- a/offapi/com/sun/star/drawing/TextProperties.idl +++ b/offapi/com/sun/star/drawing/TextProperties.idl @@ -120,8 +120,8 @@ published service TextProperties [property] boolean TextContourFrame; - /** With this set to `TRUE`, the text inside of the Shape - is stretched to fit into the Shape. + /** With this set to a value other than `NONE`, the text inside of + the Shape is stretched or scaled to fit into the Shape. */ [property] com::sun::star::drawing::TextFitToSizeType TextFitToSize; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
