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


UseAltKinsokuLineBreakRules Class

Use Alternate Set of East Asian Line Breaking Rules.When the object is serialized out as xml, its qualified name is w:useAltKinsokuLineBreakRules.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.48 useAltKinsokuLineBreakRules (Use Alternate Set of East Asian Line Breaking Rules)

This element specifies an alternate set of characters which can be used to determine which characters can begin and/or end a line when kinsoku line breaking rules are enabled using the kinsoku element (Part 1, §17.3.1.16).

Typically, the characters used to determine which characters shall not end a line are those listed by the kinsoku element in the paragraph properties subclause of this document. This element, when present with a val attribute value of true (or equivalent), specifies that the following settings shall be used instead (for brevity, only those settings which are different are listed below):

Chinese (Simplified)

  • Cannot start a line:!),.:;?]}¨·ˇˉ―‖’”…∶、。〃々〉》」』】〕〗!"'),.:;?]`|}~¢

  • Cannot end a line:([{·‘“〈《「『【〔〖(.[{£¥

Chinese (Traditional)

  • Cannot start a line:!),.:;?]}¢·–—’”•‥…‧′╴、。〉》」』】〕〞︰︱︳︴︶︸︺︼︾﹀﹂﹄﹏﹐﹑﹒﹔﹕﹖﹗﹚﹜﹞!),.:;?|}、

Korean

  • Cannot end a line:([\{£¥‘“〈《「『【〔$([{₩

[Example: Consider a line of text in a WordprocessingML document within a paragraph marked as Chinese (Simplified) which begins with a % symbol, as follows:

%…

Typically, the kinsoku settings for Chinese (Simplified) do not allow this character to begin a line, so the character before that symbol would be moved down onto this line:

〖%…

However, if this compatibility setting is turned on:

<w:compat>
<w:useAltKinsokuLineBreakRules />
</w:compat>

Then the alternate kinsoku rules are in place, which do not prevent the % character from beginning the new line, resulting in the following output:

%…

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element’s content model is defined by the common boolean property definition in Part 1, §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

UseAltKinsokuLineBreakRules Members

DocumentFormat.OpenXml.Wordprocessing Namespace