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