View Single Post
The file format for the Gantt report is extremely straightforward -- it just tiles a bunch of jpg images from the "include" directory in the report. You could easily write a C program to spit out your own version, something like this:

Code:
main ()
{
  int pageRow, pageCol;
  int pagesLong, pagesWide;

  pagesLong = 2; /* a real program would figure this out by looking at the 
                            contents of the include directory */
  pagesWide = 2;

  printf("<html><body><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");

  for (pageRow = 0; pageRow < pagesLong; pageRow++) {
    printf("<tr>\n");
    for (pageCol = 0; pageCol < pagesWide; pageCol++) {
      printf("<td><img src=\"include/gantt");
      printf("%d,%d", pageCol, pageRow);
      printf(".jpg\" border=0/></td>");
    }
    printf("\n</tr>\n");
  }

  printf("</table>\n");
  printf("<p class=\"footer\">Made&nbsp;by&nbsp;Plans and Widgets, Inc.</p>");
  printf("</body></html>");
}
The timeline report is similar in construction.