Package com.openhtmltopdf.layout
Class TextUtil
java.lang.Object
com.openhtmltopdf.layout.TextUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classA best effort implementation of title casing.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFirstLetterSeparatorChar(int currentChar) According to the CSS spec the first letter includes certain punctuation immediately preceding or following the actual first letter.static StringtransformFirstLetterText(String text, CalculatedStyle style) static StringtransformText(String text, CalculatedStyle style)
-
Constructor Details
-
TextUtil
public TextUtil()
-
-
Method Details
-
transformText
-
transformFirstLetterText
-
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:
-