Package com.storedobject.office
Class Excel
java.lang.Object
com.storedobject.core.StreamContentProducer
com.storedobject.office.AbstractSpreadSheet
com.storedobject.office.Excel
- All Implemented Interfaces:
Executable,ContentProducer,ContentType,RequiresTransactionManager,Closeable,AutoCloseable,Runnable
- Direct Known Subclasses:
ExcelReport
-
Field Summary
Fields inherited from class com.storedobject.office.AbstractSpreadSheet
MAX_ROWS, workbookFields inherited from class com.storedobject.core.StreamContentProducer
entity, out -
Constructor Summary
ConstructorsConstructorDescriptionExcel()Constructor.Constructor.ConstructorExcel(Id templateId, OutputStream out) ConstructorExcel(StreamData streamData) ConstructorExcel(StreamData streamData, OutputStream out) ConstructorExcel(InputStream in) Constructor.Excel(InputStream in, OutputStream out) Constructor.Excel(OutputStream out) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.poi.ss.usermodel.WorkbookMethods inherited from class com.storedobject.office.AbstractSpreadSheet
abort, close, feedback, generateContent, getCell, getCell, getCell, getCell, getCellIndex, getCells, getCenteredStyle, getColumnCells, getDateStyle, getDateTimeStyle, getDevice, getHourStyle, getNextCell, getNextRow, getNextSheet, getNumericStyle, getNumericStyle, getPercentage2Style, getPercentageStyle, getPreviousCell, getPreviousRow, getPreviousSheet, getRightAlignedStyle, getRow, getRow, getRow, getRowCells, getRowIndex, getSheet, getSheet, getSheetIndex, getWorkbook, goToCell, goToCell, goToCell, goToCell, goToRow, isSameSize, moveDown, moveLeft, moveRight, moveUp, save, save, setCellValue, setCellValue, setCellValues, setFeedback, validateCellAddress, validateColumnAddress, validateRangeAddress, validateRowAddressMethods inherited from class com.storedobject.core.StreamContentProducer
getContent, getEntity, getError, getFileName, getReportFormat, getTransactionManager, getWriter, isBlocked, isBlocked, produce, ready, setTransactionManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.core.ContentProducer
execute, extractContent, getStreamData, getStreamDataProvider, getSystemEntity, saveTo, saveTo, saveTo, saveToMethods inherited from interface com.storedobject.core.ContentType
getLink, getMimeType, isAudio, isHTML, isImage, isLink, isMedia, isPDF, isText, isVideoMethods inherited from interface com.storedobject.common.Executable
act, run
-
Constructor Details
-
Excel
public Excel()Constructor. This will create a blank Excel file, and the content may be manipulated in theAbstractSpreadSheet.generateContent()method. -
Excel
-
Excel
Constructor.- Parameters:
in- Input stream containing an Excel file with some content.
-
Excel
Constructor.- Parameters:
databaseFileName- Database file name (FileData) containing an Excel file with some content.
-
Excel
Constructor.- Parameters:
fileData- Database file containing an Excel file with some content.
-
Excel
Constructor- Parameters:
templateId- Id of the stream data containing an Excel file with some content.
-
Excel
Constructor- Parameters:
templateId- Id of the stream data containing an Excel file with some content.out- Output is written to this stream.
-
Excel
Constructor- Parameters:
streamData- Stream data containing an Excel file with some content.
-
Excel
Constructor- Parameters:
streamData- Stream data containing an Excel file with some content.out- Output is written to this stream.
-
Excel
Constructor.- Parameters:
in- Input stream containing an Excel file with some content.out- Output is written to this stream.
-
-
Method Details
-
createWorkbook
- Specified by:
createWorkbookin classAbstractSpreadSheet- Throws:
Exception
-
getContentType
-
getFileExtension
-