Embedded Control Persistence Part

Content Type:

Any supported control type.

Note:

Root Namespace:

not applicable

Source Relationship:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/control

An instance of this part contains information about an embedded control in the package. This information is provided by the specified control when asked to persist.

A package is permitted to contain one or more Embedded Control Persistence parts, and each such part shall be the target of an explicit relationship in an Endnotes (§11.3.4), Footer (§11.3.6), Footnotes (§11.3.7), Header (§11.3.9), or Main Document (§11.3.10) part-relationship item in a WordprocessingML package; a Worksheet part (§12.3.24) 15.2.17in a SpreadsheetML package; or a Handout Master (§13.3.3), Notes Slide (§13.3.5), Notes Master (§13.3.4), Slide (§13.3.8), Slide Layout (§13.3.9), Slide Master (§13.3.10) part-relationship item in a PresentationML package.

The content type of this part shall determine the format and contents of the embedded control.

example:
<w:p>
  <w:r w:rsidR="005810E1">
    <w:object w:dxaOrig="1440" w:dyaOrig="1440">
      <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
        <v:stroke joinstyle="miter" /> 
        <v:formulas>
          <v:f eqn="if lineDrawn pixelLineWidth 0" /> 
          <v:f eqn="sum @0 1 0" /> 
          <v:f eqn="sum 0 0 @1" /> 
          <v:f eqn="prod @2 1 2" /> 
          <v:f eqn="prod @3 21600 pixelWidth" /> 
          <v:f eqn="prod @3 21600 pixelHeight" /> 
          <v:f eqn="sum @0 0 1" /> 
          <v:f eqn="prod @6 1 2" /> 
          <v:f eqn="prod @7 21600 pixelWidth" /> 
          <v:f eqn="sum @8 21600 0" /> 
          <v:f eqn="prod @7 21600 pixelHeight" /> 
          <v:f eqn="sum @10 21600 0" /> 
        </v:formulas>
        <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> 
        <o:lock v:ext="edit" aspectratio="t" /> 
      </v:shapetype>
      <v:shape id="_x0000_i1027" type="#_x0000_t75" style="width:1in;height:24pt" o:ole="">
        <v:imagedata r:id="rId4" o:title="" /> 
      </v:shape>
      <w:control r:id="rId5" w:name="CommandButton1" w:shapeid="_x0000_i1027" /> 
    </w:object>
  </w:r>
</w:p>

The relationship type for rId5 is: http://schemas.openxmlformats.org/officeDocument/2006/relationships/control

The XML content of the part referenced by rId5 could be:

<applet xlink:href="../../../../Program%20Files/Application" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" code="CalculateApplet.class" may-script="false"/>
example:
<w:p>
  <w:r w:rsidR="005810E1">
    <w:object w:dxaOrig="1440" w:dyaOrig="1440">
      <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
        <v:stroke joinstyle="miter" /> 
        <v:formulas>
          <v:f eqn="if lineDrawn pixelLineWidth 0" /> 
          <v:f eqn="sum @0 1 0" /> 
          <v:f eqn="sum 0 0 @1" /> 
          <v:f eqn="prod @2 1 2" /> 
          <v:f eqn="prod @3 21600 pixelWidth" /> 
          <v:f eqn="prod @3 21600 pixelHeight" /> 
          <v:f eqn="sum @0 0 1" /> 
          <v:f eqn="prod @6 1 2" /> 
          <v:f eqn="prod @7 21600 pixelWidth" /> 
          <v:f eqn="sum @8 21600 0" /> 
          <v:f eqn="prod @7 21600 pixelHeight" /> 
          <v:f eqn="sum @10 21600 0" /> 
        </v:formulas>
        <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> 
        <o:lock v:ext="edit" aspectratio="t" /> 
      </v:shapetype>
      <v:shape id="_x0000_i1027" type="#_x0000_t75" style="width:1in;height:24pt" o:ole="">
        <v:imagedata r:id="rId4" o:title="" /> 
      </v:shape>
      <w:control r:id="rId5" w:name="CommandButton1" w:shapeid="_x0000_i1027" /> 
    </w:object>
  </w:r>
</w:p>

The relationship type for rId5 is: http://schemas.openxmlformats.org/officeDocument/2006/relationships/control

The content type of the part referenced by rId5 could be: application/vnd.ms-office.activeX+xml

The XML content of the part referenced by rId5 could be:

<ax:ocx ax:classid="{D7053240-CE69-11CD-A777-00DD01143C57}" 
    ax:persistence="persistPropertyBag" 
    xmlns:ax="http://schemas.microsoft.com/office/2006/activeX">
  <ax:ocxPr ax:name="Caption" ax:value="CommandButton1" /> 
  <ax:ocxPr ax:name="Size" ax:value="2540;847" /> 
  <ax:ocxPr ax:name="FontName" ax:value="Calibri" /> 
  <ax:ocxPr ax:name="FontHeight" ax:value="225" /> 
  <ax:ocxPr ax:name="FontCharSet" ax:value="0" /> 
  <ax:ocxPr ax:name="FontPitchAndFamily" ax:value="2" /> 
  <ax:ocxPr ax:name="ParagraphAlign" ax:value="3" /> 
</ax:ocx>

An Embedded Control Persistence part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode attribute of the <Relationship> element shall be Internal).

An Embedded Control Persistence part shall not have any implicit or explicit relationships to other parts defined by this Standard.