AccentChar Class
Accent Character.When the object is serialized out as xml, its qualified name is m:chr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.CharType
DocumentFormat.OpenXml.Math.AccentChar
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class AccentChar _
Inherits CharType
'Применение
Dim instance As AccentChar
public class AccentChar : CharType
Remarks
[ISO/IEC 29500-1 редакция 1]
22.1.2.20 chr (Character)
This element specifies the character to be attached to the base of an accent object, a group character object, or an n-ary operator object. When the parent element is accPr, the chr value should be within the range of (U+0300-U+036F) or (U+20D0-U+20EF). When the parent element is groupChrPr, the chr value should be a horizontal stretch character, such as U+2190 (LEFTWARD ARROW). When the parent element is naryPr, the chr value should be an n-ary operator such as U+222B (INTEGRAL).
When the element is present and the val attribute is absent, the default of the val attribute is empty which means the corresponding objects character is absent.
If this property is omitted for accPr, the default accent character is U+0302 (ACCENT, COMBINING CIRCUMFLEX). If this property is omitted for groupChrPr, the default character is U+23DF (BOTTOM CURLY BRACKET). If this property is omitted for naryPr, the default character is U+222B (INTEGRAL).
In other words, when the element is absent, the defaults are as follows:
accent object - Unicode character U+0302 (ACCENT, COMBINING CIRCUMFLEX)
group-character object - Unicode character U+23DF (BOTTOM CURLY BRACKET)
n-ary operator object - Unicode character U+222B (INTEGRAL)
[Example: Examples of accent characters are the dot, hat, and arrow in the following cases: .
For example, the following XML represents the acc .
<m:acc>
<m:accPr>
<m:chr m:val="̃"/>
</m:accPr>
<m:e>
<m:r>
<m:t>a</m:t>
</m:r>
</m:e>
</m:acc>
end example]
Parent Elements |
---|
accPr (§22.1.2.2); groupChrPr (§22.1.2.42); naryPr (§22.1.2.72) |
Attributes |
Description |
---|---|
val (value) |
Specifies the character used by the parent element. When it is omitted, the parent uses its assigned default. [Example: Accent object :
end example] The possible values for this attribute are defined by the ST_Char simple type (§22.1.3.3). |
[Note: The W3C XML Schema definition of this element's content model (CT_Char) is located in §A.6.1. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.