Package io.github.rushuat.ocell.model
Class DocumentWorkbook
- java.lang.Object
-
- io.github.rushuat.ocell.model.DocumentWorkbook
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DocumentWorkbook extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description DocumentWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.apache.poi.ss.usermodel.CellStyle
getCellStyle(Format format, Alignment alignment)
org.apache.poi.ss.usermodel.CellStyle
getCellStyle(DocumentField documentField)
org.apache.poi.ss.usermodel.Workbook
getWorkbook()
void
setWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
-
-
-
Method Detail
-
getWorkbook
public org.apache.poi.ss.usermodel.Workbook getWorkbook()
-
setWorkbook
public void setWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
-
getCellStyle
public org.apache.poi.ss.usermodel.CellStyle getCellStyle(DocumentField documentField)
-
getCellStyle
public org.apache.poi.ss.usermodel.CellStyle getCellStyle(Format format, Alignment alignment)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-