public class HeadingStyleConverter extends StyleConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNamesconfig, 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, scaleapplyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextScpublic HeadingStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
public java.lang.String getStyleDeclarations(java.lang.String sIndent)
StyleConverterHelperConvert style information for used styles
getStyleDeclarations in class StyleConverterHelpersIndent - a String of spaces to add before each linepublic OfficeStyleFamily getStyles()
StyleConverterHelpergetStyles in class StyleConverterHelperpublic 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