public class SubstanceRecordXLSXReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends AbstractXLSXReporter<Q> implements IStudyPrinter
Modifier and Type | Field and Description |
---|---|
protected org.apache.poi.ss.usermodel.Font |
blackFont |
protected org.apache.poi.ss.usermodel.Font |
blueFont |
protected StudyFormatter |
formatter |
protected org.apache.poi.ss.usermodel.CellStyle |
hstyle |
protected org.apache.poi.ss.usermodel.Font |
redFont |
protected int |
rowIndex |
protected org.apache.poi.ss.usermodel.CellStyle |
sectionStyle |
protected int |
substanceIndex |
protected org.apache.poi.ss.usermodel.CellStyle |
tableStyle |
dataformat, fileExtension, out, sheet, style, workbook, writingStarted
groupProperties, header, includeMol, template
Constructor and Description |
---|
SubstanceRecordXLSXReporter(String baseRef,
boolean hssf,
SubstanceEndpointsBundle[] bundles,
String configResource) |
SubstanceRecordXLSXReporter(String baseRef,
boolean hssf,
Template template,
Profile groupedProperties,
SubstanceEndpointsBundle[] bundles,
String urlPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
footer(OutputStream output,
Q query) |
void |
header(OutputStream output,
Q query) |
void |
print(int record,
int column,
int order,
String value,
boolean isResult,
ReliabilityParams._r_flags studyResultType) |
void |
printHeader(int record,
int column,
int order,
String value) |
Object |
processItem(IStructureRecord item) |
createRichTextString, getFileExtension
configureProcessors, configurePropertyProcessors, getGroupProperties, getHeader, getTemplate, isIncludeMol, setGroupProperties, setTemplate, template2Header
createBatch, isIncludeLicenseInTextFiles
getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
close, getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected int rowIndex
protected int substanceIndex
protected StudyFormatter formatter
protected org.apache.poi.ss.usermodel.CellStyle sectionStyle
protected org.apache.poi.ss.usermodel.CellStyle hstyle
protected org.apache.poi.ss.usermodel.CellStyle tableStyle
protected org.apache.poi.ss.usermodel.Font blackFont
protected org.apache.poi.ss.usermodel.Font blueFont
protected org.apache.poi.ss.usermodel.Font redFont
public SubstanceRecordXLSXReporter(String baseRef, boolean hssf, SubstanceEndpointsBundle[] bundles, String configResource)
public SubstanceRecordXLSXReporter(String baseRef, boolean hssf, Template template, Profile groupedProperties, SubstanceEndpointsBundle[] bundles, String urlPrefix)
public void printHeader(int record, int column, int order, String value)
printHeader
in interface IStudyPrinter
public void print(int record, int column, int order, String value, boolean isResult, ReliabilityParams._r_flags studyResultType)
print
in interface IStudyPrinter
public 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 Object processItem(IStructureRecord item) throws Exception
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,OutputStream>
Exception
public void footer(OutputStream output, Q query)
footer
in class AbstractXLSXReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.