com.lowagie.text.pdf.hyphenation.Hyphenator Java Examples

The following examples show how to use com.lowagie.text.pdf.hyphenation.Hyphenator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HyphenationAuto.java    From gcs with Mozilla Public License 2.0 2 votes vote down vote up
/** Creates a new hyphenation instance usable in <CODE>Chunk</CODE>.
 * @param lang the language ("en" for English, for example)
 * @param country the country ("GB" for Great-Britain or "none" for no country, for example)
 * @param leftMin the minimum number of letters before the hyphen
 * @param rightMin the minimum number of letters after the hyphen
 */    
public HyphenationAuto(String lang, String country, int leftMin, int rightMin) {
    hyphenator = new Hyphenator(lang, country, leftMin, rightMin);
}
 
Example #2
Source File: HyphenationAuto.java    From itext2 with GNU Lesser General Public License v3.0 2 votes vote down vote up
/** Creates a new hyphenation instance usable in <CODE>Chunk</CODE>.
 * @param lang the language ("en" for English, for example)
 * @param country the country ("GB" for Great-Britain or "none" for no country, for example)
 * @param leftMin the minimum number of letters before the hyphen
 * @param rightMin the minimum number of letters after the hyphen
 */    
public HyphenationAuto(String lang, String country, int leftMin, int rightMin) {
    hyphenator = new Hyphenator(lang, country, leftMin, rightMin);
}
 
Example #3
Source File: HyphenationAuto.java    From MesquiteCore with GNU Lesser General Public License v3.0 2 votes vote down vote up
/** Creates a new hyphenation instance usable in <CODE>Chunk</CODE>.
 * @param lang the language ("en" for english, for example)
 * @param country the country ("GB" for Great-Britain or "none" for no country, for example)
 * @param leftMin the minimun number of letters before the hyphen
 * @param rightMin the minimun number of letters after the hyphen
 */    
public HyphenationAuto(String lang, String country, int leftMin, int rightMin) {
    hyphenator = new Hyphenator(lang, country, leftMin, rightMin);
}