This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for output Excel file. | |
| String dirPath = "D:\\Download\\"; | |
| // Create empty workbook object. | |
| Workbook wb = new Workbook(); | |
| // Set the default style of the workbook. | |
| Style defultStyle = wb.getDefaultStyle(); | |
| defultStyle.getFont().setName("Calibri"); | |
| defultStyle.getFont().setSize(11); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Directory path for output Excel file. | |
| String dirPath = "D:\\Download\\"; | |
| // Create empty workbook object. | |
| Workbook wb = new Workbook(); | |
| // Set the default style of the workbook. | |
| Style defultStyle = wb.DefaultStyle; | |
| defultStyle.Font.Name = "Calibri"; | |
| defultStyle.Font.Size = 11; |
NewerOlder