Package writer2latex.latex
Class ListStyleConverter
- java.lang.Object
-
- writer2latex.latex.ConverterHelper
-
- writer2latex.latex.StyleConverter
-
- writer2latex.latex.ListStyleConverter
-
public class ListStyleConverter extends StyleConverter
-
-
Field Summary
-
Fields inherited from class writer2latex.latex.StyleConverter
declarations, styleMap, styleNames
-
Fields inherited from class writer2latex.latex.ConverterHelper
config, ofr, palette
-
-
Constructor Summary
Constructors Constructor Description ListStyleConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a newListStyleConverter
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
void
applyListItemStyle(java.lang.String sStyleName, int nLevel, boolean bHeader, boolean bRestart, int nStartValue, BeforeAfter ba)
Apply a list style to a list item.void
applyListStyle(java.lang.String sStyleName, int nLevel, boolean bOrdered, boolean bContinue, BeforeAfter ba)
Apply a list style to an ordered or unordered list.static java.lang.String
numFormat(java.lang.String sFormat)
-
-
-
Constructor Detail
-
ListStyleConverter
public ListStyleConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a new
ListStyleConverter
.
-
-
Method Detail
-
appendDeclarations
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
- Overrides:
appendDeclarations
in classStyleConverter
-
applyListStyle
public void applyListStyle(java.lang.String sStyleName, int nLevel, boolean bOrdered, boolean bContinue, BeforeAfter ba)
Apply a list style to an ordered or unordered list.
-
applyListItemStyle
public void applyListItemStyle(java.lang.String sStyleName, int nLevel, boolean bHeader, boolean bRestart, int nStartValue, BeforeAfter ba)
Apply a list style to a list item.
-
numFormat
public static final java.lang.String numFormat(java.lang.String sFormat)
-
-