Q
- public class PDFReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends QueryHeaderReporter<Q,com.lowagie.text.Document>
Modifier and Type | Field and Description |
---|---|
protected CompoundImageTools |
depict |
protected com.lowagie.text.Font |
font |
protected MoleculeReader |
reader |
protected com.lowagie.text.pdf.PdfPTable |
table |
groupProperties, header, includeMol, template
Constructor and Description |
---|
PDFReporter() |
PDFReporter(Template template) |
PDFReporter(Template template,
Profile groupedPrperties) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
footer(com.lowagie.text.Document output,
Q query) |
String |
getFileExtension() |
void |
header(com.lowagie.text.Document output,
Q query) |
void |
open() |
Object |
processItem(IStructureRecord item) |
void |
setOutput(com.lowagie.text.Document pdfDoc) |
protected void |
writeHeader(com.lowagie.text.Document writer) |
protected void |
writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
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, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected MoleculeReader reader
protected CompoundImageTools depict
protected com.lowagie.text.pdf.PdfPTable table
protected com.lowagie.text.Font font
public PDFReporter()
public PDFReporter(Template template)
public void setOutput(com.lowagie.text.Document pdfDoc) throws Exception
setOutput
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
setOutput
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
Exception
protected void writeHeader(com.lowagie.text.Document writer) throws IOException
IOException
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
close
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
close
in class net.idea.modbcum.p.AbstractDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
Exception
public void header(com.lowagie.text.Document output, Q query)
header
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
public void footer(com.lowagie.text.Document output, Q query)
footer
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
public Object processItem(IStructureRecord item) throws net.idea.modbcum.i.exceptions.AmbitException
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
net.idea.modbcum.i.exceptions.AmbitException
protected void writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
net.idea.modbcum.i.exceptions.DbAmbitException
public String getFileExtension()
getFileExtension
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
getFileExtension
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,com.lowagie.text.Document>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.