<cNvPr>
(Non-Visual Drawing Properties)
This element specifies the set of non-visual properties for the parent element. These properties specify all the data about the parent which does not affect its display within the spreadsheet.
[Example: Consider the following <SpreadSheetDrawingML>
.
<xdr:pic> .. <xdr:nvPicPr> <xdr:cNvPr id="4" name="Lilly_by_Lisher.jpg"/> </xdr:nvPicPr> .. </xdr:pic>
The above example defines some non-visual drawing properties for the inserted picture. End example]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
Attributes |
Description |
---|---|
Namespace: .../drawingml/2006/main |
Specifies alternative text for the current DrawingML object, for use by assistive technologies or applications which will not display the current object. If this element is omitted, then no alternative text is present for the parent object. example:
<… descr="A picture of a bowl of fruit"> The The possible values for this attribute are defined by the XML Schema string datatype. |
Namespace: .../drawingml/2006/main |
Specifies whether this DrawingML object shall be displayed. When a DrawingML object is displayed within a document, that object may be hidden (i.e., present, but not visible). This attribute shall determine whether the object shall be rendered or made hidden.
Note: : An application may have settings which allow this object to be viewed.
If this attribute is omitted, then the parent DrawingML object shall be displayed (i.e., not hidden). example:
<… hidden="true" /> The The possible values for this attribute are defined by the XML Schema boolean datatype. |
Namespace: .../drawingml/2006/main |
Specifies a unique identifier for the current DrawingML object within the current document. This ID may be used to assist in uniquely identifying this object so that it can be referred to by other parts of the document. If multiple objects within the same document share the same example:
<… id="10" … > The The possible values for this attribute are defined by the ST_DrawingElementId simple type (§5.1.12.19). |
Namespace: .../drawingml/2006/main |
Specifies the name of the object.
Note: : Typically, this will be used to store the original file name of a picture object.
example:
< … name="foo.jpg" > The The possible values for this attribute are defined by the XML Schema string datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_NonVisualDrawingProps">
<sequence>
<element name="hlinkClick" type="CT_Hyperlink" minOccurs="0" maxOccurs="1"/>
<element name="hlinkHover" type="CT_Hyperlink" minOccurs="0" maxOccurs="1"/>
<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="id" type="ST_DrawingElementId" use="required"/>
<attribute name="name" type="xsd:string" use="required"/>
<attribute name="descr" type="xsd:string" use="optional" default=""/>
<attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
</complexType>