Freigeben über


FractionType-Klasse

Fraction type.When the object is serialized out as xml, its qualified name is m:type.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.FractionType

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class FractionType _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As FractionType
public class FractionType : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.118 type (Fraction type)

This element specifies the type of fraction f; the default is 'bar'. Whether the element is absent or present without the val attribute, the default of the val attribute is bar. Fractions types are:

Stacked Fraction:

Skewed Fraction:

Linear Fraction:

Stack Object (No-Bar Fraction):

[Example:

is represented by the following XML:

<m:f>
  <m:fPr>
    <m:type m:val="skw"/>
  </m:fPr>
  <m:num>
    <m:r>
      <m:t>c</m:t>
    </m:r>
  </m:num>
  <m:den>
    <m:r>
      <m:t>d</m:t>
    </m:r>
  </m:den>
</m:f>

end example]

Parent Elements

fPr (§22.1.2.38)

Attributes

Description

val (Value)

Specifies the type of fraction. Possible values are bar (Bar Fraction), lin (Linear Fraction), noBar (No-Bar Fraction (Stack)), and skw (Skewed).

The possible values for this attribute are defined by the ST_FType simple type (§22.1.3.4).

[Note: The W3C XML Schema definition of this element's content model (CT_FType) is located in §A.6.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

FractionType-Member

DocumentFormat.OpenXml.Math-Namespace