![]() |
NanoXLSX.Formatting 3.0.0
|
Represents a phonetic run that provides pronunciation guidance for text. More...
Public Types | |
| enum | PhoneticType { HalfwidthKatakana , FullwidthKatakana , Hiragana , NoConversion } |
| Enumeration for phonetic text types. More... | |
| enum | PhoneticAlignment { NoControl , Left , Center , Distributed } |
| Enumeration for phonetic text alignment. More... | |
Public Member Functions | |
| PhoneticRun (string text, uint startBase, uint endBase) | |
| Constructor to create a phonetic run. | |
| PhoneticRun | Copy () |
| Creates a copy of the current phonetic run. | |
| override bool | Equals (object obj) |
| Equals method to compare two phonetic runs. | |
| override int | GetHashCode () |
| Hash code of the current object. | |
Properties | |
| string | Text [get, set] |
| The phonetic text to be displayed (Ruby text,like Furigana, Pinyin or Zhuyin). | |
| uint | StartBase [get, set] |
| The start index of the base text (character where the Ruby text starts). | |
| uint | EndBase [get, set] |
| The end index of the base text (character where the Ruby text ends). | |
Represents a phonetic run that provides pronunciation guidance for text.
Definition at line 17 of file PhoneticRun.cs.
Enumeration for phonetic text alignment.
Definition at line 39 of file PhoneticRun.cs.
Enumeration for phonetic text types.
Definition at line 24 of file PhoneticRun.cs.
| NanoXLSX.Extensions.PhoneticRun.PhoneticRun | ( | string | text, |
| uint | startBase, | ||
| uint | endBase ) |
Constructor to create a phonetic run.
| text | The phonetic text to be displayed (Ruby text,like Furigana, Pinyin or Zhuyin) |
| startBase | The start index of the base text (character where the Ruby text starts) |
| endBase | The end index of the base text (character where the Ruby text ends) |
| FormatException | Thrown when the text is null or empty |
Definition at line 87 of file PhoneticRun.cs.
| PhoneticRun NanoXLSX.Extensions.PhoneticRun.Copy | ( | ) |
Creates a copy of the current phonetic run.
Definition at line 98 of file PhoneticRun.cs.
| override bool NanoXLSX.Extensions.PhoneticRun.Equals | ( | object | obj | ) |
Equals method to compare two phonetic runs.
| obj | Other object to compare |
Definition at line 108 of file PhoneticRun.cs.
| override int NanoXLSX.Extensions.PhoneticRun.GetHashCode | ( | ) |
Hash code of the current object.
Definition at line 120 of file PhoneticRun.cs.
|
getset |
The end index of the base text (character where the Ruby text ends).
Definition at line 78 of file PhoneticRun.cs.
|
getset |
The start index of the base text (character where the Ruby text starts).
Definition at line 74 of file PhoneticRun.cs.
|
getset |
The phonetic text to be displayed (Ruby text,like Furigana, Pinyin or Zhuyin).
| FormatException | Thrown when the text is null or empty |
Definition at line 59 of file PhoneticRun.cs.