SemiHidden Class
Hide Style From Main User Interface.When the object is serialized out as xml, its qualified name is w:semiHidden.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffOnlyType
DocumentFormat.OpenXml.Wordprocessing.SemiHidden
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class SemiHidden _
Inherits OnOffOnlyType
'Usage
Dim instance As SemiHidden
public class SemiHidden : OnOffOnlyType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.7.2.16 semiHidden (Hide Style From Main User Interface)
This element specifies whether this style shall be hidden from the main user interface when this document is loaded by an application. If this element is set, then this style can be used to format content (i.e. any content which references this style shall have its properties as normal), but the style shall be hidden from the main user interface associated with that application.
[Note: The interpretation of a "main" user interface must not be dictated by ISO/IEC 29500, and can be defined by an application as appropriate.
This setting is intended to define a style property which allows styles to be seen and modified in an advanced user interface, without exposing the style in a less advanced setting, for example, the style which is used to format the contents of a comment should typically not be shown in a simple user interface (as it is uncommon to want to modify it), but would be inappropriate to hide completely using the hidden element (§17.7.4.4), as very advanced users might want to change its appearance. end note]
If this element is omitted, then the style shall not be required to be hidden from the main user interface.
[Example: Consider a style with a primary name of Comment Style that should not be displayed in the main user interface. This requirement would be specified using the following WordprocessingML:
<w:style … w:styleId="CStyle"> <w:name w:val="Comment Style"/> <w:semiHidden/> … </w:style>
The semiHidden element specifies that this style definition should not be displayed in any main user interface associated with an application which processes this document. end example]
Parent Elements |
---|
style (§17.7.4.17) |
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.