|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.backend.documentWriter.pdf.PdfSinglePageDocumentWriter
Implementation of a pdf document writer.
Constructor Summary | |
PdfSinglePageDocumentWriter(Configuration cfg,
DocumentWriterOptions options)
Creates a new object. |
Method Summary | |
void |
close()
This method is invoked upon the end of the processing. |
java.lang.String |
getExtension()
Getter for the extension associated with this kind of output. |
int |
getPages()
|
void |
setOutputStreamFactory(OutputStreamFactory writerFactory)
Setter for the output stream. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Setter for a named parameter. |
int |
shipout(Page page)
This is the entry point for the document writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PdfSinglePageDocumentWriter(Configuration cfg, DocumentWriterOptions options)
cfg
- the configurationoptions
- the optionsMethod Detail |
public void close() throws DocumentWriterIOException
DocumentWriter
close
in interface DocumentWriter
DocumentWriterIOException
DocumentWriter.close()
public java.lang.String getExtension()
DocumentWriter
getExtension
in interface DocumentWriter
DocumentWriter.getExtension()
public int getPages()
de.dante.extex.backend.documentWriter.DocumentWriter#getPages()
public void setOutputStreamFactory(OutputStreamFactory writerFactory)
MultipleDocumentStream
setOutputStreamFactory
in interface MultipleDocumentStream
writerFactory
- the output streamMultipleDocumentStream.setOutputStreamFactory(
de.dante.extex.backend.outputStream.OutputStreamFactory)
public void setParameter(java.lang.String name, java.lang.String value)
DocumentWriter
setParameter
in interface DocumentWriter
name
- the name of the parametervalue
- the value of the parameterDocumentWriter.setParameter(
java.lang.String,
java.lang.String)
public int shipout(Page page) throws DocumentWriterException
DocumentWriter
shipout
in interface DocumentWriter
page
- the page to send
DocumentWriterException
de.dante.extex.backend.documentWriter.DocumentWriter#shipout(
de.dante.extex.typesetter.type.NodeList)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |