Class HSLFTextBox

All Implemented Interfaces:
Iterable<HSLFTextParagraph>, IAdjustableShape, AutoShape<HSLFShape,HSLFTextParagraph>, PlaceableShape<HSLFShape,HSLFTextParagraph>, Shape<HSLFShape,HSLFTextParagraph>, SimpleShape<HSLFShape,HSLFTextParagraph>, TextBox<HSLFShape,HSLFTextParagraph>, TextShape<HSLFShape,HSLFTextParagraph>
Direct Known Subclasses:
HSLFPlaceholder, HSLFTableCell

public class HSLFTextBox extends HSLFTextShape implements TextBox<HSLFShape,HSLFTextParagraph>
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.

  • Constructor Details

    • HSLFTextBox

      public HSLFTextBox(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
      Create a new TextBox. This constructor is used when a new shape is created.
      Parameters:
      parent - the parent of this Shape. For example, if this text box is a cell in a table then the parent is Table.
    • HSLFTextBox

      public HSLFTextBox()
      Create a new TextBox. This constructor is used when a new shape is created.