Class ListStyleConverter


  • public class ListStyleConverter
    extends StyleConverterHelper
    This class converts OpenDocument list styles to CSS2 styles (currently, actually CSS1).
    • Constructor Detail

      • ListStyleConverter

        public ListStyleConverter​(OfficeReader ofr,
                                  XhtmlConfig config,
                                  Converter converter,
                                  int nType)
        Create a new ListStyleConverter
        Parameters:
        ofr - an OfficeReader to read style information from
        config - the configuration to use
        converter - the main Converter class
        nType - the type of xhtml to use
    • Method Detail

      • applyStyle

        public void applyStyle​(int nLevel,
                               java.lang.String sStyleName,
                               StyleInfo info)
      • getStyleDeclarations

        public java.lang.String getStyleDeclarations​(java.lang.String sIndent)

        Convert style information for used styles

        Specified by:
        getStyleDeclarations in class StyleConverterHelper
        Parameters:
        sIndent - a String of spaces to add before each line