Freigeben über


ComplexScript-Klasse

Defines the ComplexScript Class.When the object is serialized out as xml, its qualified name is w:cs.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.3.2.7 cs (Use Complex Script Formatting on Run)

This element specifies whether the contents of this run shall be treated as complex script text regardless of their Unicode character values when determining the formatting for this run.

This means that a consumer shall use the complex script formatting applied to the run [Example: The bCs value (§17.3.2.2), not the b value (§17.3.2.1). end example] when determining the resulting formatting properties.

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then the run contents are set to complex script based on the Unicode character positions of the content.

[Example: Consider the following run of English text in a WordprocessingML document:

<w:r>
  <w:rPr>
    <w:bCs/>
    <w:i/>
    <w:cs/>
  </w:rPr>
  <w:t>some English text</w:t>
</w:r>

This run has bold applied to complex script characters, and italics applied to non-complex script characters. However, since the cs property is set, the text in this run must be treated as complex script text when determining the resulting formatting. Therefore, the run has bold formatting, but no italic formatting when displayed. end example]

Parent Elements

rPr (§17.3.1.29); rPr (§17.3.1.30); rPr (§17.5.2.28); rPr (§17.9.25); rPr (§17.7.9.1); rPr (§17.7.5.4); rPr (§17.3.2.28); rPr (§17.5.2.27); rPr (§17.7.6.2); rPr (§17.3.2.27)

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

© 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

ComplexScript-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace