public class HeadingStyleConverter extends StyleConverterHelper
config, converter, ofr
bConvertHard, 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, getTextSc
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDirection, applyLang, colScale, scale
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