Class TextBoxContent

java.lang.Object
com.independentsoft.office.word.TextBoxContent

public class TextBoxContent extends Object
The Class TextBoxContent.
  • Constructor Details

    • TextBoxContent

      public TextBoxContent()
      Instantiates a new text box content.
    • TextBoxContent

      public TextBoxContent(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new text box content.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • add

      public void add(Paragraph paragraph)
      Adds the.
      Parameters:
      paragraph - the paragraph
    • add

      public void add(Table table)
      Adds the.
      Parameters:
      table - the table
    • add

      public void add(CustomXml customXml)
      Adds the.
      Parameters:
      customXml - the custom xml
    • add

      public void add(StructuredDocumentTag structuredDocumentTag)
      Adds the.
      Parameters:
      structuredDocumentTag - the structured document tag
    • add

      public void add(IBlockElement contentElement)
      Adds the.
      Parameters:
      contentElement - the content element
    • clone

      public TextBoxContent clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getContent

      public List<IBlockElement> getContent()
      Gets the content.
      Returns:
      the content