|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.usermodel.HSLFShape
org.apache.poi.hslf.usermodel.HSLFSimpleShape
org.apache.poi.hslf.usermodel.HSLFTextShape
org.apache.poi.hslf.usermodel.HSLFTextBox
public class HSLFTextBox
Represents a TextFrame shape in PowerPoint.
Contains the text in a text frame as well as the properties and methods that control alignment and anchoring of the text.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.TextShape |
---|
TextShape.TextAutofit, TextShape.TextDirection, TextShape.TextPlaceholder |
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFTextShape |
---|
WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom |
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape |
---|
_hyperlink, DEFAULT_LINE_WIDTH |
Constructor Summary | |
---|---|
|
HSLFTextBox()
Create a new TextBox. |
protected |
HSLFTextBox(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a TextBox object and initialize it from the supplied Record container. |
|
HSLFTextBox(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new TextBox. |
Method Summary | |
---|---|
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new TextBox and initialize its internal structures |
protected void |
setDefaultTextProperties(HSLFTextParagraph _txtrun)
Set default properties for the TextRun. |
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFShape |
---|
draw, getAnchor, getClientData, getClientDataRecord, getClientRecords, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.poi.sl.usermodel.TextShape |
---|
appendText, getInsets, getText, getTextDirection, getTextHeight, getTextHeight, getTextParagraphs, getTextPlaceholder, getTextRotation, getVerticalAlignment, getWordWrap, isHorizontalCentered, resizeToFitText, resizeToFitText, setHorizontalCentered, setInsets, setText, setTextDirection, setTextPlaceholder, setTextRotation, setVerticalAlignment, setWordWrap |
Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape |
---|
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getShadow, getShapeType, getStrokeStyle, setFillColor, setPlaceholder, setShapeType, setStrokeStyle |
Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
---|
draw, getAnchor, getParent, getSheet |
Methods inherited from interface org.apache.poi.sl.draw.geom.IAdjustableShape |
---|
getAdjustValue |
Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
---|
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Constructor Detail |
---|
protected HSLFTextBox(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
escherRecord
- EscherSpContainer
container which holds information about this shapeparent
- the parent of the shapepublic HSLFTextBox(ShapeContainer<HSLFShape,HSLFTextParagraph> 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 HSLFTextBox()
Method Detail |
---|
protected EscherContainerRecord createSpContainer(boolean isChild)
createSpContainer
in class HSLFSimpleShape
isChild
- true
if the Line is inside a group, false
otherwise
EscherContainerRecord
which holds shape dataprotected void setDefaultTextProperties(HSLFTextParagraph _txtrun)
HSLFTextShape
setDefaultTextProperties
in class HSLFTextShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |