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, setHeaderaddChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerprotected 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.CDKExceptionpublic PDFWriter(OutputStream outputStream, ICompoundImageTools imgTools) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic void setWriter(Writer arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic void setWriter(OutputStream out) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic void write(org.openscience.cdk.interfaces.IChemObject object)
throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic boolean accepts(Class classObject)
public int getSupportedDataFeatures()
public void close()
throws IOException
IOExceptionpublic org.openscience.cdk.io.formats.IResourceFormat getFormat()
protected void writeHeader()
throws IOException
writeHeader in class FilesWithHeaderWriterIOExceptionpublic 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.