21.3.2.20 pic
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]
Attributes
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:
<… macro="DoWork()" >
end example]
The possible values for this attribute are defined by the W3C XML Schema string datatype.
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 is not 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 W3C XML Schema boolean datatype.
[Note: The W3C XML Schema definition of this element’s content model (CT_Picture) is located in A.5.2. end note]