Class CounterFunction

java.lang.Object
com.openhtmltopdf.layout.CounterFunction

public class CounterFunction extends Object
  • Field Details

    • _listStyleType

      private IdentValue _listStyleType
    • _counterValue

      private int _counterValue
    • _counterValues

      private List<Integer> _counterValues
    • _separator

      private String _separator
  • Constructor Details

    • CounterFunction

      public CounterFunction(int counterValue, IdentValue listStyleType)
    • CounterFunction

      public CounterFunction(List<Integer> counterValues, String separator, IdentValue listStyleType)
  • Method Details

    • toRoman

      private static String toRoman(int val)
    • createCounterText

      public static String createCounterText(IdentValue listStyle, int listCounter)
    • toLatin

      private static String toLatin(int val)
    • evaluate

      public String evaluate()