function createBodyProperties(objOptions) {
    var bodyProperties = '<a:bodyPr'

    if (objOptions && objOptions.bodyProp) {
      // Set anchorPoints bottom, center or top:
      if (objOptions.bodyProp.anchor) {
        bodyProperties += ' anchor="' + objOptions.bodyProp.anchor + '"'
      } // Endif.

      if (objOptions.bodyProp.anchorCtr) {
        bodyProperties += ' anchorCtr="' + objOptions.bodyProp.anchorCtr + '"'
      } // Endif.

      // Enable or disable textwrapping none or square:
      if (objOptions.bodyProp.wrap) {
        bodyProperties += ' wrap="' + objOptions.bodyProp.wrap + '"'
      } else {
        bodyProperties += ' wrap="square"'
      } // Endif.

      // Box margins(padding):
      // BMK_TODO: I should pass a better value as the auto_val parameter of parseSmartNumber().
      if (objOptions.bodyProp.bIns) {
        bodyProperties +=
          ' bIns="' +
          parseSmartNumber(
            objOptions.bodyProp.bIns,
            gen_private.type.pptx.pptHeight,
            369332,
            gen_private.type.pptx.pptHeight,
            10000
          ) +
          '"'
      } // Endif.

      if (objOptions.bodyProp.lIns) {
        bodyProperties +=
          ' lIns="' +
          parseSmartNumber(
            objOptions.bodyProp.lIns,
            gen_private.type.pptx.pptWidth,
            2819400,
            gen_private.type.pptx.pptWidth,
            10000
          ) +
          '"'
      } // Endif.

      if (objOptions.bodyProp.rIns) {
        bodyProperties +=
          ' rIns="' +
          parseSmartNumber(
            objOptions.bodyProp.rIns,
            gen_private.type.pptx.pptWidth,
            2819400,
            gen_private.type.pptx.pptWidth,
            10000
          ) +
          '"'
      } // Endif.

      if (objOptions.bodyProp.tIns) {
        bodyProperties +=
          ' tIns="' +
          parseSmartNumber(
            objOptions.bodyProp.tIns,
            gen_private.type.pptx.pptHeight,
            369332,
            gen_private.type.pptx.pptHeight,
            10000
          ) +
          '"'
      } // Endif.

      bodyProperties += ' rtlCol="0">'

      if (objOptions.bodyProp.noAutofit) {
        bodyProperties += '<a:noAutofit/>'
      } else if (
        objOptions.bodyProp.normAutofit &&
        objOptions.bodyProp.normAutofitRed
      ) {
        bodyProperties +=
          '<a:normAutofit fontScale="' +
          objOptions.bodyProp.normAutofit +
          '" lnSpcReduction="' +
          objOptions.bodyProp.normAutofitRed +
          '"/>'
      } else if (objOptions.bodyProp.normAutofit) {
        bodyProperties +=
          '<a:normAutofit fontScale="' + objOptions.bodyProp.normAutofit + '"/>'
      } else if (objOptions.bodyProp.autoFit !== false) {
        bodyProperties += '<a:spAutoFit/>'
      } // Endif.

      bodyProperties += '</a:bodyPr>'

      // Default:
    } else {
      bodyProperties += ' wrap="square" rtlCol="0"></a:bodyPr>'
    } // Endif.

    return bodyProperties
  }
Create the body properties code for text.

This method creating the XML code of the body properties of a text.

@return The body properties XML code.