com.java4less.textprinter
Class TextProperties

java.lang.Object
  |
  +--com.java4less.textprinter.TextProperties

public class TextProperties
extends java.lang.Object

this class stores information about a chunck of text to be printed.


Field Summary
 boolean bold
          is it bold?
 java.lang.String characterSet
          character set to use
 boolean condensed
          use condensed charaters
 boolean doubleStrike
          use double strike?
 boolean doubleWide
          use double wide?
 java.lang.String fontName
          name of the font to use
 boolean italic
          is it italic?
 double pitch
          Size of the characters 10, 12 or 15 (characters/inch).
 boolean proportional
          proportional printing.
 boolean subscript
          use subscript
 boolean superscript
          use superscript
 boolean underlined
          is it underlined?
 
Constructor Summary
TextProperties()
           
 
Method Summary
 TextProperties getClone()
          create a clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

italic

public boolean italic
is it italic?


bold

public boolean bold
is it bold?


underlined

public boolean underlined
is it underlined?


subscript

public boolean subscript
use subscript


superscript

public boolean superscript
use superscript


doubleStrike

public boolean doubleStrike
use double strike?


doubleWide

public boolean doubleWide
use double wide?


fontName

public java.lang.String fontName
name of the font to use


pitch

public double pitch
Size of the characters 10, 12 or 15 (characters/inch). This has an effect on the number of columns the page. Default value is -1 will use the printer's default value. You can also let TexPrinter calculate the pitch based on the desired number of colums and the page width.


proportional

public boolean proportional
proportional printing. If false all characters will have the same fixed width.


condensed

public boolean condensed
use condensed charaters


characterSet

public java.lang.String characterSet
character set to use

Constructor Detail

TextProperties

public TextProperties()
Method Detail

getClone

public TextProperties getClone()
create a clone