Class HeadingStyleConverter

    • Method Detail

      • getStyleDeclarations

        public java.lang.String getStyleDeclarations​(java.lang.String sIndent)
        Description copied from class: StyleConverterHelper

        Convert style information for used styles

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

        public void applyStyle​(int nLevel,
                               java.lang.String sStyleName,
                               StyleInfo info)
        Apply a style on a heading
        Parameters:
        nLevel - the heading level
        sStyleName - the style name
        info - add style information to this StyleInfo
      • applyInnerStyle

        public void applyInnerStyle​(int nLevel,
                                    java.lang.String sStyleName,
                                    StyleInfo info)
        Apply an inner style on a heading. The inner style surrounds the text content, excluding the numbering label. Inner styles are not an OpenDocument feature, but is provided as an additional style hook for own style sheets. An inner style is only applied if there is an explicit style map for the style.
        Parameters:
        nLevel - the heading level
        sStyleName - the style name
        info - add style information to this StyleInfo