Class TextUtil

java.lang.Object
com.openhtmltopdf.layout.TextUtil

public class TextUtil
extends Object
  • Constructor Details

    • TextUtil

      public TextUtil()
  • Method Details

    • transformText

      public static String transformText​(String text, CalculatedStyle style)
    • transformFirstLetterText

      public static String transformFirstLetterText​(String text, CalculatedStyle style)
    • isFirstLetterSeparatorChar

      public static boolean isFirstLetterSeparatorChar​(int currentChar)
      According to the CSS spec the first letter includes certain punctuation immediately preceding or following the actual first letter.
      Parameters:
      currentChar -
      Returns: