Compartir a través de


BreakBinarySubtraction Class

Break on Binary Subtraction.When the object is serialized out as xml, its qualified name is m:brkBinSub.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.17 brkBinSub (Break on Binary Subtraction)

This element specifies how the subtraction operator is treated when it coincides with a line break, when brkBin is set to repeat. If this element is omitted, the subtraction operator is repeated before and after the break.

Whether the element is absent or present without the val attribute, the default of the val attribute is --.

[Example: The XML below demonstrates brkBinSub in use under mathPr:

<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="0"/>
<m:dispDef/>
  <m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr>

end example]

[Example:

Given the following XML representation using brkBinSub:

<m:brkBinSub m:val="-+"/>

Because the document option for break on binary subtraction is set to -+, any breaks in Math paragraphs on subtraction operators will display a – on the line before the break and a + on the line after the break.

end example]

Parent Elements

mathPr (§22.1.2.62)

Attributes

Description

val (Value)

Specifies how the subtraction operator is treated when it coincides with a line break, when brkBin is set to repeat. Possible values are --, -+, and +-.

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

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

© ISO/IEC29500: 2008.

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.

See Also

Reference

BreakBinarySubtraction Members

DocumentFormat.OpenXml.Math Namespace