java.lang.Object
com.independentsoft.office.word.tables.Row
All Implemented Interfaces:
IContentElement, IRowContent

public class Row extends Object implements IRowContent
The Class Row.
  • Constructor Details

    • Row

      public Row()
      Instantiates a new row.
    • Row

      public Row(Cell[] cellArray)
      Instantiates a new row.
      Parameters:
      cellArray - the cell array
    • Row

      public Row(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new row.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • add

      public void add(Cell cell)
      Adds the.
      Parameters:
      cell - the cell
    • add

      public void add(CustomXmlCell customXmlCell)
      Adds the.
      Parameters:
      customXmlCell - the custom xml cell
    • add

      public void add(StructuredDocumentTagCell structuredDocumentTagCell)
      Adds the.
      Parameters:
      structuredDocumentTagCell - the structured document tag cell
    • add

      public void add(ICellContent cellContent)
      Adds the.
      Parameters:
      cellContent - the cell content
    • getContentElements

      public List<IContentElement> getContentElements()
      Specified by:
      getContentElements in interface IContentElement
    • clone

      public Row clone()
      Specified by:
      clone in interface IContentElement
      Specified by:
      clone in interface IRowContent
      Overrides:
      clone in class Object
    • toString

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

      public List<ICellContent> getContent()
      Gets the content.
      Returns:
      the content
    • getDeletionRevisionID

      public String getDeletionRevisionID()
      Gets the deletion revision id.
      Returns:
      the deletion revision id
    • setDeletionRevisionID

      public void setDeletionRevisionID(String deletionRevisionID)
      Sets the deletion revision id.
      Parameters:
      deletionRevisionID - the new deletion revision id
    • getRevisionID

      public String getRevisionID()
      Gets the revision id.
      Returns:
      the revision id
    • setRevisionID

      public void setRevisionID(String revisionID)
      Sets the revision id.
      Parameters:
      revisionID - the new revision id
    • getPropertiesRevisionID

      public String getPropertiesRevisionID()
      Gets the properties revision id.
      Returns:
      the properties revision id
    • setPropertiesRevisionID

      public void setPropertiesRevisionID(String propertiesRevisionID)
      Sets the properties revision id.
      Parameters:
      propertiesRevisionID - the new properties revision id
    • getParagraphID

      public String getParagraphID()
      Gets the row paragraph id (w14:paraId).
      Returns:
      the paragraph id
    • setParagraphID

      public void setParagraphID(String paragraphID)
      Sets the row paragraph id (w14:paraId).
      Parameters:
      paragraphID - the new paragraph id
    • getTextID

      public String getTextID()
      Gets the row text id (w14:textId).
      Returns:
      the text id
    • setTextID

      public void setTextID(String textID)
      Sets the row text id (w14:textId).
      Parameters:
      textID - the new text id
    • getGlyphFormattingRevisionID

      public String getGlyphFormattingRevisionID()
      Gets the glyph formatting revision id.
      Returns:
      the glyph formatting revision id
    • setGlyphFormattingRevisionID

      public void setGlyphFormattingRevisionID(String glyphFormattingRevisionID)
      Sets the glyph formatting revision id.
      Parameters:
      glyphFormattingRevisionID - the new glyph formatting revision id
    • getExceptions

      public TablePropertyExceptions getExceptions()
      Gets the exceptions.
      Returns:
      the exceptions
    • setExceptions

      public void setExceptions(TablePropertyExceptions exceptions)
      Sets the exceptions.
      Parameters:
      exceptions - the new exceptions
    • getInsertedRow

      public InsertedRow getInsertedRow()
      Gets the inserted row.
      Returns:
      the inserted row
    • setInsertedRow

      public void setInsertedRow(InsertedRow insertedRow)
      Sets the inserted row.
      Parameters:
      insertedRow - the new inserted row
    • getDeletedRow

      public DeletedRow getDeletedRow()
      Gets the deleted row.
      Returns:
      the deleted row
    • setDeletedRow

      public void setDeletedRow(DeletedRow deletedRow)
      Sets the deleted row.
      Parameters:
      deletedRow - the new deleted row
    • getGridColumnsAfterLastCell

      public int getGridColumnsAfterLastCell()
      Gets the grid columns after last cell.
      Returns:
      the grid columns after last cell
    • setGridColumnsAfterLastCell

      public void setGridColumnsAfterLastCell(int gridColumnsAfterLastCell)
      Sets the grid columns after last cell.
      Parameters:
      gridColumnsAfterLastCell - the new grid columns after last cell
    • getGridColumnsBeforeFirstCell

      public int getGridColumnsBeforeFirstCell()
      Gets the grid columns before first cell.
      Returns:
      the grid columns before first cell
    • setGridColumnsBeforeFirstCell

      public void setGridColumnsBeforeFirstCell(int gridColumnsBeforeFirstCell)
      Sets the grid columns before first cell.
      Parameters:
      gridColumnsBeforeFirstCell - the new grid columns before first cell
    • getHidden

      public ExtendedBoolean getHidden()
      Gets the hidden.
      Returns:
      the hidden
    • setHidden

      public void setHidden(ExtendedBoolean hidden)
      Sets the hidden.
      Parameters:
      hidden - the new hidden
    • getHeader

      public ExtendedBoolean getHeader()
      Gets the header.
      Returns:
      the header
    • setHeader

      public void setHeader(ExtendedBoolean header)
      Sets the header.
      Parameters:
      header - the new header
    • getAlignment

      public HorizontalAlignmentType getAlignment()
      Gets the alignment.
      Returns:
      the alignment
    • setAlignment

      public void setAlignment(HorizontalAlignmentType alignment)
      Sets the alignment.
      Parameters:
      alignment - the new alignment
    • getPreferredWidthBefore

      public Width getPreferredWidthBefore()
      Gets the preferred width before.
      Returns:
      the preferred width before
    • setPreferredWidthBefore

      public void setPreferredWidthBefore(Width preferredWidthBefore)
      Sets the preferred width before.
      Parameters:
      preferredWidthBefore - the new preferred width before
    • getPreferredWidthAfter

      public Width getPreferredWidthAfter()
      Gets the preferred width after.
      Returns:
      the preferred width after
    • setPreferredWidthAfter

      public void setPreferredWidthAfter(Width preferredWidthAfter)
      Sets the preferred width after.
      Parameters:
      preferredWidthAfter - the new preferred width after
    • getHeight

      public RowHeight getHeight()
      Gets the height.
      Returns:
      the height
    • setHeight

      public void setHeight(RowHeight height)
      Sets the height.
      Parameters:
      height - the new height
    • getConditionalFormatting

      public ConditionalFormatting getConditionalFormatting()
      Gets the conditional formatting.
      Returns:
      the conditional formatting
    • setConditionalFormatting

      public void setConditionalFormatting(ConditionalFormatting conditionalFormatting)
      Sets the conditional formatting.
      Parameters:
      conditionalFormatting - the new conditional formatting
    • getDivID

      public long getDivID()
      Gets the div id.
      Returns:
      the div id
    • setDivID

      public void setDivID(long divID)
      Sets the div id.
      Parameters:
      divID - the new div id
    • getCellSpacing

      public Width getCellSpacing()
      Gets the cell spacing.
      Returns:
      the cell spacing
    • setCellSpacing

      public void setCellSpacing(Width cellSpacing)
      Sets the cell spacing.
      Parameters:
      cellSpacing - the new cell spacing
    • getCantSplit

      public ExtendedBoolean getCantSplit()
      Gets the cant split.
      Returns:
      the cant split
    • setCantSplit

      public void setCantSplit(ExtendedBoolean cantSplit)
      Sets the cant split.
      Parameters:
      cantSplit - the new cant split