code: public DynamicReportBuilder addAutoText(byte type, byte position, byte alignment, int width, int width2) {
          HorizontalBandAlignment alignment_ = HorizontalBandAlignment.buildAligment(alignment);
          AutoText text = new AutoText(type, position, alignment_);
          text.setWidth(width);
          text.setWidth2(width2);
          addAutoText(text);
          return this;
      }
docs: Adds an autotext to the Report, this are common texts such us "Page X/Y",
  "Created on 07/25/2007", etc.
  <br>
  The parameters are all constants from the
  <code>ar.com.fdvs.dj.domain.AutoText</code> class
  
  @param type      One of these constants:     <br>AUTOTEXT_PAGE_X_OF_Y <br>
  AUTOTEXT_PAGE_X_SLASH_Y
  <br> AUTOTEXT_PAGE_X, AUTOTEXT_CREATED_ON <br> AUTOTEXT_CUSTOM_MESSAGE
  @param position  POSITION_HEADER or POSITION_FOOTER
  @param alignment <br>ALIGMENT_LEFT <br> ALIGMENT_CENTER <br>
  ALIGMENT_RIGHT
  @return