docs: public void printReport(PrintWriter out, ResourceBundle reg)
          throws DBException
      {
      	if (reg == null)
          	reg = ((BaseApplication)this.getTask().getApplication()).getResources(HtmlConstants.XML_RESOURCE, false);
          String string = XmlUtilities.XML_LEAD_LINE;
          out.println(string);
  
          String strStylesheetPath = this.getStylesheetPath();
          if (strStylesheetPath != null)
          {
              string = "<?xml-stylesheet type=\"text/xsl\" href=\"" + strStylesheetPath + "\" ?>";
              out.println(string);
          }
  
          out.println(Utility.startTag(XMLTags.FULL_SCREEN));
  
          this.printXMLParams(out, reg);   // URL params
          
          this.printXMLHeaderInfo(out, reg); // Title, keywords, etc.
          this.printXmlHeader(out, reg); // Top menu
  
          this.printXmlMenu(out, reg);
          this.printXmlNavMenu(out, reg);
          this.printXmlTrailer(out, reg);
  
          this.processInputData(out);
          ((BasePanel)this.getScreenField()).prePrintReport();
          out.println(Utility.startTag(XMLTags.CONTENT_AREA));
          this.getScreenField().printScreen(out, reg);
          out.println(Utility.endTag(XMLTags.CONTENT_AREA));
  
          out.println(Utility.endTag(XMLTags.FULL_SCREEN));
      }