com.jrefinery.workbook
Class Margins

java.lang.Object
  |
  +--com.jrefinery.workbook.Margins

public class Margins
extends java.lang.Object

Printing margins for a worksheet.


Field Summary
protected  double bottom_pts
          Bottom margin.
protected  int bottom_units
           
protected  double footer_pts
          Footer margin.
protected  int footer_units
           
protected  double header_pts
          Header margin.
protected  int header_units
           
protected  double left_pts
          Left margin.
protected  int left_units
           
protected  double right_pts
          Right margin.
protected  int right_units
           
protected  double top_pts
          Top margin.
protected  int top_units
           
 
Constructor Summary
Margins()
          Default constructor.
 
Method Summary
 void writeMargins(java.io.PrintStream out, java.lang.String indent)
          Writes the margins element to the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top_pts

protected double top_pts
Top margin.

top_units

protected int top_units

bottom_pts

protected double bottom_pts
Bottom margin.

bottom_units

protected int bottom_units

left_pts

protected double left_pts
Left margin.

left_units

protected int left_units

right_pts

protected double right_pts
Right margin.

right_units

protected int right_units

header_pts

protected double header_pts
Header margin.

header_units

protected int header_units

footer_pts

protected double footer_pts
Footer margin.

footer_units

protected int footer_units
Constructor Detail

Margins

public Margins()
Default constructor.
Method Detail

writeMargins

public void writeMargins(java.io.PrintStream out,
                         java.lang.String indent)
Writes the margins element to the stream.
Parameters:
out - The output stream.
indent - The indentation.