11.5 Framesets

Source Relationship:

http://purl.oclc.org/ooxml/officeDocument/relationships/frame

A frameset is a WordprocessingML document which specifies the location and placement of other WordprocessingML documents (which, when used in this context, are referred to as frames). A frameset shall be represented by an instance of a WordprocessingML document with a Web Settings part (11.3.13) whose relationship item targets each of that frameset’s frames.

[Example: Consider a frameset document having two frames. The frameset’s Web Settings part-relationships item contains the following, in which frame1.docx and frame2.docx are packages containing the corresponding frames:

<Relationships xmlns="…">
  <Relationship Id="rId1"
    Type="http://…/frame" Target="frame1.docx" TargetMode="External"/>
  <Relationship Id="rId2"
    Type="http://…/frame" Target="frame2.docx" TargetMode="External"/>
</Relationships>

The frameset document’s Web Settings part contains a frameset element that references its frames:

<w:webSettings >
  <w:frameset>
    <w:frame>
      <w:sz w:val="216" />
      <w:name w:val="Frame2" />
      <w:sourceFileName r:id="rId1" />
    </w:frame>
    <w:frame>
      <w:name w:val="Frame1" />
      <w:sourceFileName r:id="rId2" />
    </w:frame>
  </w:frameset>
</w:webSettings>

end example]

A frame shall be represented by an instance of a WordprocessingML package.

A frame shall be located external to the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be External).

Last updated on