Next / Previous / Contents / Shipman's homepage

4.15. staticContent(): Add static content to a simple page master

Once a page-sequence node has been added to the document by the pageSequence() function, use the staticContent() function to add one or more child static-content nodes as children of the page-sequence node. Each static-content child defines content that appears in the header or footer of pages in that sequence. Here is the prototype:

staticContent(flowName, *contents, **attrs)

The flowName specifies where this static content goes. This is the same name you supplied to the regionBefore() or regionAfter() function when you built the corresponding simple page master.

The remaining positional and keyword arguments are added to the static-content node according to the convention discussed in Section 4.2, “The E(*contents, **attrs) convention”.