public class HeadingStyleConverter extends StyleConverterHelper
config, converter, ofrbConvertHard, bConvertStyles, nType, styleMap, styleNames| Constructor | Description |
|---|---|
HeadingStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
| Modifier and Type | Method | 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
|
applyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextScclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyDirection, applyLang, colScale, scalepublic 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