Class DOCXTrPr
- All Implemented Interfaces:
ICTElement
Table Row Properties Definition.
Represents w:trPr in xml.
- Author:
- Jamson Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openxmlformats.schemas.wordprocessingml.x2006.main.CTCnfReturns the Table Row Conditional Formatting.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTrPrgetCT()Returns the CT object of current element.getDivId()Returns the Associated HTML div ID.Returns the Grid Columns After Last Cell.Returns the Grid Columns Before First Cell.org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.EnumgetJc()Returns the Table Row Alignment.Returns the parent table row.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthReturns the Table Row Cell Spacing.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHeightReturns the Table Row Height.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthReturns the Preferred Width After Table Row.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthReturns the Preferred Width Before Table Row.booleanReturns whether the Table Row Cannot Break Across Pages.booleanisHidden()Returns whether the Hidden Table Row Marker.booleanReturns 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.voidSets the Associated HTML div ID.voidsetGridAfter(Double gridAfter) Sets the Grid Columns After Last Cell.voidsetGridBefore(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.voidSets 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 Details
-
DOCXTrPr
Create a new TableRowProperties by given CTTrPr.- Parameters:
trPr- the CTTrPr object.parent- the parent TableRow object.
-
-
Method Details
-
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
Returns the parent table row.- Returns:
- the parent table row.
-
setParent
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
Returns the Associated HTML div ID.Represents the following element tag in the schema:
w:divId.- Returns:
- the Associated HTML div ID.
-
setDivId
Sets the Associated HTML div ID.Represents the following element tag in the schema:
w:divId.- Parameters:
divId- the Associated HTML div ID.
-
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
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
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
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.
-