function MakeHeadFootObj(headFootPlug, mainElement, pStyleDef) {
  this.headFootPlug = headFootPlug
  this.docType = mainElement
  this.docStartExtra = ''
  this.docEndExtra = ''
  this.pStyleDef = pStyleDef
  this.data = []
  return this
}
Create the API object for either the header or the footer.
@param {object} headFootPlug Access to our plugin.
@param {string} mainElement The name of the main element of this resource type.
@param {string} pStyleDef The default style for the paragraph.
@constructor
@name MakeHeadFootObj