Kaydet (Commit) a612c2fe authored tarafından Michael Stahl's avatar Michael Stahl

offapi: clarify TextFitToSizeType documentation some more

Change-Id: I1912676423c0e85fa21f87bf28c2a4f6a13c5565
üst 0f649408
...@@ -32,8 +32,9 @@ published enum TextFitToSizeType ...@@ -32,8 +32,9 @@ published enum TextFitToSizeType
*/ */
NONE, NONE,
/** The font is scaled up or down proportionally to fit the /** The rendered glyph bitmaps are scaled up or down
size of the shape. This may scale anisotropically. proportionally to fit the size of the shape.
This may scale anisotropically.
No AutoGrow and no Auto line-breaks in this case. No AutoGrow and no Auto line-breaks in this case.
*/ */
PROPORTIONAL, PROPORTIONAL,
...@@ -41,11 +42,18 @@ published enum TextFitToSizeType ...@@ -41,11 +42,18 @@ published enum TextFitToSizeType
/** Like <code>PROPORTIONAL</code>, but each line of text /** Like <code>PROPORTIONAL</code>, but each line of text
is separately scaled proportionally to fit the width. is separately scaled proportionally to fit the width.
No AutoGrow and no Auto line-breaks in this case. 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, ALLLINES,
/** The font is scaled down (never up!) isotropically to fit the /** The font size is scaled down (never up!) isotropically to
available space. Auto line-breaks will keep working. fit the available space. Auto line-breaks will keep working.
*/ */
AUTOFIT AUTOFIT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment