|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.backend.documentWriter.pdf.PdfDocumentWriter
Implementation of a pdf document writer.
Field Summary | |
static int |
HEIGHT_A4_BP
height A4 in bp. |
static int |
WIDTH_A4_BP
width A4 in bp. |
Constructor Summary | |
PdfDocumentWriter(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 |
setOutputStream(java.io.OutputStream outStream)
Setter for the output stream. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Setter for a named parameter. |
int |
shipout(Page p)
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 |
Field Detail |
public static final int WIDTH_A4_BP
public static final int HEIGHT_A4_BP
Constructor Detail |
public PdfDocumentWriter(Configuration cfg, DocumentWriterOptions options)
cfg
- the configurationoptions
- the optionsMethod Detail |
public void close() throws DocumentWriterException
DocumentWriter
close
in interface DocumentWriter
DocumentWriterException
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 setOutputStream(java.io.OutputStream outStream)
SingleDocumentStream
setOutputStream
in interface SingleDocumentStream
outStream
- the output streamde.dante.extex.backend.documentWriter.DocumentWriter#setOutputStream(java.io.OutputStream)
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 p) throws DocumentWriterException
DocumentWriter
shipout
in interface DocumentWriter
p
- 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 |