public void changeHyphenation(HyphenationProps hyphProps) { this.hyphProps = hyphProps; }
public HyphenationProps GetHyphenationProps() { if (hyphProps == null) { this.hyphProps = new HyphenationProps(); hyphProps.hyphenate = this.properties.GetProperty("hyphenate").GetEnum(); hyphProps.hyphenationChar = this.properties.GetProperty("hyphenation-character").GetCharacter(); hyphProps.hyphenationPushCharacterCount = this.properties.GetProperty("hyphenation-push-character-count").GetNumber().IntValue(); hyphProps.hyphenationRemainCharacterCount = this.properties.GetProperty("hyphenation-remain-character-count").GetNumber().IntValue(); hyphProps.language = this.properties.GetProperty("language").GetString(); hyphProps.country = this.properties.GetProperty("country").GetString(); } return hyphProps; }
public void setHyphenation(HyphenationProps hyphProps) { this.hyphProps = hyphProps; }