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,RequiresTransactionManager,Closeable,AutoCloseable,Runnable
- Direct Known Subclasses:
ODSReport
-
Field Summary
Fields inherited from class com.storedobject.office.AbstractSpreadSheet
MAX_ROWS, workbookFields inherited from class com.storedobject.core.StreamContentProducer
entity, 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.Workbookfinal PDFPropertiesfinal booleanfinal voidsetRawOutput(boolean raw) Methods 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
-
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:
createWorkbookin classAbstractSpreadSheet- Throws:
Exception
-
setRawOutput
public final void setRawOutput(boolean raw) -
isRawOutput
public final boolean isRawOutput() -
getPDFProperties
-
getContentType
-
getFileExtension
-