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, getStyleDeclarationsapplyDirection, applyLang, colScale, scalepublic SectionStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
SectionStyleConverterofr - 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 StyleConverterHelperpublic java.lang.String getDefaultTagName(StyleWithProperties style)
Create default tag name to represent a section object
getDefaultTagName in class StyleWithPropertiesConverterHelperstyle - to usepublic void applyProperties(StyleWithProperties style, CSVList props, boolean bInherit)
Convert formatting properties for a specific section style.
applyProperties in class StyleWithPropertiesConverterHelperstyle - the style to convertprops - the CSVList object to add information tobInherit - true if properties should be inherited from parent style(s)