[]
Provides options for East Asian typography.
public class EastAsianTypography : FormattingBag
Gets or sets how full-width characters in the current document should be compressed to remove additional whitespace when the contents of this document are displayed, specifically by specifying the set(s) of characters which can be compressed to remove additional whitespace.
public JustificationMode JustificationMode { get; set; }
Gets or sets whether the punctuation characters shall be kerned in the current document when kerning is enabled on a run using the Kerning.
public bool KerningByAlgorithm { get; set; }
Gets or sets the set of characters which shall be restricted from ending a new line for runs of text which shall be subject to custom line breaking logic using the FarEastLineBreakControl when the contents of the document are displayed. This constraint shall only apply to text which has been flagged in the language of this rule via the NoLineBreakAfterLanguage or automatic detection methods.
public string NoLineBreakAfter { get; set; }
Gets or sets the language of text for which the custom line ending rule shall be applied.
public string NoLineBreakAfterLanguage { get; set; }
Applications supporting this functionality shall support custom line breaking for the following four languages: Chinese(Traditional), Chinese(Simplified), Japanese, Korean. Applications can also support custom line breaking rules for other languages, but this is not required.
Gets or sets the set of characters which shall be restricted from beginning a new line for runs of text which shall be subject to custom line breaking logic using the FarEastLineBreakControl when the contents of the document are displayed. This constraint shall only apply to text which has been flagged in the language of this rule via the NoLineBreakBeforeLanguage or automatic detection methods.
public string NoLineBreakBefore { get; set; }
Gets or sets the language of text for which the custom line beginning rule shall be applied.
public string NoLineBreakBeforeLanguage { get; set; }
Applications supporting this functionality shall support custom line breaking for the following four languages: Chinese(Traditional), Chinese(Simplified), Japanese, Korean. Applications can also support custom line breaking rules for other languages, but this is not required.
Gets or sets whether the strict set of Kinsoku rules shall be applied to Japanese text in this document when the FarEastLineBreakControl is applied to the text.
public bool StrictFirstAndLastChars { get; set; }