DocumentID: ECMA-376/Part1/12.3.23 Title: ECMA-376, Part1: 12.3.23 Workbook Part 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
|
Content Type(s): |
application/vnd.openxmlformats-officedocument.spreadsheetml.main+xml |
|---|---|
|
Root Namespace: |
http://schemas.openxmlformats.org/spreadsheetml/2006/main |
|
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument |
An instance of this part type contains workbook data and references to all of its worksheets.
A package shall contain exactly one Workbook part, and that part shall be the target of a relationship in the package-relationship item.
[Example: The following SpreadsheetML package-relationship item contains a relationship to the Workbook part, which is stored in the ZIP item xl/workbook.xml:
<Relationships xmlns="...">
<Relationship Id="rId1"
Type="http://.../officeDocument" Target="xl/workbook.xml"/>
</Relationships>
end example]
The root element for a part of this content type shall be workbook.
[Example: This workbook has three worksheets, named January, February, and March:
<workbook xmlns="..." xmlns:r="...">
<fileVersion lastEdited="4" lowestEdited="4" rupBuild="3417"/>
<bookViews>
<workbookView xWindow="240" yWindow="15" windowWidth="8505"
windowHeight="6240"/>
</bookViews>
<sheets>
<sheet name="January" tabId="1" r:id="rId1"/>
<sheet name="February" tabId="2" r:id="rId2"/>
<sheet name="March" tabId="3" r:id="rId3"/>
</sheets>
<workbookPr showObjects="all"/>
<webPublishing codePage="1252"/>
<calcPr calcId="122211" fullCalcOnLoad="1"/>
</workbook>
end example]
A Workbook part shall be located within the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Workbook part is permitted to have implicit relationships to the following parts defined by this Standard:
A Workbook part is permitted to have explicit relationships to the following parts defined by this Standard:
A Workbook part shall not have implicit or explicit relationships to any other part defined by this Standard.