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