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, workbookFields 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 TypeMethodDescriptionvoidexecute()The functional interface method specified by this interface.final TransactionManagerRetrieves the transaction manager associated with this object.final voidfinal voidSets the transaction manager for this object.voidview()Methods inherited from class com.storedobject.office.ODS
createWorkbook, getContentType, getFileExtension, getPDFProperties, isRawOutput, setRawOutputMethods 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, validateRowAddressMethods inherited from class com.storedobject.core.StreamContentProducer
getContent, getEntity, getError, getFileName, getReportFormat, getWriter, isBlocked, isBlocked, produce, readyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.core.ContentProducer
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
-
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:ExecutableThe functional interface method specified by this interface. -
view
public void view() -
setTransactionManager
Description copied from interface:RequiresTransactionManagerSets the transaction manager for this object. The transaction manager is responsible for managing transaction boundaries.- Specified by:
setTransactionManagerin interfaceRequiresTransactionManager- Overrides:
setTransactionManagerin classStreamContentProducer- Parameters:
tm- the transaction manager to be set
-
getTransactionManager
Description copied from interface:RequiresTransactionManagerRetrieves the transaction manager associated with this object.- Specified by:
getTransactionManagerin interfaceContentProducer- Specified by:
getTransactionManagerin interfaceRequiresTransactionManager- Overrides:
getTransactionManagerin classStreamContentProducer- Returns:
- the transaction manager responsible for managing transaction boundaries
-
setEntity
-
getDevice
- Overrides:
getDevicein classAbstractSpreadSheet
-