public class PDFWriter extends FilesWithHeaderWriter
Modifier and Type | Field and Description |
---|---|
protected Dimension |
cell |
protected ICompoundImageTools |
imageTools |
protected com.lowagie.text.Document |
pdfDoc |
protected com.lowagie.text.pdf.PdfWriter |
pdfWriter |
protected com.lowagie.text.pdf.PdfPTable |
table |
addSMILEScolumn, defaultSMILESHeader, header, logger, smilesIndex, writingStarted
Constructor and Description |
---|
PDFWriter(OutputStream outputStream) |
PDFWriter(OutputStream outputStream,
ICompoundImageTools imgTools) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class classObject) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
int |
getSupportedDataFeatures() |
void |
setWriter(OutputStream out) |
void |
setWriter(Writer arg0) |
void |
write(org.openscience.cdk.interfaces.IChemObject object) |
protected void |
writeHeader() |
void |
writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
writeSetOfMolecules(org.openscience.cdk.interfaces.IAtomContainerSet som) |
getHeader, isAddSMILEScolumn, setAddSMILEScolumn, setHeader, setHeader
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
protected com.lowagie.text.Document pdfDoc
protected com.lowagie.text.pdf.PdfWriter pdfWriter
protected com.lowagie.text.pdf.PdfPTable table
protected ICompoundImageTools imageTools
protected Dimension cell
public PDFWriter(OutputStream outputStream) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public PDFWriter(OutputStream outputStream, ICompoundImageTools imgTools) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(Writer arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(OutputStream out) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void write(org.openscience.cdk.interfaces.IChemObject object) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public boolean accepts(Class classObject)
public int getSupportedDataFeatures()
public void close() throws IOException
IOException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
protected void writeHeader() throws IOException
writeHeader
in class FilesWithHeaderWriter
IOException
public void writeSetOfMolecules(org.openscience.cdk.interfaces.IAtomContainerSet som)
public void writeMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.