Class DOCXTblPr
- java.lang.Object
-
- io.keikai.doc.io.schema.docx.DOCXTblPr
-
- All Implemented Interfaces:
ICTElement
public class DOCXTblPr extends java.lang.Object implements ICTElement
Internal Use Only.Table Properties Definition.
Represents
w:tblPrin xml.- Author:
- Jamson Chan
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrgetCT()Returns the CT object of current element.org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.EnumgetJc()Returns the table alignment.DOCXTblgetParent()Returns the parent table.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShdgetShd()Returns the table shading.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblBordersgetTblBorders()Returns the table borders.java.lang.StringgetTblCaption()Returns the table caption.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblCellMargetTblCellMar()Returns the default table cell margin.java.lang.DoublegetTblCellSpacing()Returns the default table cell spacing.java.lang.StringgetTblDescription()Returns the table description.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthgetTblInd()Returns the table indent from the leading margin.org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblLayoutType.EnumgetTblLayout()Returns the table layout.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblLookgetTblLook()Returns the table style conditional formatting settings.org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblOverlap.EnumgetTblOverlap()Returns the floating table allows other tables to overlap.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPPrgetTblpPr()Returns the floating table positioning.java.lang.StringgetTblStyle()Returns the referenced table style.java.lang.LonggetTblStyleColBandSize()Returns the number of columns in column band.java.lang.LonggetTblStyleRowBandSize()Returns the number of rows in row band.org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidthgetTblW()Returns the preferred table width.booleanisBidiVisual()Returns whether the table is visually right to left.voidsetBidiVisual(boolean bidiVisual)Sets whether the table is visually right to left.voidsetJc(org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum jc)Sets the table alignment.voidsetParent(DOCXTbl parent)Sets the parent table.voidsetShd(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd shd)Sets the table shading.voidsetTblBorders(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblBorders tblBorders)Sets the table borders.voidsetTblCaption(java.lang.String tblCaption)Sets the table caption.voidsetTblCellMar(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblCellMar tblCellMar)Sets the default table cell margin.voidsetTblCellSpacing(java.lang.Double tblCellSpacing)Sets the default table cell spacing.voidsetTblDescription(java.lang.String tblDescription)Sets the table description.voidsetTblInd(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblInd)Sets the table indent from the leading margin.voidsetTblLayout(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblLayoutType.Enum tblLayout)Sets the table layout.voidsetTblLook(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblLook tblLook)Sets the table style conditional formatting settings.voidsetTblOverlap(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblOverlap.Enum tblOverlap)Sets the floating table allows other tables to overlap.voidsetTblpPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPPr tblpPr)Sets the floating table positioning.voidsetTblStyle(java.lang.String tblStyle)Sets the referenced table style.voidsetTblStyleColBandSize(java.lang.Long tblStyleColBandSize)Sets the number of columns in column band.voidsetTblStyleRowBandSize(java.lang.Long tblStyleRowBandSize)Sets the number of rows in row band.voidsetTblW(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblW)Sets the preferred table width.
-
-
-
Constructor Detail
-
DOCXTblPr
public DOCXTblPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr tblPr, DOCXTbl parent)Create a new TableProperties by given CTTblPr.- Parameters:
tblPr- the CTTblPr object.parent- the parent Table object.
-
-
Method Detail
-
getCT
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPr getCT()
Description copied from interface:ICTElementReturns the CT object of current element.- Specified by:
getCTin interfaceICTElement
-
getParent
public DOCXTbl getParent()
Returns the parent table.- Returns:
- the parent table.
-
setParent
public void setParent(DOCXTbl parent)
Sets the parent table.- Parameters:
parent- the parent table.
-
isBidiVisual
public boolean isBidiVisual()
Returns whether the table is visually right to left.Represents the following element tag in the schema:
w:bidiVisual.- Returns:
- whether the table is visually right to left.
-
setBidiVisual
public void setBidiVisual(boolean bidiVisual)
Sets whether the table is visually right to left.Represents the following element tag in the schema:
w:bidiVisual.- Parameters:
bidiVisual- whether the table is visually right to left.
-
getJc
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum getJc()
Returns the table alignment.Represents the following element tag in the schema:
w:jc.- Returns:
- the table alignment.
-
setJc
public void setJc(org.openxmlformats.schemas.wordprocessingml.x2006.main.STJcTable.Enum jc)
Sets the table alignment.Represents the following element tag in the schema:
w:jc.- Parameters:
jc- the table alignment.
-
getShd
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd getShd()
Returns the table shading.Represents the following element tag in the schema:
w:shd.- Returns:
- the table shading.
-
setShd
public void setShd(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd shd)
Sets the table shading.Represents the following element tag in the schema:
w:shd.- Parameters:
shd- the table shading.
-
getTblBorders
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblBorders getTblBorders()
Returns the table borders.Represents the following element tag in the schema:
w:tblBorders.- Returns:
- the table borders.
-
setTblBorders
public void setTblBorders(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblBorders tblBorders)
Sets the table borders.Represents the following element tag in the schema:
w:tblBorders.- Parameters:
tblBorders- the table borders.
-
getTblCaption
public java.lang.String getTblCaption()
Returns the table caption.Represents the following element tag in the schema:
w:tblCaption.- Returns:
- the table caption.
-
setTblCaption
public void setTblCaption(java.lang.String tblCaption)
Sets the table caption.Represents the following element tag in the schema:
w:tblCaption.- Parameters:
tblCaption- the table caption.
-
getTblCellMar
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblCellMar getTblCellMar()
Returns the default table cell margin.Represents the following element tag in the schema:
w:tblCellMar.- Returns:
- the default table cell margin.
-
setTblCellMar
public void setTblCellMar(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblCellMar tblCellMar)
Sets the default table cell margin.Represents the following element tag in the schema:
w:tblCellMar.- Parameters:
tblCellMar- the default table cell margin.
-
getTblCellSpacing
public java.lang.Double getTblCellSpacing()
Returns the default table cell spacing.Represents the following element tag in the schema:
w:tblCellSpacing.- Returns:
- the default table cell spacing.
-
setTblCellSpacing
public void setTblCellSpacing(java.lang.Double tblCellSpacing)
Sets the default table cell spacing.Represents the following element tag in the schema:
w:tblCellSpacing.- Parameters:
tblCellSpacing- the default table cell spacing.
-
getTblDescription
public java.lang.String getTblDescription()
Returns the table description.Represents the following element tag in the schema:
w:tblDescription.- Returns:
- the table description.
-
setTblDescription
public void setTblDescription(java.lang.String tblDescription)
Sets the table description.Represents the following element tag in the schema:
w:tblDescription.- Parameters:
tblDescription- the table description.
-
getTblInd
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getTblInd()
Returns the table indent from the leading margin.Represents the following element tag in the schema:
w:tblInd.- Returns:
- the table indent from the leading margin.
-
setTblInd
public void setTblInd(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblInd)
Sets the table indent from the leading margin.Represents the following element tag in the schema:
w:tblInd.- Parameters:
tblInd- the table indent from the leading margin.
-
getTblLayout
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblLayoutType.Enum getTblLayout()
Returns the table layout.Represents the following element tag in the schema:
w:tblLayout.- Returns:
- the table layout.
-
setTblLayout
public void setTblLayout(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblLayoutType.Enum tblLayout)
Sets the table layout.Represents the following element tag in the schema:
w:tblLayout.- Parameters:
tblLayout- the table layout.
-
getTblLook
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblLook getTblLook()
Returns the table style conditional formatting settings.Represents the following element tag in the schema:
w:tblLook.- Returns:
- the table style conditional formatting settings.
-
setTblLook
public void setTblLook(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblLook tblLook)
Sets the table style conditional formatting settings.Represents the following element tag in the schema:
w:tblLook.- Parameters:
tblLook- the table style conditional formatting settings.
-
getTblOverlap
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblOverlap.Enum getTblOverlap()
Returns the floating table allows other tables to overlap.Represents the following element tag in the schema:
w:tblOverlap.- Returns:
- the floating table allows other tables to overlap.
-
setTblOverlap
public void setTblOverlap(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblOverlap.Enum tblOverlap)
Sets the floating table allows other tables to overlap.Represents the following element tag in the schema:
w:tblOverlap.- Parameters:
tblOverlap- the floating table allows other tables to overlap.
-
getTblpPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPPr getTblpPr()
Returns the floating table positioning.Represents the following element tag in the schema:
w:tblpPr.- Returns:
- the floating table positioning.
-
setTblpPr
public void setTblpPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPPr tblpPr)
Sets the floating table positioning.Represents the following element tag in the schema:
w:tblpPr.- Parameters:
tblpPr- the floating table positioning.
-
getTblStyle
public java.lang.String getTblStyle()
Returns the referenced table style.Represents the following element tag in the schema:
w:tblStyle.- Returns:
- the referenced table style.
-
setTblStyle
public void setTblStyle(java.lang.String tblStyle)
Sets the referenced table style.Represents the following element tag in the schema:
w:tblStyle.- Parameters:
tblStyle- the referenced table style.
-
getTblStyleColBandSize
public java.lang.Long getTblStyleColBandSize()
Returns the number of columns in column band.Represents the following element tag in the schema:
w:tblStyleColBandSize.- Returns:
- the number of columns in column band.
-
setTblStyleColBandSize
public void setTblStyleColBandSize(java.lang.Long tblStyleColBandSize)
Sets the number of columns in column band.Represents the following element tag in the schema:
w:tblStyleColBandSize.- Parameters:
tblStyleColBandSize- the number of columns in column band.
-
getTblStyleRowBandSize
public java.lang.Long getTblStyleRowBandSize()
Returns the number of rows in row band.Represents the following element tag in the schema:
w:tblStyleRowBandSize.- Returns:
- the number of rows in row band.
-
setTblStyleRowBandSize
public void setTblStyleRowBandSize(java.lang.Long tblStyleRowBandSize)
Sets the number of rows in row band.Represents the following element tag in the schema:
w:tblStyleRowBandSize.- Parameters:
tblStyleRowBandSize- the number of rows in row band.
-
getTblW
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getTblW()
Returns the preferred table width.Represents the following element tag in the schema:
w:tblW.- Returns:
- the preferred table width.
-
setTblW
public void setTblW(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth tblW)
Sets the preferred table width.Represents the following element tag in the schema:
w:tblW.- Parameters:
tblW- the preferred table width.
-
-