17.2 Main Document Story

As defined in 4, a WordprocessingML document contains the markup for a rendition of an Office Open XML document of category Wordprocessing. Syntactically, the document consists of a compilation of two kinds of information, which are combined to create this rendition:

  • Properties [Example: styles, numbering definitions, etc. end example]
  • Stories [Example: main document, comments, headers, etc. end example]

In WordprocessingML, stories are unique containers for one or more paragraphs, as defined by the parent elements of the p element (17.3.1.22). Stories contain the document’s content. The properties of the document are applied to the contents of each story to create the rendition. Most of the content in a WordprocessingML document is located in the main document story, which is stored inside the body element within the Main Document part (11.3.10).

[Example: Consider a document with a single paragraph in the main document story. This document would require the following WordprocessingML in its main document part:

<w:document>
  <w:body>
    <w:p/>
  </w:body>
</w:document>

The fact that the paragraph is inside the body element makes it part of the main document story. end example]

Subsections

Last updated on