com.rie.rieps.engine
Class Document

java.lang.Object
  extended by com.rie.rieps.engine.Document

public class Document
extends java.lang.Object

A Document can generate the output postscript page per page. The methode open must be called before creating page. The include of PSFontFile and PSIncludeFile must be done before the call of open().

Author:
Yves Piel

Method Summary
 void close()
           
 Page createPage()
           
 Job getOwnerJob()
           
 boolean isClosed()
           
 boolean isOpenned()
           
 void open()
           
 void setDeviceParameter(DeviceParameter param, java.lang.Object value)
           
 void showPage(Page page)
          Send a complete page to the outputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOwnerJob

public Job getOwnerJob()

open

public void open()
          throws RiepsException,
                 java.io.IOException
Throws:
RiepsException
java.io.IOException

isOpenned

public boolean isOpenned()

close

public void close()
           throws RiepsException,
                  java.io.IOException
Throws:
RiepsException
java.io.IOException

isClosed

public boolean isClosed()

createPage

public Page createPage()

setDeviceParameter

public void setDeviceParameter(DeviceParameter param,
                               java.lang.Object value)

showPage

public void showPage(Page page)
              throws java.io.IOException,
                     RiepsException
Send a complete page to the outputStream.

Throws:
java.io.IOException
RiepsException