Method Summary |
|
protected void | afterInsert(Sheet sh) When a textbox is added to a sheet we need to tell upper-level
PPDrawing about it. |
protected EscherContainerRecord | createSpContainer(boolean isChild) |
public int | getHorizontalAlignment() |
public int | getMarginBottom() Returns the distance (in points) between the bottom of the text frame
and the bottom of the inscribed rectangle of the shape that contains the text. |
public int | getMarginLeft() Returns the distance (in EMUs) between the left edge of the text frame
and the left edge of the inscribed rectangle of the shape that contains
the text. |
public int | getMarginRight() Returns the distance (in EMUs) between the right edge of the
text frame and the right edge of the inscribed rectangle of the shape
that contains the text. |
public int | getMarginTop() Returns the distance (in EMUs) between the top of the text frame
and the top of the inscribed rectangle of the shape that contains the text. |
public String | getText() Returns the text contained in this text frame. |
public int | getTextId() |
public TextRun | getTextRun() |
public int | getVerticalAlignment() Returns the type of vertical alignment for the text. |
public int | getWordWrap() Returns the value indicating word wrap. |
public void | resizeToFitText() Adjust the size of the TextBox so it encompasses the text inside it. |
public void | setBackgroundColor(Color color) The color used to fill this shape. |
public void | setHorizontalAlignment(int align) |
public void | setMarginBottom(int margin) Sets the botom margin. |
public void | setMarginLeft(int margin) Sets the left margin. |
public void | setMarginRight(int margin) Sets the right margin. |
public void | setMarginTop(int margin) Sets the top margin. |
public void | setSheet(Sheet sheet) |
public void | setText(String text) Sets the text contained in this text frame. |
public void | setTextId(int id) |
public void | setVerticalAlignment(int align) Sets the type of vertical alignment for the text. |
public void | setWordWrap(int wrap) |