<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:
<cdr:relSizeAnchor>
  ..
  <cdr:sp fPublished="0">
  ..
  </cdr:sp>
  ..
</cdr:relSizeAnchor>

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.

The format of this string shall be application-defined, and should be ignored if not understood.

example:
<cdr:... macro="DoWork()" >

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>