Package com.lowagie.text.pdf.hyphenation
Class Hyphenation
- java.lang.Object
-
- com.lowagie.text.pdf.hyphenation.Hyphenation
-
public class Hyphenation extends Object
This class represents a hyphenated word.- Author:
- Carlos Villegas
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getHyphenationPoints()StringgetPostHyphenText(int index)StringgetPreHyphenText(int index)intlength()StringtoString()
-
-
-
Method Detail
-
length
public int length()
- Returns:
- the number of hyphenation points in the word
-
getPreHyphenText
public String getPreHyphenText(int index)
- Parameters:
index- The index of the hyphen character- Returns:
- the pre-break text, not including the hyphen character
-
getPostHyphenText
public String getPostHyphenText(int index)
- Parameters:
index- The index of the hyphen character in the word- Returns:
- the post-break text
-
getHyphenationPoints
public int[] getHyphenationPoints()
- Returns:
- the hyphenation points
-
-