code: public void onOpenDocument(PdfWriter writer, Document document) {
  		PdfPageEvent event;
  		for (Iterator i = events.iterator(); i.hasNext(); ) {
  			event = (PdfPageEvent)i.next();
  			event.onOpenDocument(writer, document);
  		}
  	}
docs: Called when the document is opened.
  
  @param writer
  the <CODE>PdfWriter</CODE> for this document
  @param document
  the document