diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-10-19 13:30:38 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-10-19 13:35:08 +0200 |
commit | a612c2feb38dbe78aa388f7d95baa12c6e821880 (patch) | |
tree | b642cdc6afa3b46b5b176227b599b90e8a8e0f10 /offapi | |
parent | 0f6494082983773431c84a3fcfd38db93d6afdae (diff) |
offapi: clarify TextFitToSizeType documentation some more
Change-Id: I1912676423c0e85fa21f87bf28c2a4f6a13c5565
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/drawing/TextFitToSizeType.idl | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/offapi/com/sun/star/drawing/TextFitToSizeType.idl b/offapi/com/sun/star/drawing/TextFitToSizeType.idl index e70a63c9ae82..25693f67901b 100644 --- a/offapi/com/sun/star/drawing/TextFitToSizeType.idl +++ b/offapi/com/sun/star/drawing/TextFitToSizeType.idl @@ -32,8 +32,9 @@ published enum TextFitToSizeType */ NONE, - /** The font is scaled up or down proportionally to fit the - size of the shape. This may scale anisotropically. + /** The rendered glyph bitmaps are 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. */ PROPORTIONAL, @@ -41,11 +42,18 @@ published enum TextFitToSizeType /** 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. + + @note This is actually only implemented on fontwork + custom shapes, and the only supported option + (other than NONE) on fontwork shapes. + Why this is in this enum and not a value of + com.sun.star.drawing.TextHorizontalAdjust + is anybody's guess. */ ALLLINES, - /** The font is scaled down (never up!) isotropically to fit the - available space. Auto line-breaks will keep working. + /** The font size is scaled down (never up!) isotropically to + fit the available space. Auto line-breaks will keep working. */ AUTOFIT |