Class DOCXTrPr
- java.lang.Object
-
- io.keikai.doc.io.schema.docx.DOCXTrPr
-
- All Implemented Interfaces:
ICTElement
public class DOCXTrPr extends java.lang.Object implements ICTElement
Internal Use Only.Table Row Properties Definition.
Represents
w:trPrin xml.- Author:
- Jamson Chan
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCnfgetCnfStyle()Returns the Table Row Conditional Formatting.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPrgetCT()Returns the CT object of current element.java.lang.IntegergetDivId()Returns the Associated HTML div ID.java.lang.DoublegetGridAfter()Returns the Grid Columns After Last Cell.java.lang.DoublegetGridBefore()Returns the Grid Columns Before First Cell.org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.EnumgetJc()Returns the Table Row Alignment.DOCXTrgetParent()Returns the parent table row.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthgetTblCellSpacing()Returns the Table Row Cell Spacing.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHeightgetTrHeight()Returns the Table Row Height.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthgetWAfter()Returns the Preferred Width After Table Row.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthgetWBefore()Returns the Preferred Width Before Table Row.booleanisCantSplit()Returns whether the Table Row Cannot Break Across Pages.booleanisHidden()Returns whether the Hidden Table Row Marker.booleanisTblHeader()Returns whether Repeat Table Row on Every New Page.voidsetCantSplit(boolean cantSplit)Sets whether the Table Row Cannot Break Across Pages.voidsetCnfStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCnf cnfStyle)Sets the Table Row Conditional Formatting.voidsetDivId(java.lang.Integer divId)Sets the Associated HTML div ID.voidsetGridAfter(java.lang.Double gridAfter)Sets the Grid Columns After Last Cell.voidsetGridBefore(java.lang.Double gridBefore)Sets the Grid Columns Before First Cell.voidsetHidden(boolean hidden)Sets whether the Hidden Table Row Marker.voidsetJc(org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum jc)Sets the Table Row Alignment.voidsetParent(DOCXTr parent)Sets the parent table row.voidsetTblCellSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblCellSpacing)Sets the Table Row Cell Spacing.voidsetTblHeader(boolean tblHeader)Sets whether Repeat Table Row on Every New Page.voidsetTrHeight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHeight trHeight)Sets the Table Row Height.voidsetWAfter(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth wAfter)Sets the Preferred Width After Table Row.voidsetWBefore(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth wBefore)Sets the Preferred Width Before Table Row.
-
-
-
Constructor Detail
-
DOCXTrPr
public DOCXTrPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr trPr, DOCXTr parent)Create a new TableRowProperties by given CTTrPr.- Parameters:
trPr- the CTTrPr object.parent- the parent TableRow object.
-
-
Method Detail
-
getCT
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPr getCT()
Description copied from interface:ICTElementReturns the CT object of current element.- Specified by:
getCTin interfaceICTElement
-
getParent
public DOCXTr getParent()
Returns the parent table row.- Returns:
- the parent table row.
-
setParent
public void setParent(DOCXTr parent)
Sets the parent table row.- Parameters:
parent- the parent table row.
-
isCantSplit
public boolean isCantSplit()
Returns whether the Table Row Cannot Break Across Pages.Represents the following element tag in the schema:
w:cantSplit.- Returns:
- whether the Table Row Cannot Break Across Pages.
-
setCantSplit
public void setCantSplit(boolean cantSplit)
Sets whether the Table Row Cannot Break Across Pages.Represents the following element tag in the schema:
w:cantSplit.- Parameters:
cantSplit- whether the Table Row Cannot Break Across Pages.
-
getCnfStyle
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCnf getCnfStyle()
Returns the Table Row Conditional Formatting.Represents the following element tag in the schema:
w:cnfStyle.- Returns:
- the Table Row Conditional Formatting.
-
setCnfStyle
public void setCnfStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCnf cnfStyle)
Sets the Table Row Conditional Formatting.Represents the following element tag in the schema:
w:cnfStyle.- Parameters:
cnfStyle- the Table Row Conditional Formatting.
-
getDivId
public java.lang.Integer getDivId()
Returns the Associated HTML div ID.Represents the following element tag in the schema:
w:divId.- Returns:
- the Associated HTML div ID.
-
setDivId
public void setDivId(java.lang.Integer divId)
Sets the Associated HTML div ID.Represents the following element tag in the schema:
w:divId.- Parameters:
divId- the Associated HTML div ID.
-
getGridAfter
public java.lang.Double getGridAfter()
Returns the Grid Columns After Last Cell.Represents the following element tag in the schema:
w:gridAfter.- Returns:
- the Grid Columns After Last Cell.
-
setGridAfter
public void setGridAfter(java.lang.Double gridAfter)
Sets the Grid Columns After Last Cell.Represents the following element tag in the schema:
w:gridAfter.- Parameters:
gridAfter- the Grid Columns After Last Cell.
-
getGridBefore
public java.lang.Double getGridBefore()
Returns the Grid Columns Before First Cell.Represents the following element tag in the schema:
w:gridBefore.- Returns:
- the Grid Columns Before First Cell.
-
setGridBefore
public void setGridBefore(java.lang.Double gridBefore)
Sets the Grid Columns Before First Cell.Represents the following element tag in the schema:
w:gridBefore.- Parameters:
gridBefore- the Grid Columns Before First Cell.
-
isHidden
public boolean isHidden()
Returns whether the Hidden Table Row Marker.Represents the following element tag in the schema:
w:hidden.- Returns:
- whether the Hidden Table Row Marker.
-
setHidden
public void setHidden(boolean hidden)
Sets whether the Hidden Table Row Marker.Represents the following element tag in the schema:
w:hidden.- Parameters:
hidden- whether the Hidden Table Row Marker.
-
getJc
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum getJc()
Returns the Table Row Alignment.Represents the following element tag in the schema:
w:jc.- Returns:
- the Table Row Alignment.
-
setJc
public void setJc(org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum jc)
Sets the Table Row Alignment.Represents the following element tag in the schema:
w:jc.- Parameters:
jc- the Table Row Alignment.
-
getTblCellSpacing
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getTblCellSpacing()
Returns the Table Row Cell Spacing.Represents the following element tag in the schema:
w:tblCellSpacing.- Returns:
- the Table Row Cell Spacing.
-
setTblCellSpacing
public void setTblCellSpacing(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblCellSpacing)
Sets the Table Row Cell Spacing.Represents the following element tag in the schema:
w:tblCellSpacing.- Parameters:
tblCellSpacing- the Table Row Cell Spacing.
-
isTblHeader
public boolean isTblHeader()
Returns whether Repeat Table Row on Every New Page.Represents the following element tag in the schema:
w:tblHeader.- Returns:
- whether Repeat Table Row on Every New Page.
-
setTblHeader
public void setTblHeader(boolean tblHeader)
Sets whether Repeat Table Row on Every New Page.Represents the following element tag in the schema:
w:tblHeader.- Parameters:
tblHeader- whether Repeat Table Row on Every New Page.
-
getTrHeight
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHeight getTrHeight()
Returns the Table Row Height.Represents the following element tag in the schema:
w:trHeight.- Returns:
- the Table Row Height.
-
setTrHeight
public void setTrHeight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHeight trHeight)
Sets the Table Row Height.Represents the following element tag in the schema:
w:trHeight.- Parameters:
trHeight- the Table Row Height.
-
getWAfter
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getWAfter()
Returns the Preferred Width After Table Row.Represents the following element tag in the schema:
w:wAfter.- Returns:
- the Preferred Width After Table Row.
-
setWAfter
public void setWAfter(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth wAfter)
Sets the Preferred Width After Table Row.Represents the following element tag in the schema:
w:wAfter.- Parameters:
wAfter- the Preferred Width After Table Row.
-
getWBefore
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getWBefore()
Returns the Preferred Width Before Table Row.Represents the following element tag in the schema:
w:wBefore.- Returns:
- the Preferred Width Before Table Row.
-
setWBefore
public void setWBefore(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth wBefore)
Sets the Preferred Width Before Table Row.Represents the following element tag in the schema:
w:wBefore.- Parameters:
wBefore- the Preferred Width Before Table Row.
-
-