public class StructureRecordXLSXReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends AbstractXLSXReporter<Q>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autosizecolumn |
protected org.apache.poi.ss.usermodel.Font |
blackFont |
protected org.apache.poi.ss.usermodel.Font |
blueFont |
protected org.apache.poi.ss.usermodel.CellStyle |
blueStyle |
protected ProcessorStructureRetrieval |
component |
protected Dimension |
d |
protected StudyFormatter |
formatter |
protected org.apache.poi.ss.usermodel.CellStyle |
hstyle |
protected ImageReporter<Q> |
imageReporter |
protected AddDimensionedImage |
imgHelper |
protected Map<String,Integer> |
mergedProperties |
protected int |
offset |
protected org.apache.poi.ss.usermodel.Font |
redFont |
protected int |
rowIndex |
protected org.apache.poi.ss.usermodel.CellStyle |
style |
dataformat, fileExtension, out, sheet, workbook, writingStartedgroupProperties, header, includeMol, template| Constructor and Description |
|---|
StructureRecordXLSXReporter(String baseRef,
boolean hssf,
Template template,
Profile groupedProperties,
SubstanceEndpointsBundle[] bundles,
String urlPrefix,
boolean includeMol,
String configResource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPicture(byte[] bytes,
int row,
int column) |
protected void |
addPicture(IStructureRecord record,
int row,
int column) |
void |
close() |
protected void |
configureProcessors(String baseRef,
boolean includeMol) |
void |
footer(OutputStream output,
Q query) |
void |
header(OutputStream output,
Q query) |
protected void |
initColumns(int afterCol) |
boolean |
isAutosizeColumns() |
Object |
processItem(IStructureRecord item) |
void |
setAutosizeColumns(boolean autosizecolumn) |
void |
setConnection(Connection connection) |
createRichTextString, getFileExtensionconfigurePropertyProcessors, getGroupProperties, getHeader, getTemplate, isIncludeMol, setGroupProperties, setTemplate, template2HeadercreateBatch, isIncludeLicenseInTextFilesgetLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapupgetConnection, isCloseConnection, isEnabledaddPropertyChangeListener, addPropertyChangeListener, getID, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toStringprotected ImageReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> imageReporter
protected ProcessorStructureRetrieval component
protected Dimension d
protected int offset
protected int rowIndex
protected StudyFormatter formatter
protected org.apache.poi.ss.usermodel.CellStyle style
protected org.apache.poi.ss.usermodel.CellStyle hstyle
protected org.apache.poi.ss.usermodel.CellStyle blueStyle
protected org.apache.poi.ss.usermodel.Font blackFont
protected org.apache.poi.ss.usermodel.Font blueFont
protected org.apache.poi.ss.usermodel.Font redFont
protected boolean autosizecolumn
protected AddDimensionedImage imgHelper
public boolean isAutosizeColumns()
public void setAutosizeColumns(boolean autosizecolumn)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection in interface net.idea.modbcum.i.IDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>setConnection in class net.idea.modbcum.p.AbstractDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>net.idea.modbcum.i.exceptions.DbAmbitExceptionpublic void close()
throws Exception
close in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>close in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>close in class net.idea.modbcum.p.AbstractDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>Exceptionpublic void header(OutputStream output, Q query)
header in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>public void footer(OutputStream output, Q query)
footer in class AbstractXLSXReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>>protected void initColumns(int afterCol)
public Object processItem(IStructureRecord item) throws Exception
processItem in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>Exceptionprotected void configureProcessors(String baseRef, boolean includeMol)
configureProcessors in class QueryHeaderReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>protected void addPicture(IStructureRecord record, int row, int column) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionprotected void addPicture(byte[] bytes,
int row,
int column)
throws IOException
IOExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.