Package writer2latex.xhtml
Class ListStyleConverter
java.lang.Object
writer2latex.xhtml.ConverterHelper
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
Fields inherited from class writer2latex.xhtml.ConverterHelper
config, converter, ofr
-
Constructor Summary
ConstructorsConstructorDescriptionListStyleConverter
(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) Create a newListStyleConverter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyStyle
(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
Methods inherited from class writer2latex.xhtml.ConverterHelper
applyStyle, getCellSc, getDrawCv, getFrameSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
-
Constructor Details
-
ListStyleConverter
Create a newListStyleConverter
- Parameters:
ofr
- anOfficeReader
to read style information fromconfig
- the configuration to useconverter
- the mainConverter
classnType
- the type of xhtml to use
-
-
Method Details
-
applyStyle
-
getStyleDeclarations
Convert style information for used styles
- Specified by:
getStyleDeclarations
in classStyleConverterHelper
- Parameters:
sIndent
- a String of spaces to add before each line
-
getStyles
Get the family of list styles- Specified by:
getStyles
in classStyleConverterHelper
- Returns:
- the style family
-