DocumentID: ECMA-376/Part1/11.5 Title: ECMA-376, Part1: 11.5 Framesets Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
|
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/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 source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be External).