public class XFAHyphenation extends Object implements com.itextpdf.text.pdf.HyphenationEvent
Modifier and Type | Field and Description |
---|---|
static String |
EXCLUDE_ALL_CAPS |
static String |
EXCLUDE_INITIAL_CAP |
protected boolean |
excludeAllCaps |
protected boolean |
excludeInitialCap |
protected com.itextpdf.text.pdf.hyphenation.Hyphenator |
hyphenator |
protected XFALocale |
locale |
protected String |
post |
static String |
PUSH_CHARACTER_COUNT |
protected int |
pushCharacterCount |
static String |
REMAIN_CHARACTER_COUNT |
protected int |
remainCharacterCount |
static String |
WORD_CHARACTER_COUNT |
protected int |
wordCharacterCount |
Constructor and Description |
---|
XFAHyphenation() |
XFAHyphenation(XFALocale locale, FormNode hyphenationNode, FlattenerContext flattenerContext) |
Modifier and Type | Method and Description |
---|---|
String |
getHyphenatedWordPost() |
String |
getHyphenatedWordPre(String word, com.itextpdf.text.pdf.BaseFont font, float fontSize, float remainingWidth) |
String |
getHyphenSymbol() |
public static final String WORD_CHARACTER_COUNT
public static final String REMAIN_CHARACTER_COUNT
public static final String PUSH_CHARACTER_COUNT
public static final String EXCLUDE_ALL_CAPS
public static final String EXCLUDE_INITIAL_CAP
protected com.itextpdf.text.pdf.hyphenation.Hyphenator hyphenator
protected String post
protected XFALocale locale
protected int wordCharacterCount
protected int remainCharacterCount
protected int pushCharacterCount
protected boolean excludeAllCaps
protected boolean excludeInitialCap
public XFAHyphenation()
public XFAHyphenation(XFALocale locale, FormNode hyphenationNode, FlattenerContext flattenerContext)
public String getHyphenSymbol()
getHyphenSymbol
in interface com.itextpdf.text.pdf.HyphenationEvent
public String getHyphenatedWordPre(String word, com.itextpdf.text.pdf.BaseFont font, float fontSize, float remainingWidth)
getHyphenatedWordPre
in interface com.itextpdf.text.pdf.HyphenationEvent
public String getHyphenatedWordPost()
getHyphenatedWordPost
in interface com.itextpdf.text.pdf.HyphenationEvent
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.