/// <summary>
 /// Constructs a new
 /// <see cref="HyphenationConfig"/>
 /// by a
 /// <see cref="Hyphenator"/>
 /// which will be used to
 /// find hyphenation points.
 /// </summary>
 /// <param name="hyphenator">
 /// the
 /// <see cref="Hyphenator"/>
 /// instance
 /// </param>
 public HyphenationConfig(Hyphenator hyphenator)
 {
     this.hyphenator = hyphenator;
 }
 /// <summary>
 /// Constructs a new
 /// <see cref="HyphenationConfig"/>
 /// instance.
 /// </summary>
 /// <param name="lang">the language</param>
 /// <param name="country">the optional country code (may be null or "none")</param>
 /// <param name="leftMin">the minimum number of characters before the hyphenation point</param>
 /// <param name="rightMin">the minimum number of characters after the hyphenation point</param>
 public HyphenationConfig(String lang, String country, int leftMin, int rightMin)
 {
     this.hyphenator = new Hyphenator(lang, country, leftMin, rightMin);
 }
 /// <summary>
 /// Constructs a new
 /// <see cref="HyphenationConfig"/>.
 /// </summary>
 /// <remarks>
 /// Constructs a new
 /// <see cref="HyphenationConfig"/>
 /// . No language hyphenation files will be used.
 /// Only soft hyphen symbols ('\u00ad') will be taken into account.
 /// </remarks>
 /// <param name="leftMin">the minimum number of characters before the hyphenation point</param>
 /// <param name="rightMin">the minimum number of characters after the hyphenation point</param>
 public HyphenationConfig(int leftMin, int rightMin)
 {
     this.hyphenator = new Hyphenator(null, null, leftMin, rightMin);
 }