Package com.storedobject.office
Class ODSReport
java.lang.Object
com.storedobject.core.StreamContentProducer
com.storedobject.office.AbstractSpreadSheet
com.storedobject.office.ODS
com.storedobject.office.ODSReport
- All Implemented Interfaces:
Executable
,ContentProducer
,ContentType
,RequiresTransactionManager
,Closeable
,AutoCloseable
,Runnable
-
Field Summary
Fields inherited from class com.storedobject.office.AbstractSpreadSheet
MAX_ROWS, workbook
Fields inherited from class com.storedobject.core.StreamContentProducer
entity, out
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor.ConstructorODSReport
(Device device, StreamData streamData) ConstructorODSReport
(Device device, InputStream in) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
The functional interface method specified by this interface.final TransactionManager
Retrieves the transaction manager associated with this object.final void
final void
Sets the transaction manager for this object.void
view()
Methods inherited from class com.storedobject.office.ODS
createWorkbook, getContentType, getFileExtension, getPDFProperties, isRawOutput, setRawOutput
Methods inherited from class com.storedobject.office.AbstractSpreadSheet
abort, close, feedback, generateContent, getCell, getCell, getCell, getCell, getCellIndex, getCells, getCenteredStyle, getColumnCells, getDateStyle, getDateTimeStyle, 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, validateRowAddress
Methods inherited from class com.storedobject.core.StreamContentProducer
getContent, getEntity, getError, getFileName, getReportFormat, getWriter, isBlocked, isBlocked, produce, ready
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
extractContent, 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
-
ODSReport
Constructor.- Parameters:
device
- Device This will create an blank ODS file and the content may be manipulated in the generateContent() method.
-
ODSReport
Constructor.- Parameters:
device
- Devicein
- Input stream containing an ODS file with some content.
-
ODSReport
-
ODSReport
-
ODSReport
-
ODSReport
Constructor- Parameters:
device
- DevicestreamData
- Stream data containing ODS file with some content.
-
-
Method Details
-
execute
public void execute()Description copied from interface:Executable
The functional interface method specified by this interface. -
view
public void view() -
setTransactionManager
Description copied from interface:RequiresTransactionManager
Sets the transaction manager for this object. The transaction manager is responsible for managing transaction boundaries.- Specified by:
setTransactionManager
in interfaceRequiresTransactionManager
- Overrides:
setTransactionManager
in classStreamContentProducer
- Parameters:
tm
- the transaction manager to be set
-
getTransactionManager
Description copied from interface:RequiresTransactionManager
Retrieves the transaction manager associated with this object.- Specified by:
getTransactionManager
in interfaceContentProducer
- Specified by:
getTransactionManager
in interfaceRequiresTransactionManager
- Overrides:
getTransactionManager
in classStreamContentProducer
- Returns:
- the transaction manager responsible for managing transaction boundaries
-
setEntity
-
getDevice
- Overrides:
getDevice
in classAbstractSpreadSheet
-