dori.jasper.engine.export
Class JRPrintServiceExporter

java.lang.Object
  extended bydori.jasper.engine.JRAbstractExporter
      extended bydori.jasper.engine.export.JRPrintServiceExporter
All Implemented Interfaces:
JRExporter, java.awt.print.Printable

public class JRPrintServiceExporter
extends JRAbstractExporter
implements java.awt.print.Printable


Field Summary
protected  boolean displayPageDialog
           
protected  boolean displayPrintDialog
           
protected  JRGraphics2DExporter exporter
           
protected  javax.print.attribute.PrintRequestAttributeSet printRequestAttributeSet
           
protected  javax.print.attribute.PrintServiceAttributeSet printServiceAttributeSet
           
protected  JRExportProgressMonitor progressMonitor
           
 
Fields inherited from class dori.jasper.engine.JRAbstractExporter
endPageIndex, jasperPrint, parameters, startPageIndex
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
JRPrintServiceExporter()
           
 
Method Summary
 void exportReport()
           
 int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex)
           
 
Methods inherited from class dori.jasper.engine.JRAbstractExporter
getParameter, getParameters, setInput, setOutput, setPageRange, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exporter

protected JRGraphics2DExporter exporter

progressMonitor

protected JRExportProgressMonitor progressMonitor

printRequestAttributeSet

protected javax.print.attribute.PrintRequestAttributeSet printRequestAttributeSet

printServiceAttributeSet

protected javax.print.attribute.PrintServiceAttributeSet printServiceAttributeSet

displayPageDialog

protected boolean displayPageDialog

displayPrintDialog

protected boolean displayPrintDialog
Constructor Detail

JRPrintServiceExporter

public JRPrintServiceExporter()
Method Detail

exportReport

public void exportReport()
                  throws JRException
Specified by:
exportReport in interface JRExporter
Specified by:
exportReport in class JRAbstractExporter
Throws:
JRException

print

public int print(java.awt.Graphics graphics,
                 java.awt.print.PageFormat pageFormat,
                 int pageIndex)
          throws java.awt.print.PrinterException
Specified by:
print in interface java.awt.print.Printable
Throws:
java.awt.print.PrinterException


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.