If you go through the Report.java file ,I have used code:
File target = new File(TextField1.getText());
b.exportReport(target);
You can change the property exportReport - FileName to exportReport – Type, FileName where Type = toHTML ;whereby you will be able to change the default export option to HTML Export directly.
Refer to :
Pooja M.,
http://home.attbi.com/~pooja.mohanPooja M.,
http://home.attbi.com/~pooja.mohan