public class TableStyleConverter extends StyleWithPropertiesConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNames
Constructor and Description |
---|
TableStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType)
Create a new
TableStyleConverter |
Modifier and Type | Method and Description |
---|---|
void |
applyProperties(StyleWithProperties style,
CSVList props,
boolean bInherit)
Convert formatting properties for a specific table style.
|
java.lang.String |
getDefaultTagName(StyleWithProperties style)
Create default tag name to represent a table object
|
OfficeStyleFamily |
getStyles()
Get the family of table styles
|
applyStyle, getClassNamePrefix, getStyleDeclarations
applyDirection, applyLang, colScale, scale
public TableStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
TableStyleConverter
ofr
- an OfficeReader
to read style information fromconfig
- the configuration to useconverter
- the main Converter
classnType
- the type of xhtml to usepublic OfficeStyleFamily getStyles()
getStyles
in class StyleConverterHelper
public java.lang.String getDefaultTagName(StyleWithProperties style)
getDefaultTagName
in class StyleWithPropertiesConverterHelper
style
- to usepublic void applyProperties(StyleWithProperties style, CSVList props, boolean bInherit)
applyProperties
in class StyleWithPropertiesConverterHelper
style
- the style to convertprops
- the CSVList
object to add information tobInherit
- true if properties should be inherited from parent style(s)