[Table of Contents] [docx version]
Error! No text of specified style in document.
pic (Picture)
This element specifies the existence of a picture object within the document.
[Example: Consider the following ChartDrawingML that specifies the existence of a picture within a document. This picture can have non-visual properties, a picture fill as well as shape properties attached to it.
<cdr:pic>
<cdr:nvPicPr>
<cdr:cNvPr id="4" name="lake.JPG" descr="Picture of a Lake" />
<cdr:cNvPicPr>
<a:picLocks noChangeAspect="1"/>
</cdr:cNvPicPr>
<cdr:nvPr/>
</cdr:nvPicPr>
<cdr:blipFill>
...
</cdr:blipFill>
<cdr:spPr>
...
</cdr:spPr>
</cdr:pic>
End example]
Parent Elements |
absSizeAnchor (§5.8.2.1); grpSp (§5.8.2.13); relSizeAnchor (§5.8.2.21) |
Child Elements |
Subclause |
blipFill (Picture Fill) |
§5.8.2.2 |
nvPicPr (Non-Visual Picture Properties) |
§5.8.2.18 |
spPr (Shape Properties) |
§5.8.2.23 |
style (Shape Style) |
§5.8.2.24 |
Attributes |
Description |
fPublished (Publish to Server) |
Specifies whether the shape shall be published with the worksheet when sent to the spreadsheet server. This is for use when interfacing with a document server.
[Example: Consider the following shape that will not be published with the worksheet when it is published back on the spreadsheet server. <cdr:relSizeAnchor> .. <cdr:sp fPublished="0"> .. </cdr:sp> .. </cdr:relSizeAnchor> end example]
The possible values for this attribute are defined by the XML Schema boolean datatype. |
macro (Reference to Custom Function) |
This element specifies the custom function associated with the chart. [Example: A macro script, add-in function, and so on. end example]
The format of this string shall be application-defined, and should be ignored if not understood.
[Example:
<cdr:... macro="DoWork()" >
end example]
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_Picture">
<sequence>
<element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1"/>
<element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1"/>
<element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
<element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="macro" type="xsd:string" use="optional" default=""/>
<attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
</complexType>