public Media getMedia(String pathInfo) {
return new AMedia("css", "css", "text/css;charset=UTF-8", getSheetDefaultRules());
}
public void setColumnSize(String sheetId, int column, int newsize, int id) {
Sheet sheet;
if(getSelectedSheetId().equals(sheetId)){
sheet = getSelectedSheet();
}else{
sheet = ((BookImpl)getBook()).lookupSheetById(sheetId);
}
//update helper size first before sheet.setColumnWidth, or it will fire a SSDataEvent
HeaderPositionHelper helper = Spreadsheet.this.getColumnPositionHelper(sheet);
helper.setCustomizedSize(column,newsize,id);
sheet.setColumnWidth(column, newsize);
}