Partager via


HidePlaceholder Class

Hide Placeholders (Matrix).When the object is serialized out as xml, its qualified name is m:plcHide.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.OnOffType
        DocumentFormat.OpenXml.Math.HidePlaceholder

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.83 plcHide (Hide Placeholders (Matrix))

This element specifies the Hide Placeholders property on a matrix m. When this property is on, placeholders do not appear in the matrix. If this element is omitted, placeholders do appear such that the locations where text can be inserted are made visible. In other words, when the element is absent, the default value of the property is 0 meaning that this property is not applied.

When the element is present and the val attribute is absent, the default of the val attribute is 1 meaning that this property is applied.

[Example: The following two examples of matrices show the hidden (right matrix) and visible (left matrix) states of placeholders. The key difference between the placeholders in these matrices is that the left matrix contains visual representations for each placeholder in the matrix while the right matrix does not. However, the contents of each matrix remain the same between these two examples:

The plcHide element does not specify how a placeholder should be visually represented. It only specifies whether placeholders should or should not be visualized. The above example (left) is only one possible visual representation.

In the matrix described by the XML below, placeholders will be hidden:

<m:mPr>
<m:plcHide  m:val="1"/>
<m:mcs>
<m:mc>
<m:mcPr>
<m:mcJc m:val="center"/>
<m:count  m:val="3"/>
</m:mcPr>
</m:mc>
</m:mcs>
</m:mPr>

end example]

Parent Elements

mPr (§22.1.2.68)

Attributes

Description

val (value)

Specifies a binary value for the property defined by the parent XML element.

A value of 1 or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present.

A value of 0 or false specifies that the property shall be explicitly turned off. This is implied when the parent element is not present.

The possible values for this attribute are defined by the ST_OnOff simple type (§22.9.2.7).

[Note: The W3C XML Schema definition of this element’s content model (CT_OnOff) is located in §A.6.1. end note]

© 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

HidePlaceholder Members

DocumentFormat.OpenXml.Math Namespace