Class TextStyleConverter


  • public class TextStyleConverter
    extends StyleWithPropertiesConverterHelper
    This class converts OpenDocument text styles to CSS2 styles. This includes conversion of text properties in other styles (paragraph, cell, graphic and presentation styles).
    • TODO: Support CJK and CTL
    • TODO: Support style:use-window-font-color ("automatic color")
    • TODO: Support style:font-charset (other encoding)
    • TODO: Support style:font-size-rel
    • TODO: Support text:display and text:condition
    • Constructor Detail

      • TextStyleConverter

        public TextStyleConverter​(OfficeReader ofr,
                                  XhtmlConfig config,
                                  Converter converter,
                                  int nType)
        Create a new TextStyleConverter
        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