public class TextBox extends TextShape
Contains the text in a text frame as well as the properties and methods that control alignment and anchoring of the text.
_frc, _txtbox, _txtrun, AlignCenter, AlignJustify, AlignLeft, AlignRight, AnchorBottom, AnchorBottomBaseline, AnchorBottomCentered, AnchorBottomCenteredBaseline, AnchorMiddle, AnchorMiddleCentered, AnchorTop, AnchorTopBaseline, AnchorTopCentered, AnchorTopCenteredBaseline, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom_clientData, _clientRecords, DEFAULT_LINE_WIDTH_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI| Modifier | Constructor and Description |
|---|---|
|
TextBox()
Create a new TextBox.
|
protected |
TextBox(EscherContainerRecord escherRecord,
Shape parent)
Create a TextBox object and initialize it from the supplied Record container.
|
|
TextBox(Shape parent)
Create a new TextBox.
|
| Modifier and Type | Method and Description |
|---|---|
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new TextBox and initialize its internal structures
|
protected void |
setDefaultTextProperties(TextRun _txtrun)
Set default properties for the TextRun.
|
afterInsert, createTextRun, draw, getEscherTextboxWrapper, getHorizontalAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPlaceholderAtom, getText, getTextId, getTextRun, getVerticalAlignment, getWordWrap, initTextRun, resizeToFitText, setHorizontalAlignment, setHyperlink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setSheet, setText, setTextId, setVerticalAlignment, setWordWrapgetClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientDatagetAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeTypeprotected TextBox(EscherContainerRecord escherRecord, Shape parent)
escherRecord - EscherSpContainer container which holds information about this shapeparent - the parent of the shapepublic TextBox(Shape parent)
parent - the parent of this Shape. For example, if this text box is a cell
in a table then the parent is Table.public TextBox()
protected EscherContainerRecord createSpContainer(boolean isChild)
createSpContainer in class SimpleShapeisChild - true if the Line is inside a group, false otherwiseEscherContainerRecord which holds shape dataprotected void setDefaultTextProperties(TextRun _txtrun)
TextShapesetDefaultTextProperties in class TextShapeCopyright © 2020. All rights reserved.