public class CellStyleConverter extends StyleWithPropertiesConverterHelper
config, converter, ofr
bConvertHard, bConvertStyles, nType, styleMap, styleNames
Constructor | Description |
---|---|
CellStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
Create a new
CellStyleConverter |
Modifier and Type | Method | Description |
---|---|---|
void |
applyProperties(StyleWithProperties style,
CSVList props,
boolean bInherit) |
Convert formatting properties for a specific Cell style.
|
java.lang.String |
getDefaultTagName(StyleWithProperties style) |
Create default tag name to represent a Cell object
|
OfficeStyleFamily |
getStyles() |
Get the family of cell 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 CellStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
CellStyleConverter
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)