Freigeben über


StyleLockStylesPart-Klasse

Prevent Replacement of Styles Part.When the object is serialized out as xml, its qualified name is w:styleLockQFSet.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.15.1.83 styleLockQFSet (Prevent Replacement of Styles Part)

This element specifies whether applications shall prevent the replacement of the complete set of styles stored in the Styles part when editing this document. This setting should not preclude the editing or removal of individual styles, instead, it should only prevent the removal and replacement of the entire styles part in a single operation (either through a user interface or a programmatic operation).

If this element is omitted, then applications can allow the replacement of the entire styles part in this document.

[Example: Consider a WordprocessingML document that specifies that applications must prevent the replacement of the entire styles part. This requirement would be specified using the following WordprocessingML in the document settings part:

<w:styleLockQFSet w:val="true"/> 

The styleLockQFSet element's val attribute has a value of true specifying that individual style changes should be allowed, but the styles data must not be replaced as a whole via a single operation. end example]

Parent Elements

settings (§17.15.1.78)

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

StyleLockStylesPart-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace