org.pz.platypus.plugin.html
Class HtmlColumn

java.lang.Object
  extended by org.pz.platypus.plugin.html.HtmlColumn

public class HtmlColumn
extends java.lang.Object

Handles the low-level implementation details of columns.

Author:
atul

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
HtmlColumn(float colWidth, float colGutterWidth, float colVertSkip, HtmlData pdf)
          constructor for when we need to specify column size exactly
HtmlColumn(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

HtmlColumn

public HtmlColumn(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

HtmlColumn

public HtmlColumn(float colWidth,
                  float colGutterWidth,
                  float colVertSkip,
                  HtmlData 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