|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.pdf.PdfSinglePageDocumentWriter
public class 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. |
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 options| Method Detail |
|---|
public void close()
throws DocumentWriterIOException
close in interface DocumentWriterDocumentWriterIOExceptionDocumentWriter.close()public java.lang.String getExtension()
getExtension in interface DocumentWriterDocumentWriter.getExtension()public void setOutputStreamFactory(OutputStreamFactory writerFactory)
setOutputStreamFactory in interface MultipleDocumentStreamwriterFactory - the output streamMultipleDocumentStream.setOutputStreamFactory(
org.extex.backend.outputStream.OutputStreamFactory)
public void setParameter(java.lang.String name,
java.lang.String value)
setParameter in interface DocumentWritername - the name of the parametervalue - the value of the parameterDocumentWriter.setParameter(
java.lang.String,
java.lang.String)
public int shipout(Page page)
throws DocumentWriterException
If the page is null then no page has to be shipped and 0
has to be returned.
shipout in interface DocumentWriterpage - the page to send
DocumentWriterExceptionDocumentWriter.shipout(
org.extex.typesetter.type.page.Page)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||