org.jopendocument.print
Class ODTPrinter

java.lang.Object
  extended by org.jopendocument.print.ODTPrinter
All Implemented Interfaces:
Printable
Direct Known Subclasses:
ODTPrinterXML

public class ODTPrinter
extends Object
implements Printable


Field Summary
protected  ODTRenderer renderer
           
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
ODTPrinter(OpenDocument doc)
           
 
Method Summary
 void print()
           
 int print(Graphics g, PageFormat pageFormat, int pageIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

protected ODTRenderer renderer
Constructor Detail

ODTPrinter

public ODTPrinter(OpenDocument doc)
Method Detail

print

public void print()

print

public int print(Graphics g,
                 PageFormat pageFormat,
                 int pageIndex)
          throws PrinterException
Specified by:
print in interface Printable
Throws:
PrinterException


Copyright © 2010 jOpenDocument All Rights Reserved.