|
||||||||||
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 |
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFTextShape |
---|
_frc, _paragraphs, _txtbox, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom |
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape |
---|
_clientData, _clientRecords, DEFAULT_LINE_WIDTH |
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFShape |
---|
_escherContainer, _fill, _parent, _sheet, logger |
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.HSLFTextShape |
---|
afterInsert, appendText, getBottomInset, getEscherTextboxWrapper, getHyperlinks, getInsets, getLeftInset, getPlaceholderAtom, getRawText, getRightInset, getRunType, getText, getTextDirection, getTextHeight, getTextId, getTextParagraphs, getTopInset, getVerticalAlignment, getWordWrap, getWordWrapEx, isAlignToBaseline, isHorizontalCentered, isPlaceholder, iterator, resizeToFitText, setAlignToBaseline, setBottomInset, setHorizontalCentered, setHyperlink, setLeftInset, setRightInset, setRunType, setSheet, setText, setTextId, setTopInset, setVerticalAlignment, setWordWrap, storeText |
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFSimpleShape |
---|
getAdjustValue, getClientDataRecord, getClientRecords, getFillColor, getGeometry, getLineColor, getLineCompound, getLineDashing, getLineDecoration, getLineWidth, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineColor, setLineCompound, setLineDashing, setLineWidth, updateClientData |
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFShape |
---|
draw, getAnchor, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getHyperlink, 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 |
---|
getInsets, getTextDirection, getTextHeight, getTextParagraphs, getVerticalAlignment, getWordWrap, isHorizontalCentered |
Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape |
---|
getFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholder |
Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
---|
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, 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 |