writer2latex.latex
Class ListStyleConverter

java.lang.Object
  extended by writer2latex.latex.ConverterHelper
      extended by writer2latex.latex.StyleConverter
          extended by 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
ListStyleConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
          Constructs a new ListStyleConverter.
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class StyleConverter

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)