Style Class
style.When the object is serialized out as xml, its qualified name is m:sty.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.Style
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class Style _
Inherits OpenXmlLeafElement
'使用
Dim instance As Style
public class Style : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 初版]
22.1.2.111 sty (style)
This element describes the script applied to the characters in the run. The XML includes the Unicode value of the character along with the style of the character. The application maps the value and style to the appropriate Unicode range. Whether the element is absent or present without the val attribute, the default of the val attribute is i.
[Example:
<m:oMath>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="b"/>
</m:rPr>
<m:t>ab</m:t>
</m:r>
</m:oMath>
end example]
Parent Elements |
---|
rPr (§22.1.2.91) |
Attributes |
Description |
---|---|
val (Value) |
Specifies the style of the parent element. Possible values are b (bold), i (italic), bi (bold-italic), and p (plain). The possible values for this attribute are defined by the ST_Style simple type (§22.1.3.12). |
[Note: The W3C XML Schema definition of this element's content model (CT_Style) 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.