Next / Previous / Contents / Shipman's homepage

6.8. simpleMaster(): Start a simple-page-master

simpleMaster(s, masterName, dims)
s

The sox.Sox instance to which the element is written.

masterName

The master name being defined; this must be a valid XML name.

dims

An instance of Section 6.4, “class PageDims: Page layout” that describes the various dimensions of the page.

This function returns a token representing the open element. Following the call, you will use calls to these functions to define the regions of the page master:

Finally, call the .end() method of the token return by simpleMaster() to generate the closing tag.