Class Row
java.lang.Object
com.independentsoft.office.word.tables.Row
- All Implemented Interfaces:
IContentElement,IRowContent
The Class Row.
-
Constructor Summary
ConstructorsConstructorDescriptionRow()Instantiates a new row.Row(InternalXMLStreamReader reader)Instantiates a new row.Instantiates a new row. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CustomXmlCell customXmlCell)Adds the.voidadd(StructuredDocumentTagCell structuredDocumentTagCell)Adds the.voidAdds the.voidadd(ICellContent cellContent)Adds the.clone()Gets the alignment.Gets the cant split.Gets the cell spacing.Gets the conditional formatting.Gets the content.Gets the deleted row.Gets the deletion revision id.longgetDivID()Gets the div id.Gets the exceptions.Gets the glyph formatting revision id.intGets the grid columns after last cell.intGets the grid columns before first cell.Gets the header.Gets the height.Gets the hidden.Gets the inserted row.Gets the row paragraph id (w14:paraId).Gets the preferred width after.Gets the preferred width before.Gets the properties revision id.Gets the revision id.Gets the row text id (w14:textId).voidsetAlignment(HorizontalAlignmentType alignment)Sets the alignment.voidsetCantSplit(ExtendedBoolean cantSplit)Sets the cant split.voidsetCellSpacing(Width cellSpacing)Sets the cell spacing.voidsetConditionalFormatting(ConditionalFormatting conditionalFormatting)Sets the conditional formatting.voidsetDeletedRow(DeletedRow deletedRow)Sets the deleted row.voidsetDeletionRevisionID(String deletionRevisionID)Sets the deletion revision id.voidsetDivID(long divID)Sets the div id.voidsetExceptions(TablePropertyExceptions exceptions)Sets the exceptions.voidsetGlyphFormattingRevisionID(String glyphFormattingRevisionID)Sets the glyph formatting revision id.voidsetGridColumnsAfterLastCell(int gridColumnsAfterLastCell)Sets the grid columns after last cell.voidsetGridColumnsBeforeFirstCell(int gridColumnsBeforeFirstCell)Sets the grid columns before first cell.voidsetHeader(ExtendedBoolean header)Sets the header.voidSets the height.voidsetHidden(ExtendedBoolean hidden)Sets the hidden.voidsetInsertedRow(InsertedRow insertedRow)Sets the inserted row.voidsetParagraphID(String paragraphID)Sets the row paragraph id (w14:paraId).voidsetPreferredWidthAfter(Width preferredWidthAfter)Sets the preferred width after.voidsetPreferredWidthBefore(Width preferredWidthBefore)Sets the preferred width before.voidsetPropertiesRevisionID(String propertiesRevisionID)Sets the properties revision id.voidsetRevisionID(String revisionID)Sets the revision id.voidSets the row text id (w14:textId).toString()
-
Constructor Details
-
Row
public Row()Instantiates a new row. -
Row
Instantiates a new row.- Parameters:
cellArray- the cell array
-
Row
Instantiates a new row.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
cell- the cell
-
add
Adds the.- Parameters:
customXmlCell- the custom xml cell
-
add
Adds the.- Parameters:
structuredDocumentTagCell- the structured document tag cell
-
add
Adds the.- Parameters:
cellContent- the cell content
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRowContent- Overrides:
clonein classObject
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getDeletionRevisionID
Gets the deletion revision id.- Returns:
- the deletion revision id
-
setDeletionRevisionID
Sets the deletion revision id.- Parameters:
deletionRevisionID- the new deletion revision id
-
getRevisionID
Gets the revision id.- Returns:
- the revision id
-
setRevisionID
Sets the revision id.- Parameters:
revisionID- the new revision id
-
getPropertiesRevisionID
Gets the properties revision id.- Returns:
- the properties revision id
-
setPropertiesRevisionID
Sets the properties revision id.- Parameters:
propertiesRevisionID- the new properties revision id
-
getParagraphID
Gets the row paragraph id (w14:paraId).- Returns:
- the paragraph id
-
setParagraphID
Sets the row paragraph id (w14:paraId).- Parameters:
paragraphID- the new paragraph id
-
getTextID
Gets the row text id (w14:textId).- Returns:
- the text id
-
setTextID
Sets the row text id (w14:textId).- Parameters:
textID- the new text id
-
getGlyphFormattingRevisionID
Gets the glyph formatting revision id.- Returns:
- the glyph formatting revision id
-
setGlyphFormattingRevisionID
Sets the glyph formatting revision id.- Parameters:
glyphFormattingRevisionID- the new glyph formatting revision id
-
getExceptions
Gets the exceptions.- Returns:
- the exceptions
-
setExceptions
Sets the exceptions.- Parameters:
exceptions- the new exceptions
-
getInsertedRow
Gets the inserted row.- Returns:
- the inserted row
-
setInsertedRow
Sets the inserted row.- Parameters:
insertedRow- the new inserted row
-
getDeletedRow
Gets the deleted row.- Returns:
- the deleted row
-
setDeletedRow
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
Gets the hidden.- Returns:
- the hidden
-
setHidden
Sets the hidden.- Parameters:
hidden- the new hidden
-
getHeader
Gets the header.- Returns:
- the header
-
setHeader
Sets the header.- Parameters:
header- the new header
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getPreferredWidthBefore
Gets the preferred width before.- Returns:
- the preferred width before
-
setPreferredWidthBefore
Sets the preferred width before.- Parameters:
preferredWidthBefore- the new preferred width before
-
getPreferredWidthAfter
Gets the preferred width after.- Returns:
- the preferred width after
-
setPreferredWidthAfter
Sets the preferred width after.- Parameters:
preferredWidthAfter- the new preferred width after
-
getHeight
Gets the height.- Returns:
- the height
-
setHeight
Sets the height.- Parameters:
height- the new height
-
getConditionalFormatting
Gets the conditional formatting.- Returns:
- the conditional formatting
-
setConditionalFormatting
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
Gets the cell spacing.- Returns:
- the cell spacing
-
setCellSpacing
Sets the cell spacing.- Parameters:
cellSpacing- the new cell spacing
-
getCantSplit
Gets the cant split.- Returns:
- the cant split
-
setCantSplit
Sets the cant split.- Parameters:
cantSplit- the new cant split
-