function addLayout(curId, info) {
    // You can replace any built-in layout except for the first one (for now):
    if (!funcThis.findLayoutByName(info.name)) {
      slideLayouts.push({
        execCb: function (data) {
          return funcThis['cbMakePptxLayout' + curId](data)
        },
        cbData: { layoutRealOfficeId: curId }, // Do we need extendPptxSlideApi? we are not using it any more.
        name: info.name,
        display: info.display
      })
    } // Endif.
  }
This function been called just before starting to generate the output document zip.
@param {object} docObj Document object.