Class ListStyleTypeCssApplier

    • Field Detail

      • LOG

        private static final Logger LOG
    • Constructor Detail

      • ListStyleTypeCssApplier

        public ListStyleTypeCssApplier()
    • Method Detail

      • apply

        public List apply​(List list,
                          Tag t,
                          HtmlPipelineContext context)
        The ListCssApplier has the capabilities to change the type of the given List dependable on the css. This means: Always replace your list with the returned one and add content to the list after applying!
        note: not implemented list-style-type:armenian, georgian, decimal-leading-zero.
        Parameters:
        list - the list to style
        t - the tag
        context - the context
        Returns:
        the changed List
      • synchronizeSymbol

        private void synchronizeSymbol​(float fontSize,
                                       List lst,
                                       BaseColor color)
      • shrinkSymbol

        private void shrinkSymbol​(List lst,
                                  float fontSize,
                                  BaseColor color)