WebExtensionTaskpane class
Defines the WebExtensionTaskpane Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is wetp:taskpane.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2013.WebExtentionPane.WebExtensionTaskpane
Namespace: DocumentFormat.OpenXml.Office2013.WebExtentionPane
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.2.8 CT_OsfTaskpane
Target namespace: http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11
Referenced by: CT_OsfTaskpanes
A complex type that specifies a persisted taskpane object.
Child Elements:
webextensionref: A CT_WebExtensionPartRef element (section 2.2.10) that specifies the container for a part relationship identifier that references the web extension part associated with the taskpane instance.
extLst: A CT_OfficeArtExtensionList element ([ISO/IEC-29500-1] section A.4.1) that specifies a list of extensions for an office app. This element MAY be ignored.
Attributes:
dockstate: A string attribute ([XMLSCHEMA2] section 3.2.1) that specifies the last-docked location of this taskpane object.
visibility: A Boolean attribute ([XMLSCHEMA2] section 3.2.2) that specifies whether the Task Pane shows as visible by default when the document opens.
width: A double attribute ([XMLSCHEMA2] section 3.2.5) that specifies the default width value for this taskpane instance.
row: An unsignedInt attribute ([XMLSCHEMA2] section 3.3.22) that specifies the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.
locked: A Boolean attribute ([XMLSCHEMA2] section 3.2.2) that specifies whether the taskpane is locked to the document in the UI and cannot be closed by the user.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_OsfTaskpane">
<xsd:sequence>
<xsd:element name="webextensionref" minOccurs="1" maxOccurs="1" type="we:CT_WebExtensionPartRef"/>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="dockstate" type="xsd:string" use="required"/>
<xsd:attribute name="visibility" type="xsd:boolean" use="required"/>
<xsd:attribute name="width" type="xsd:double" use="required"/>
<xsd:attribute name="row" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="locked" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).