public class TableColumnStyle extends Object implements ObjectStyle
| Modifier and Type | Field and Description |
|---|---|
static TableColumnStyle |
DEFAULT_TABLE_COLUMN_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 TableColumnStyleBuilder |
builder(String name) |
boolean |
equals(Object obj) |
Length |
getColumnWidth()
Deprecated.
should not be used.
|
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.
|
int |
hashCode() |
boolean |
isHidden() |
public static final TableColumnStyle DEFAULT_TABLE_COLUMN_STYLE
public static TableColumnStyleBuilder builder(String name)
name - the name of the stylepublic 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 added@Deprecated public Length getColumnWidth()
public ObjectStyleFamily getFamily()
ObjectStylegetFamily in interface ObjectStylepublic String getName()
NamedObjectgetName in interface NamedObjectpublic String getKey()
ObjectStylegetKey in interface ObjectStylepublic boolean isHidden()
public void addToContentStyles(StylesContainer stylesContainer)
stylesContainer - the styles containerCopyright © 2016–2021. All rights reserved.