:: com :: sun :: star :: drawing ::

enum TextFitToSizeType

Values
NONE The text size is only defined by the font properties.  
PROPORTIONAL 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 separately scaled proportionally to fit the width.  
ALLLINES 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. Why this is in this enum and not a value of com.sun.star.drawing.TextHorizontalAdjust is anybody's guess.  
AUTOFIT The font size is scaled down (never up!) isotropically to fit the available space. Auto line-breaks will keep working.  
Values' Details
NONE
NONE,
Description
The text size is only defined by the font properties.
PROPORTIONAL
PROPORTIONAL,
Description
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 separately scaled proportionally to fit the width.
ALLLINES
ALLLINES,
Description
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. Why this is in this enum and not a value of com.sun.star.drawing.TextHorizontalAdjust is anybody's guess.
AUTOFIT
AUTOFIT,
Description
The font size is scaled down (never up!) isotropically to fit the available space. Auto line-breaks will keep working.
Top of Page