populateLine(headerColor, text, value, x, xAdditionalWidth, y, font) {
    const {fontSize, boldFont, lightFont} = utils.setComponentFont("OpenSansSemiBold", "OpenSansLight", constants.NORMAL_FONT_SIZE, font);
    this.font(lightFont).fontSize(fontSize).fillColor(headerColor).text(text, x, y);

    this.font(boldFont);
    if (isArabic(value)) {
      this.font("Arabic");
    }
    if (isJapanese(value)) {
      this.font("Japanese");
    }
    if (isChinese(value)) {
      this.font("Chinese");
    }

    this.fontSize(fontSize).text(value, x + xAdditionalWidth, y, {
      width: 370,
      lineGap: 10,
      ellipsis: true,
    });

    return this;
  }
// populateLine : populates a line with the stipulated text and settings
populateLine : populates a line with the stipulated text and settings
populateLine : populates a line with the stipulated text and settings
populateLine(headerColor, text, value, x, xAdditionalWidth, y, font) {
    const {fontSize, boldFont, lightFont} = utils.setComponentFont("OpenSansSemiBold", "OpenSansLight", constants.NORMAL_FONT_SIZE, font);
    this.font(lightFont).fontSize(fontSize).fillColor(headerColor).text(text, x, y);
    this.font(boldFont);
    if (isArabic(value)) {
      this.font("Arabic");
    }
    if (isJapanese(value)) {
      this.font("Japanese");
    }
    if (isChinese(value)) {
      this.font("Chinese");
    }
    this.fontSize(fontSize).text(value, x + xAdditionalWidth, y, {
      width: 370,
      lineGap: 10,
      ellipsis: true,
    });
    return this;
  }
populateLine ( headerColor , text , value , x , xAdditionalWidth , y , font ) { const { fontSize , boldFont , lightFont } = utils . setComponentFont ( "OpenSansSemiBold" , "OpenSansLight" , constants . NORMAL_FONT_SIZE , font ) ; this . font ( lightFont ) . fontSize ( fontSize ) . fillColor ( headerColor ) . text ( text , x , y ) ; this . font ( boldFont ) ; if ( isArabic ( value ) ) { this . font ( "Arabic" ) ; } if ( isJapanese ( value ) ) { this . font ( "Japanese" ) ; } if ( isChinese ( value ) ) { this . font ( "Chinese" ) ; } this . fontSize ( fontSize ) . text ( value , x + xAdditionalWidth , y , { width : 370 , lineGap : 10 , ellipsis : true , } ) ; return this ; }
populateLine : populates a line with the stipulated text and settings
populateLine : populates a line with the stipulated text and settings