|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xslf.usermodel.TextAutofit
public class TextAutofit
Specifies alist of auto-fit types.
Autofit specofies that a shape should be auto-fit to fully contain the text described within it. Auto-fitting is when text within a shape is scaled in order to contain all the text inside
Field Summary | |
---|---|
static TextAutofit |
NONE
Specifies that text within the text body should not be auto-fit to the bounding box. |
static TextAutofit |
NORMAL
Specifies that text within the text body should be normally auto-fit to the bounding box. |
static TextAutofit |
SHAPE
Specifies that a shape should be auto-fit to fully contain the text described within it. |
Constructor Summary | |
---|---|
TextAutofit()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TextAutofit NONE
public static final TextAutofit NORMAL
Example: Consider the situation where a user is building a diagram and needs to have the text for each shape that they are using stay within the bounds of the shape. An easy way this might be done is by using NORMAL autofit
public static final TextAutofit SHAPE
Example: Consider the situation where a user is building a diagram and needs to have the text for each shape that they are using stay within the bounds of the shape. An easy way this might be done is by using SHAPE autofit
Constructor Detail |
---|
public TextAutofit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |