public interface Table extends ElementContainer, BlockEntity
The following features are supported:
RichtextPackage.getTable()
Modifier and Type | Method and Description |
---|---|
int |
calculateNumColumns()
Calculates the number of columns in the table and returns the result
|
int |
calculateNumRows()
Calculates the number of rows in the table and returns the result
|
int |
calculatePixelWidth()
Calculate the width of the table by adding up the column widths
Only Applicable for non-percentage based tables
|
int |
getBorder()
Returns the value of the 'Border' attribute.
|
boolean |
isPercentageBased()
Returns true if the column's width is a percentage
|
boolean |
isSetBorder()
Returns whether the value of the '
Border ' attribute is set. |
void |
setBorder(int value)
Sets the value of the '
Border ' attribute. |
void |
unsetBorder()
Unsets the value of the '
Border ' attribute. |
getChildren
acceptsChild, adaptAndAdd, adaptAndAdd, wrap
charAt, getBody, getContainingBlock, getDisplayName, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, mapToModel, setId, size, split, translateToAbsolute
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getAlignment, getClazz, getStyle, isSetAlignment, isSetClazz, setAlignment, setClazz, setStyle, unsetAlignment, unsetClazz
int getBorder()
"1"
.
If the meaning of the 'Border' attribute isn't clear, there really should be more of a description here...
isSetBorder()
,
unsetBorder()
,
setBorder(int)
,
RichtextPackage.getTable_Border()
void setBorder(int value)
Border
' attribute.
value
- the new value of the 'Border' attribute.isSetBorder()
,
unsetBorder()
,
getBorder()
void unsetBorder()
Border
' attribute.
isSetBorder()
,
getBorder()
,
setBorder(int)
boolean isSetBorder()
Border
' attribute is set.
unsetBorder()
,
getBorder()
,
setBorder(int)
int calculateNumColumns()
int calculateNumRows()
boolean isPercentageBased()
int calculatePixelWidth()