3.6.1 Camera Tool

The following code example shows usage of an extended element to specify that a picture is a camera tool and is linked to a cell range. See 2.2.6.1 for more information. The following XML shows the contents of a camera tool object specified by a pic element ([ISO/IEC29500-1:2016] section 20.5.2.25).

 <xdr:pic>
   <xdr:nvPicPr>
     <xdr:cNvPr id="1025" name="Picture 1"/>
     <xdr:cNvPicPr>
       <a:picLocks noChangeAspect="1" noChangeArrowheads="1"/>
       <a:extLst>
         <a:ext uri="84589F7E-364E-4c9e-8A38-B11213B215E9">
           <a14:cameraTool cellRange="$A$1:$E$12" spid="_x0000_s1026"/>
         </a:ext>
       </a:extLst>
     </xdr:cNvPicPr>
   </xdr:nvPicPr>
   <xdr:blipFill>
     …
   </xdr:blipFill>
   <xdr:spPr bwMode="auto">
     …
   </xdr:spPr>
 </xdr:pic>

The camera tool properties are specified by the cameraTool element as an extension of the nvPicPr element ([ISO/IEC29500-1:2016] section 20.5.2.22). The value of the cellRange attribute in the cameraTool element is in the A1 cell range reference style, not the R1C1 cell range reference style.