public class HeadingStyleConverter extends StyleConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNames
config, converter, ofr
Constructor and Description |
---|
HeadingStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
Modifier and Type | Method and Description |
---|---|
void |
applyInnerStyle(int nLevel,
java.lang.String sStyleName,
StyleInfo info)
Apply an inner style on a heading.
|
void |
applyStyle(int nLevel,
java.lang.String sStyleName,
StyleInfo info)
Apply a style on a heading
|
java.lang.String |
getStyleDeclarations(java.lang.String sIndent)
Convert style information for used styles
|
OfficeStyleFamily |
getStyles()
Get the OpenDocument style family associated with this
StyleConverterHelper
|
applyDirection, applyLang, colScale, scale
applyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
public HeadingStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
public java.lang.String getStyleDeclarations(java.lang.String sIndent)
StyleConverterHelper
Convert style information for used styles
getStyleDeclarations
in class StyleConverterHelper
sIndent
- a String of spaces to add before each linepublic OfficeStyleFamily getStyles()
StyleConverterHelper
getStyles
in class StyleConverterHelper
public void applyStyle(int nLevel, java.lang.String sStyleName, StyleInfo info)
nLevel
- the heading levelsStyleName
- the style nameinfo
- add style information to this StyleInfopublic void applyInnerStyle(int nLevel, java.lang.String sStyleName, StyleInfo info)
nLevel
- the heading levelsStyleName
- the style nameinfo
- add style information to this StyleInfo