Class NumberFormatChineseAbstract

java.lang.Object
org.docx4j.model.listnumbering.NumberFormat
org.docx4j.model.listnumbering.NumberFormatChineseAbstract
Direct Known Subclasses:
NumberFormatChineseLower, NumberFormatChineseUpper

public class NumberFormatChineseAbstract extends NumberFormat
  • Field Details

    • CHINESE_NUMBER_CHARACTERS

      String[] CHINESE_NUMBER_CHARACTERS
    • CHINESE_NUMBER_UNITS

      String[] CHINESE_NUMBER_UNITS
    • CHINESE_NUMBER_BIG_UNITS

      String[] CHINESE_NUMBER_BIG_UNITS
  • Constructor Details

    • NumberFormatChineseAbstract

      public NumberFormatChineseAbstract()
  • Method Details

    • format

      public String format(int in)
      Specified by:
      format in class NumberFormat
    • convertFourDigit

      private String convertFourDigit(int num)
      Convert parts below four digits