Package writer2latex.xhtml
Class ListStyleConverter
java.lang.Object
writer2latex.xhtml.StyleConverterHelper
writer2latex.xhtml.ListStyleConverter
This class converts OpenDocument list styles to
CSS2 styles (currently, actually CSS1).
-
Field Summary
Fields inherited from class writer2latex.xhtml.StyleConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNames -
Constructor Summary
ConstructorsConstructorDescriptionListStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) Create a newListStyleConverter -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyle(int nLevel, String sStyleName, StyleInfo info) getStyleDeclarations(String sIndent) Convert style information for used stylesGet the family of list stylesMethods inherited from class writer2latex.xhtml.StyleConverterHelper
applyDirection, applyLang, colScale, scale
-
Constructor Details
-
ListStyleConverter
Create a newListStyleConverter- Parameters:
ofr- anOfficeReaderto read style information fromconfig- the configuration to useconverter- the mainConverterclassnType- the type of xhtml to use
-
-
Method Details
-
applyStyle
-
getStyleDeclarations
Convert style information for used styles
- Specified by:
getStyleDeclarationsin classStyleConverterHelper- Parameters:
sIndent- a String of spaces to add before each line
-
getStyles
Get the family of list styles- Specified by:
getStylesin classStyleConverterHelper- Returns:
- the style family
-