rem: gHtmlDocument.write("<tr><td width=20%>Starts</td><td width=20%>Ends</td><td width=60%>Event</td></tr>"); for (i in calendarEventArray) 
add: gHtmlDocument.write("<tr><td width=20%>Starts</td><td width=20%>Ends</td><td width=60%>Event</td></tr>"); for (i in calendarEventArray) { var calEvent=calendarEventArray[i]; var useit=true;  if (calEvent.privateEvent) if (! gShowprivate.checked) useit=false; if (useit) 
context: function printEventArray( calendarEventArray){   gHtmlDocument.write("<tr><td width=20%>Starts</td><td width=20%>Ends</td><td width=60%>Event</td></tr>");   for (i in calendarEventArray)    {      var calEvent=calendarEventArray[i];      var useit=true;      if (calEvent.privateEvent)         if (! gShowprivate.checked)             useit=false;      if (useit)      {        gHtmlDocument.write("<tr><td valign=top>");        if (calEvent.allDay)         {          gHtmlDocument.write("All Day");          gHtmlDocument.write("</td><td>");         }        else        {         gHtmlDocument.write(calEvent.start);         gHtmlDocument.write("</td><td valign=top>");         gHtmlDocument.write(calEvent.end);        }        gHtmlDocument.write("</td><td valign=top>");        gHtmlDocument.write(calEvent.title);        if (calEvent.description)           gHtmlDocument.write("<br>"+descriptionTag+": "+calEvent.description);        if (calEvent.location)          gHtmlDocument.write("<br>"+locationTag+": "+calEvent.location);        if (calEvent.url)          gHtmlDocument.write("<br>"+uriTag+": "+calEvent.url);        var mystat='Cancelled';        if (calEvent.status == 10029)          mystat='Tentative';        if (calEvent.status == 10030)          mystat='Confirmed';        gHtmlDocument.write("<br>Status: "+mystat);        gHtmlDocument.write("</td></tr>");      }   }   gHtmlDocument.write("</table>");}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1a2014804004dfe6c5e31b8e7b537a706f0072c8/calPrintEngine.js/clean/calendar/resources/content/calPrintEngine.js