com.genedavissoftware.printing
Class HtmlPrint

java.lang.Object
  extended bycom.genedavissoftware.printing.GDSPrinting
      extended bycom.genedavissoftware.printing.HtmlPrint

public class HtmlPrint
extends GDSPrinting

Pass an html document in as a string, and print the results.

This class is finished, but will not have enlarging and reducing capabilities in the preview, because there are a couple of fixes needed in the PrintPreview class that need to be done.

My suggestion is to deactivate or remove the "smaller" and "bigger" buttons when using this to print, until the PrintPreview is finished.


Field Summary
 
Fields inherited from class com.genedavissoftware.printing.GDSPrinting
BOTTOM, CENTER, LEFT, RIGHT, TOP
 
Constructor Summary
HtmlPrint()
           
 
Method Summary
 void print(java.lang.String html)
          Pass an html document in as a string, and print the results.
 
Methods inherited from class com.genedavissoftware.printing.GDSPrinting
setFooter, setFooterAlignment, setHeader, setHeaderAlignment, setInitialPageNumber, setPageNumberHorizontalAlignment, setPageNumberVerticalAlignment, showFooter, showHeader, showPageNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlPrint

public HtmlPrint()
Method Detail

print

public void print(java.lang.String html)
           throws GDSPrintException
Pass an html document in as a string, and print the results.

Throws:
GDSPrintException






SourceForge.net Logo