public class TableRowStyle extends Object implements ObjectStyle
| Modifier and Type | Field and Description |
|---|---|
static TableRowStyle |
DEFAULT_TABLE_ROW_STYLE
The default style, see LO.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToContentStyles(StylesContainer stylesContainer)
Add this style to a styles container
|
void |
addToElements(OdsElements odsElements)
Add this to OdsElements
|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static TableRowStyleBuilder |
builder(String name) |
ObjectStyleFamily |
getFamily()
19.476 style:family
|
String |
getKey()
The identifier of this style is built on the name (19.498 style:name) and the family
|
String |
getName()
Get the name of this object.
|
Length |
getRowHeight()
Set the row height to a table row.
|
boolean |
isHidden() |
public static final TableRowStyle DEFAULT_TABLE_ROW_STYLE
public static TableRowStyleBuilder builder(String name)
name - the name of the TableRowStyle to createpublic void addToElements(OdsElements odsElements)
AddableToOdsElementsaddToElements in interface AddableToOdsElementsodsElements - the OdsElements instance where to add this.public void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedpublic ObjectStyleFamily getFamily()
ObjectStylegetFamily in interface ObjectStylepublic String getName()
NamedObjectgetName in interface NamedObjectpublic Length getRowHeight()
public String getKey()
ObjectStylegetKey in interface ObjectStylepublic boolean isHidden()
public void addToContentStyles(StylesContainer stylesContainer)
stylesContainer - the styles containerCopyright © 2016–2021. All rights reserved.