com.openpcl.pclrenderimage.render
Class PriPclPage

java.lang.Object
  extended by com.openpcl.pclrenderimage.render.PriPclPage

public class PriPclPage
extends Object

For those PCL bytes that have form feeds, this holds the byte segments of each PCL page. Each page in a PCL file has: 1. The page number 2. The byte[] array for only this page 3. A refrence to a PriRenderCounters object

Author:
DocMagic, Document Systems Inc, Howard. Rendering code written May 16 2006 to July 20 2006.

Field Summary
protected  int mPageNumber
          The page number
protected  int mPaperSizeIntFromPcl
          The paper size int from the Pcl bytes "ESC & L # A".
protected  byte[] mPclBytes
          For tree nodes that are pages in a PCL file
protected  PriRenderCounters mPriRenderCounters
          Count of number drawn items to the image: 1.
 
Constructor Summary
PriPclPage()
          Constructor
 
Method Summary
 int getPageNumber()
           
 int getPaperSizeIntFromPcl()
           
 byte[] getPclBytes()
           
 PriRenderCounters getPriRenderCounters()
           
 void setPageNumber(int pPageNumber)
           
 void setPaperSizeIntFromPcl(int pPaperSizeIntFromPcl)
           
 void setPclBytes(byte[] pPclBytes)
           
 void setPriRenderCounters(PriRenderCounters pPriRenderCounters)
           
 void setToInitialValues()
          Set to initial values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mPageNumber

protected int mPageNumber
The page number


mPaperSizeIntFromPcl

protected int mPaperSizeIntFromPcl
The paper size int from the Pcl bytes "ESC & L # A". Each page can have its own paper size. If there is a paper size command in the Pcl, then it applies to all pages after it until another paper size command is found. If all paper size commands have been removed from the Pcl by the Pcl Dieter/Scurbber, then the default is Legal as per the public static final int sDefaultPaperSize in the class PriPageSettings.


mPriRenderCounters

protected PriRenderCounters mPriRenderCounters
Count of number drawn items to the image: 1. Chars, 2. Soft font chars, 3. Rectangles, 4. Raster rows, 5. Signature blocks, 6. Macros executed


mPclBytes

protected byte[] mPclBytes
For tree nodes that are pages in a PCL file

Constructor Detail

PriPclPage

public PriPclPage()
Constructor

Method Detail

setToInitialValues

public void setToInitialValues()
Set to initial values


getPageNumber

public int getPageNumber()

getPaperSizeIntFromPcl

public int getPaperSizeIntFromPcl()

getPriRenderCounters

public PriRenderCounters getPriRenderCounters()

getPclBytes

public byte[] getPclBytes()

setPageNumber

public void setPageNumber(int pPageNumber)

setPaperSizeIntFromPcl

public void setPaperSizeIntFromPcl(int pPaperSizeIntFromPcl)

setPclBytes

public void setPclBytes(byte[] pPclBytes)

setPriRenderCounters

public void setPriRenderCounters(PriRenderCounters pPriRenderCounters)


OpenPCL http://www.openpcl.com