|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.dvi.DviDocumentWriter
public class DviDocumentWriter
This is a implementation of a dvi document writer.
| Constructor Summary | |
|---|---|
DviDocumentWriter(Configuration theCfg,
DocumentWriterOptions options)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
close()
This method is invoked upon the end of the processing. |
java.lang.String |
getExtension()
Getter for the extension associated with dvi output. |
int |
getPages()
Get the number of written pages until now. |
void |
setOutputStream(java.io.OutputStream writer)
Setter for the output stream. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Setter of an 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 DviDocumentWriter(Configuration theCfg,
DocumentWriterOptions options)
theCfg - configuration of ExTeXoptions - options for DviDocumentWriter| Method Detail |
|---|
public void close()
throws GeneralException,
java.io.IOException
close in interface DocumentWriterGeneralException - if an error occurs
java.io.IOException - if an error occurspublic java.lang.String getExtension()
getExtension in interface DocumentWriterpublic int getPages()
public void setOutputStream(java.io.OutputStream writer)
shipout(Page) informs the
caller.
setOutputStream in interface SingleDocumentStreamwriter - an OutputStream value
public void setParameter(java.lang.String name,
java.lang.String value)
setParameter in interface DocumentWritername - a String valuevalue - a String value
public int shipout(Page page)
throws GeneralException,
java.io.IOException
shipout in interface DocumentWriterpage - the Page to send
GeneralException - if an error occurs
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||