function main(spreadsheetReport) {
//旧方法备份
spreadsheetReport._initExportMenu_new = spreadsheetReport.initExportMenu;
//重写方法
spreadsheetReport.initExportMenu = function() {
spreadsheetReport._initExportMenu_new();
this.exportMenu.removeItem("CSV"); //屏蔽CSV
this.exportMenu.removeItem("HTML"); //屏蔽HTML
this.exportMenu.removeItem("PNG"); //屏蔽PNG
this.exportMenu.removeItem("PDF"); //屏蔽PDF
this.exportMenu.removeItem("WORD"); //屏蔽WORD
//this.exportMenu.removeItem("EXCEL2007"); //屏蔽EXCEL
}
}