Поделиться через


ApplyBreakingRules Class

Use Legacy Ethiopic and Amharic Line Breaking Rules.When the object is serialized out as xml, its qualified name is w:applyBreakingRules.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.ApplyBreakingRules

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

Syntax

'Declaration
Public Class ApplyBreakingRules _
    Inherits OnOffType
'Usage
Dim instance As ApplyBreakingRules
public class ApplyBreakingRules : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.3.2 applyBreakingRules (Use Legacy Ethiopic and Amharic Line Breaking Rules)

This element specifies whether applications shall use a legacy set of line breaking rules when determining line breaks for text consisting of Ethiopic and/or Amharic characters.

Typically, when line breaking this text, applications should allow line breaks to occur after a character between the UTF-16 (hexadecimal) values 0x1361 and 0x1368 when those characters appear in the document's content. This element, when present with a val attribute value of true (or equivalent), specifies that when a line break would occur after a character between the UTF-16 hexadecimal) values 0x1361 and 0x1368, the line break shall occur before all instances of these characters (i.e. no break opportunity shall be afforded after a character in this range).

[Example: Consider a WordprocessingML document with a series of Ethopic characters in this range. The default presentation would have any line breaks pushed before or after these characters, ensuring that the characters remain together on a single line.

However, if this compatibility setting is turned on:

<w:compat>
<w:applyBreakingRules />
</w:compat>

Then a line break opportunity must be afforded at any point in a range of these characters, as needed. end example]

Parent Elements

compat (§17.15.1.21)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© 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

ApplyBreakingRules Members

DocumentFormat.OpenXml.Wordprocessing Namespace