[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

rPh (Phonetic Run)

This element represents a run of text which displays a phonetic hint for this String Item (si).

Phonetic hints are used to give information about the pronunciation of an East Asian language. The hints are displayed as text within the spreadsheet cells across the top portion of the cell.

Parent Elements

is3.3.1.50); si3.4.8); text3.7.6)

 

Child Elements

Subclause

t (Text)

§3.4.12

 

Attributes

Description

eb (Base Text End Index)

An integer used as a zero-based index representing the ending offset into the base text for this phonetic run. This represents the ending point in the base text the phonetic hint applies to.

 

This value shall be between 0 and the total length of the base text. The following condition shall be true: sb < eb.

 

It is recommended that the following condition also be satisfied:

That for any two consecutive phonetic runs, sb1 < eb1 <= sb2 < eb2 to avoid overlapping phonetic runs

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

sb (Base Text Start Index)

An integer used as a zero-based index representing the starting offset into the base text for this phonetic run. This represents the starting point in the base text the phonetic hint applies to.

 

This value shall be between 0 and the total length of the base text. The following condition shall be true: sb < eb.

 

It is recommended that the following condition also be satisfied:

That for any two consecutive phonetic runs, sb1 < eb1 <= sb2 < eb2 to avoid overlapping phonetic runs.

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_PhoneticRun">

   <sequence>

   <element name="t" type="ST_Xstring" minOccurs="1" maxOccurs="1"/>

   </sequence>

   <attribute name="sb" type="xsd:unsignedInt" use="required"/>

   <attribute name="eb" type="xsd:unsignedInt" use="required"/>

</complexType>