|
iText 9.6.0 API
|
This is the class used to configure hyphenation on layout level More...
Public Member Functions |
|
| HyphenationConfig (int leftMin, int rightMin) | |
| Constructs a new HyphenationConfig. More... |
|
| HyphenationConfig (Hyphenator hyphenator) | |
| Constructs a new HyphenationConfig by a Hyphenator which will be used to find hyphenation points. More... |
|
| HyphenationConfig (String lang, String country, int leftMin, int rightMin) | |
| Constructs a new HyphenationConfig instance. More... |
|
| virtual iText.Layout.Hyphenation.Hyphenation | Hyphenate (String word) |
| Hyphenates a given word. More... |
|
| virtual char | GetHyphenSymbol () |
| Gets the hyphenation symbol. More... |
|
| virtual void | SetHyphenSymbol (char hyphenSymbol) |
| Sets the hyphenation symbol to the specified value. More... |
|
Package Attributes |
|
| Hyphenator | hyphenator |
| The Hyphenator object. More... |
|
| char | hyphenSymbol = '-' |
| The hyphenation symbol used when hyphenating. More... |
|
This is the class used to configure hyphenation on layout level
|
inline |
Constructs a new HyphenationConfig.
Constructs a new HyphenationConfig . No language hyphenation files will be used. Only soft hyphen symbols ('\u00ad') will be taken into account.
| leftMin | the minimum number of characters before the hyphenation point |
| rightMin | the minimum number of characters after the hyphenation point |
|
inline |
Constructs a new HyphenationConfig by a Hyphenator which will be used to find hyphenation points.
| hyphenator | the Hyphenator instance |
|
inline |
Constructs a new HyphenationConfig instance.
| lang | the language |
| country | the optional country code (may be null or "none") |
| leftMin | the minimum number of characters before the hyphenation point |
| rightMin | the minimum number of characters after the hyphenation point |
|
inlinevirtual |
Gets the hyphenation symbol.
|
inlinevirtual |
Hyphenates a given word.
Hyphenation object representing possible hyphenation points or null if no hyphenation points are found.
| word | Tee word to hyphenate |
|
inlinevirtual |
Sets the hyphenation symbol to the specified value.
| hyphenSymbol | the new hyphenation symbol |
|
package |
The Hyphenator object.
|
package |
The hyphenation symbol used when hyphenating.