Document excel/pdf export methods and events