Package com.storedobject.office
Class ODS
java.lang.Object
com.storedobject.core.StreamContentProducer
com.storedobject.office.AbstractSpreadSheet
com.storedobject.office.ODS
- All Implemented Interfaces:
Executable
,ContentProducer
,ContentType
,Closeable
,AutoCloseable
,Runnable
- Direct Known Subclasses:
ODSReport
-
Field Summary
Fields inherited from class com.storedobject.office.AbstractSpreadSheet
MAX_ROWS, workbook
Fields inherited from class com.storedobject.core.StreamContentProducer
out
-
Constructor Summary
ConstructorsConstructorDescriptionODS()
Constructor.Constructor.ConstructorODS
(Id templateId, OutputStream out) ConstructorODS
(StreamData streamData) ConstructorODS
(StreamData streamData, OutputStream out) ConstructorODS
(InputStream in) Constructor.ODS
(InputStream in, OutputStream out) Constructor.ODS
(OutputStream out) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.poi.ss.usermodel.Workbook
final PDFProperties
final boolean
void
Re-evaluate all formula in the worksheet.final void
setRawOutput
(boolean raw) Methods inherited from class com.storedobject.office.AbstractSpreadSheet
abort, close, 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, validateCellAddress, validateColumnAddress, validateRangeAddress, validateRowAddress
Methods inherited from class com.storedobject.core.StreamContentProducer
getContent, getError, getFileName, getTransactionManager, getWriter, produce, setTransactionManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.storedobject.core.ContentProducer
execute, extractContent, getEntity, getStreamData, getStreamDataProvider, getSystemEntity, saveTo, saveTo, saveTo, saveTo
Methods inherited from interface com.storedobject.core.ContentType
getLink, getMimeType, isAudio, isHTML, isImage, isLink, isMedia, isPDF, isText, isVideo
Methods inherited from interface com.storedobject.common.Executable
act, run
-
Constructor Details
-
ODS
public ODS()Constructor. This will create a blank ODS file and the content may be manipulated in the generateContent() method. -
ODS
-
ODS
Constructor.- Parameters:
in
- Input stream containing an ODS file with some content.
-
ODS
Constructor.- Parameters:
databaseFileName
- Database file name (FileData) containing ODS file with some content.
-
ODS
Constructor.- Parameters:
fileData
- Database file containing ODS file with some content.
-
ODS
Constructor- Parameters:
templateId
- Id of the stream data containing ODS file with some content.
-
ODS
Constructor- Parameters:
templateId
- Id of the stream data containing ODS file with some content.out
- Output is written to this stream.
-
ODS
Constructor- Parameters:
streamData
- Stream data containing ODS file with some content.
-
ODS
Constructor- Parameters:
streamData
- Stream data containing ODS file with some content.out
- Output is written to this stream.
-
ODS
Constructor.- Parameters:
in
- Input stream containing an ODS file with some content.out
- Output is written to this stream.
-
-
Method Details
-
createWorkbook
- Specified by:
createWorkbook
in classAbstractSpreadSheet
- Throws:
Exception
-
setRawOutput
public final void setRawOutput(boolean raw) -
isRawOuput
public final boolean isRawOuput() -
getPDFProperties
-
getContentType
-
getFileExtension
-
recompute
public void recompute()Re-evaluate all formula in the worksheet.- Specified by:
recompute
in classAbstractSpreadSheet
-