com.lowagie.text.pdf
public interface HyphenationEvent
Chunk
to hyphenate a word.
Method Summary | |
---|---|
String | getHyphenatedWordPost() Gets the second part of the hyphenated word. |
String | getHyphenatedWordPre(String word, BaseFont font, float fontSize, float remainingWidth) Hyphenates a word and returns the first part of it. |
String | getHyphenSymbol() Gets the hyphen symbol. |
getHyphenatedWordPre()
.Returns: the second part of the hyphenated word
getHyphenatedWordPost()
.Parameters: word the word to hyphenate font the font used by this word fontSize the font size used by this word remainingWidth the width available to fit this word in
Returns: the first part of the hyphenated word including the hyphen symbol, if any
Returns: the hyphen symbol