public void onOpenDocument ( PdfWriter writer , Document document ) { PdfPageEvent event ; for ( Iterator i = events . iterator ( ) ; i . hasNext ( ) ; ) { event = ( PdfPageEvent ) i . next ( ) ; event . onOpenDocument ( writer , document ) ; } }
Called when the document is opened .