2.5.109 ExtRst

The ExtRst structure specifies phonetic string data.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

reserved

cb

phs

rphssub (variable)

...

rgphruns (variable)

...

reserved (2 bytes): MUST be 1, and MUST be ignored.

cb (2 bytes):  An unsigned integer that specifies the size, in bytes, of the phonetic string data.

phs (4 bytes):  A Phs that specifies the formatting information for the phonetic string. 

rphssub (variable):  An RPHSSub that specifies the phonetic string.

rgphruns (variable): An array of PhRuns.  This specifies the phonetic text runs. Each PhRuns specifies a phonetic text run within rphssub.st that is displayed above a text run in the rgb field of the XLUnicodeRichExtendedString that contains this structure. The first character of the phonetic text run is the character specified by the ichFirst field of PhRuns. The first character in the rgb field of the XLUnicodeRichExtendedString that contains this structure that the phonetic text run appears earlier is specified by the ichMom field of PhRuns. Each ichMom field of a PhRuns in the array MUST be less than the ichMom field of the subsequent PhRuns in the array. Each ichFirst field of a PhRuns in the array MUST be less than the ichFirst of the subsequent PhRuns in the array. The sum of the cchMom fields of all PhRuns in the array MUST be less than or equal to the number of characters in rgb field of the XLUnicodeRichExtendedString that contains this structure. The number of elements in this array is rphssub.crun.