com.genedavissoftware.printing
Class PlainPrint

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

public class PlainPrint
extends GDSPrinting

Prints the given string with no formatting except line breaks. This class is finished and is not likely to change unless a bug is found.


Field Summary
 
Fields inherited from class com.genedavissoftware.printing.GDSPrinting
BOTTOM, CENTER, LEFT, RIGHT, TOP
 
Constructor Summary
PlainPrint()
           
 
Method Summary
static void main(java.lang.String[] args)
          Testing/example for using PlainPrint
private  java.lang.String prepareString(java.lang.String s)
          Internally all text is converted to HTML
 void print(java.lang.String s)
          Print the string.
 
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

PlainPrint

public PlainPrint()
Method Detail

main

public static void main(java.lang.String[] args)
Testing/example for using PlainPrint


print

public void print(java.lang.String s)
           throws GDSPrintException
Print the string.

Throws:
GDSPrintException

prepareString

private java.lang.String prepareString(java.lang.String s)
Internally all text is converted to HTML







SourceForge.net Logo