function MakeDocxP(
  genobj,
  genPrivate,
  docType,
  dataContainer,
  extraSettings,
  options
) {
  // Save everything because we'll need it later:
  this.docType = docType
  this.genPrivate = genPrivate
  this.ogPluginsApi = genPrivate.plugs // Generic officegen API for plugins.
  this.msPluginsApi = genPrivate.plugs.type.msoffice // msoffice plugins API.
  this.genobj = genobj
  this.data = []
  // the paragraph data array syntax:
  // - text (string)
  // - options (object)
  //   - color
  //   - back
  //   - highlight
  //   - superscript
  //   - hyperlink
  //   - font_face
  //   - font_face_h
  //   - font_face_east
  //   - font_face_cs
  // - ext_data (object)
  // - line_break (boolean)
  // - horizontal_line (boolean)
  // - bookmark_start (string)
  // - bookmark_end (boolean)
  // - image (?)
  this.extraSettings = extraSettings || {}
  this.options = options || {}

  this.mainPath = genPrivate.features.type.msoffice.main_path // The "folder" name inside the document zip that all the specific resources of this document type are stored.
  this.mainPathFile = genPrivate.features.type.msoffice.main_path_file // The name of the main real xml resource of this document.
  this.relsMain = genPrivate.type.msoffice.rels_main // Main rels file.
  this.relsApp = genPrivate.type.msoffice.rels_app // Main rels file inside the specific document type "folder".
  this.filesList = genPrivate.type.msoffice.files_list // Resources list xml.
  this.srcFilesList = genPrivate.type.msoffice.src_files_list // For storing extra files inside the document zip.

  if (dataContainer) {
    dataContainer.push(this)
  } // Endif.

  return this
}
This function implementing the paragraph API for docx based documents.

@param {object} genobj The document object to work on it.
@param {object} genPrivate Access to the internals of this object.
@param {string} docType Must be the same as the new_type parameter to the document generator's constructor.
@param {object} dataContainer Optional container to store the new object.
@param {object} extraSettings Optional extra settings for the paragraph API itself.
@param {object} options Paragraph options.
@summary Implementation of the pptx document plugins system so it'll be easier to add new features.
@constructor
@name MakeDocxP