public class TableStyleConverter extends StyleWithPropertiesConverterHelper
config, converter, ofr
bConvertHard, bConvertStyles, nType, styleMap, styleNames
Constructor | Description |
---|---|
TableStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
Create a new
TableStyleConverter |
Modifier and Type | Method | 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, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDirection, applyLang, colScale, scale
applyStyle, getClassNamePrefix, getStyleDeclarations
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)