Compartir a través de


StyleLockThemesPart Class

Prevent Modification of Themes Part.When the object is serialized out as xml, its qualified name is w:styleLockTheme.

Inheritance Hierarchy

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

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

Syntax

'Declaración
Public Class StyleLockThemesPart _
    Inherits OnOffType
'Uso
Dim instance As StyleLockThemesPart
public class StyleLockThemesPart : OnOffType

Remarks

[ISO/IEC 29500-1 1ª edición]

17.15.1.84 styleLockTheme (Prevent Modification of Themes Part)

This element specifies whether applications shall prevent the modification of the document's theme information stored in the Theme part when editing this document. This setting should not preclude the use of the theme information, instead, it should only prevent the modification of the theme 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 or modification of the theme part in this document.

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

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

The styleLockTheme element's val attribute has a value of true specifying that theme data must not be modified when modifying the contents of this document. 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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

StyleLockThemesPart Members

DocumentFormat.OpenXml.Wordprocessing Namespace