Package writer2latex.xhtml
Class HeadingStyleConverter
java.lang.Object
writer2latex.xhtml.StyleConverterHelper
writer2latex.xhtml.HeadingStyleConverter
-
Field Summary
Fields inherited from class writer2latex.xhtml.StyleConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNames -
Constructor Summary
ConstructorsConstructorDescriptionHeadingStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyInnerStyle(int nLevel, String sStyleName, StyleInfo info) Apply an inner style on a heading.voidapplyStyle(int nLevel, String sStyleName, StyleInfo info) Apply a style on a headinggetStyleDeclarations(String sIndent) Convert style information for used stylesGet the OpenDocument style family associated with this StyleConverterHelperMethods inherited from class writer2latex.xhtml.StyleConverterHelper
applyDirection, applyLang, colScale, scale
-
Constructor Details
-
HeadingStyleConverter
-
-
Method Details
-
getStyleDeclarations
Description copied from class:StyleConverterHelperConvert style information for used styles
- Specified by:
getStyleDeclarationsin classStyleConverterHelper- Parameters:
sIndent- a String of spaces to add before each line
-
getStyles
Description copied from class:StyleConverterHelperGet the OpenDocument style family associated with this StyleConverterHelper- Specified by:
getStylesin classStyleConverterHelper- Returns:
- the style family
-
applyStyle
Apply a style on a heading- Parameters:
nLevel- the heading levelsStyleName- the style nameinfo- add style information to this StyleInfo
-
applyInnerStyle
Apply an inner style on a heading. The inner style surrounds the text content, excluding the numbering label. Inner styles are not an OpenDocument feature, but is provided as an additional style hook for own style sheets. An inner style is only applied if there is an explicit style map for the style.- Parameters:
nLevel- the heading levelsStyleName- the style nameinfo- add style information to this StyleInfo
-