org.pz.platypus.plugin.pdf
Class Column

java.lang.Object
  extended by org.pz.platypus.plugin.pdf.Column

public class Column
extends java.lang.Object

Handles the low-level implementation details of columns. Implemented in iText via ColumnText()

Author:
alb

Field Summary
private  float gutter
          width of the gutter to the *right* of the column, in points
private  float height
          height of the column in points
private  float vertSkip
          space to skip before column begins.
private  float width
          width of the column in points
 
Constructor Summary
Column(float colWidth, float colGutterWidth, float colVertSkip, PdfData pdf)
          constructor for when we need to specify column size exactly
Column(PdfData pdf)
          The basic constructor.
 
Method Summary
 float getGutter()
           
 float getHeight()
           
 float getVertSkip()
           
 float getWidth()
           
 void setHeight(float newHeight)
           
 void setVertSkip(float newVertSkip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

private float height
height of the column in points


vertSkip

private float vertSkip
space to skip before column begins. Space is measured in points from the top margin down.


width

private float width
width of the column in points


gutter

private float gutter
width of the gutter to the *right* of the column, in points

Constructor Detail

Column

public Column(PdfData pdf)
The basic constructor. Creates one column for the page that matches the area on the page within the margins. Gutter width is 0.

Parameters:
pdf - PDF document data

Column

public Column(float colWidth,
              float colGutterWidth,
              float colVertSkip,
              PdfData pdf)
constructor for when we need to specify column size exactly

Parameters:
colWidth - new column width (in points)
colGutterWidth - new gutter width (in points) for right gutter
colVertSkip - new distance to skip before column (in points)
pdf - PDF file data
Method Detail

getHeight

public float getHeight()

setHeight

public void setHeight(float newHeight)

getWidth

public float getWidth()

getGutter

public float getGutter()

getVertSkip

public float getVertSkip()

setVertSkip

public void setVertSkip(float newVertSkip)


Copyright © 2008-10 Pacific Data Works LLC