at.knowcenter.wag.egov.egiz.pdf
Class PositioningInstruction

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.pdf.PositioningInstruction

public class PositioningInstruction
extends Object

The positioning instruction holds information of where to place the signature block.

This instruction is given to the PDF writer in order to place the signature.

Author:
wprinz

Field Summary
protected  boolean make_new_page
          Tells, if a new plain page should be appended.
protected  int page
          The number of the page on which the signature block is to be placed.
protected  float x
          The x coordinate where the upper left corner of the signature block should be placed.
protected  float y
          The y coordinate where the upper left corner of the signature block should be placed.
 
Constructor Summary
PositioningInstruction(boolean make_new_page, int page, float x, float y)
           
 
Method Summary
 int getPage()
          Returns the page on which the signature is to be printed.
 float getX()
          Returns the x coordinate where the upper left corner of the signature block should be placed.
 float getY()
          Returns the y coordinate where the upper left corner of the signature block should be placed.
 boolean isMakeNewPage()
          Tells, if a new plain page should be appended to the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

make_new_page

protected boolean make_new_page
Tells, if a new plain page should be appended.

This command is executed before the signature block is positioned according to page, x and y.


page

protected int page
The number of the page on which the signature block is to be placed. If specified to make a new page, the number of this newly created page can be used here as well.


x

protected float x
The x coordinate where the upper left corner of the signature block should be placed.


y

protected float y
The y coordinate where the upper left corner of the signature block should be placed.

Constructor Detail

PositioningInstruction

public PositioningInstruction(boolean make_new_page,
                              int page,
                              float x,
                              float y)
Parameters:
make_new_page - Tells, if a new plain page should be appended. This command is executed before the signature block is positioned according to page, x and y.
page - The number of the page on which the signature block is to be placed. If specified to make a new page, the number of this newly created page can be used here as well.
x - The x coordinate where the upper left corner of the signature block should be placed.
y - The y coordinate where the upper left corner of the signature block should be placed.
Method Detail

isMakeNewPage

public boolean isMakeNewPage()
Tells, if a new plain page should be appended to the document.

Returns:
Returns true, if a new plain page should be appended.

getPage

public int getPage()
Returns the page on which the signature is to be printed.

Returns:
Returns the page on which the signature is to be printed.

getX

public float getX()
Returns the x coordinate where the upper left corner of the signature block should be placed.

Returns:
Returns the x coordinate where the upper left corner of the signature block should be placed.

getY

public float getY()
Returns the y coordinate where the upper left corner of the signature block should be placed.

Returns:
Returns the y coordinate where the upper left corner of the signature block should be placed.


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.