spreadsheet write issue

cell background colour are not comes when we write spreadsheet as file using

spreadsheet.write(fileoutputstream);

and tell me there is any inbuilt method for download spreadsheet as Excel file;

[code]
FYI this attatchment is get from vaadin spreadsheet 
[/code]

31227.xls (6.1 KB)