public class TableStyle extends Object implements ObjectStyle
| Modifier and Type | Field and Description |
|---|---|
static TableStyle |
DEFAULT_TABLE_STYLE
the default (empty) table style
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToElements(OdsElements odsElements)
Add this to OdsElements
|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static TableStyleBuilder |
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.
|
PageStyle |
getPageStyle() |
boolean |
isHidden() |
public static final TableStyle DEFAULT_TABLE_STYLE
public static TableStyleBuilder 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 addedpublic ObjectStyleFamily getFamily()
ObjectStylegetFamily in interface ObjectStylepublic String getName()
NamedObjectgetName in interface NamedObjectpublic String getKey()
ObjectStylegetKey in interface ObjectStylepublic boolean isHidden()
public PageStyle getPageStyle()
Copyright © 2016–2021. All rights reserved.