use of jxl.write.WritableFont in project cubrid-manager by CUBRID.
the class ExportErrorDataProgress method getTitleCell.
/**
* getNormalCell
* @return WritableCellFormat
*/
public static WritableCellFormat getTitleCell() {
WritableFont font = new WritableFont(WritableFont.TIMES, 12);
WritableCellFormat format = new WritableCellFormat(font);
try {
format.setAlignment(jxl.format.Alignment.CENTRE);
format.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLACK);
format.setWrap(true);
} catch (WriteException e) {
LOGGER.error("", e);
}
return format;
}
use of jxl.write.WritableFont in project cubrid-manager by CUBRID.
the class ExportErrorDataProgress method getNormalCell.
/**
* getNormalCell
* @return WritableCellFormat
*/
public static WritableCellFormat getNormalCell() {
// FIXME logic code move to core module
WritableFont font = new WritableFont(WritableFont.TIMES, 12);
WritableCellFormat format = new WritableCellFormat(font);
try {
format.setAlignment(jxl.format.Alignment.LEFT);
format.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLACK);
format.setWrap(true);
} catch (WriteException e) {
LOGGER.error("", e);
}
return format;
}
use of jxl.write.WritableFont in project cubrid-manager by CUBRID.
the class RunSQLProcessManager method getNormalCell.
/**
* getNormalCell
* @return WritableCellFormat
*/
public static WritableCellFormat getNormalCell() {
// FIXME logic code move to core module
WritableFont font = new WritableFont(WritableFont.TIMES, 12);
WritableCellFormat format = new WritableCellFormat(font);
try {
format.setAlignment(jxl.format.Alignment.CENTRE);
format.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLACK);
format.setWrap(true);
} catch (WriteException e) {
LOGGER.error(e.getMessage(), e);
}
return format;
}
use of jxl.write.WritableFont in project cubrid-manager by CUBRID.
the class ExportDashboardDialog method getNormalCell.
/**
* getNormalCell
* @return WritableCellFormat
*/
public static WritableCellFormat getNormalCell() {
WritableFont font = new WritableFont(WritableFont.TIMES, 11);
WritableCellFormat format = new WritableCellFormat(font);
try {
format.setAlignment(jxl.format.Alignment.CENTRE);
format.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLACK);
format.setWrap(true);
} catch (WriteException e) {
e.printStackTrace();
}
return format;
}
use of jxl.write.WritableFont in project cubrid-manager by CUBRID.
the class ImportResultDialog method getNormolCell.
public static WritableCellFormat getNormolCell() {
// FIXME move this logic to core module
WritableFont font = new WritableFont(WritableFont.TIMES, 12);
WritableCellFormat format = new WritableCellFormat(font);
try {
format.setAlignment(jxl.format.Alignment.LEFT);
format.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);
format.setBorder(Border.ALL, BorderLineStyle.THIN, Colour.BLACK);
format.setWrap(true);
} catch (WriteException e) {
e.printStackTrace();
}
return format;
}
Aggregations