class_docstr: default setting for report constants
docstr: add text string to pdf report
  
  Args:
      text (str): text string written to pdf, with current
                  global indent level
      link (int): link idx created earlier for internal anchor
      style (str): styles applied to the text
                  'B': bold,
                  'I': italic,
                  'U': underline,
                  or any combination of above
docstr_tok: ["add","text","string","to","pdf","report","Args",":","text","(","str",")",":","text","string","written","to","pdf",",","with","current","global","indent","level","link","(","int",")",":","link","idx","created","earlier","for","internal","anchor","style","(","str",")",":","styles","applied","to","the","text","'","B","'",":","bold",",","'","I","'",":","italic",",","'","U","'",":","underline",",","or","any","combination","of","above"]
code: def add_text(self, text, link=None, style=""):
      """
      add text string to pdf report
  
      Args:
          text (str): text string written to pdf, with current
                      global indent level
          link (int): link idx created earlier for internal anchor
          style (str): styles applied to the text
                      'B': bold,
                      'I': italic,
                      'U': underline,
                      or any combination of above
      """
      html_text = "%s%s%s" % (
          "   " * self.itemize_level,
          self.itemize_symbol,
          text,
      )
  
      if "B" in style:
          html_text = "<B>%s</B>" % html_text
      if "I" in style:
          html_text = "<I>%s</I>" % html_text
      if "U" in style:
          html_text = "<U>%s</U>" % html_text
      self.write_html(html_text, link=link)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import warnings
  import datetime
  import re
  from fpdf import FPDF
label_desc: Use image node_id 13 for calling the CustomPdf obj's underlying member method code with example usage: obj.add_text(text, link, style) without return types