I am using Apache POI to create an Excel file. I need to remove all borders on my sheet. How can I accomplish this using Apache PIO 3.11 and Microsoft Excel 2007?
Here is the code that I still have:
package models; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss.util.CellRangeAddress; import java.io.FileOutputStream; import java.util.List; public class Excel { public static void writeDocument() { Workbook workbook = new HSSFWorkbook(); Sheet sheet = workbook.createSheet("sheet");
java apache-poi
nairouz mrabah
source share