planetj.helpers
Class PDFFileDescriptor

java.lang.Object
  |
  +--planetj.helpers.FileDescriptor
        |
        +--planetj.helpers.PDFFileDescriptor

public class PDFFileDescriptor
extends FileDescriptor

PDFFileDescriptor is to only be created via planetj.helpers.PDFHelper.newPDFFileDescriptor(); This descriptor will hold attributes about a PDF file. Creation date: (1/22/2002 5:00:09 PM)


Field Summary
 
Fields inherited from class planetj.helpers.FileDescriptor
COLUMN_HEADINGS_EXTERNAL, COLUMN_HEADINGS_INTERNAL, COLUMN_HEADINGS_NONE, OUTPUT_ROWS_ALL, OUTPUT_ROWS_SCREEN, OUTPUT_ROWS_SELECTED
 
Method Summary
 OutputStream getOutputStream()
          Gets the OutputStream written to by PDFWriter Creation date: (1/22/2002 6:40:00 PM)
 double[] getWidthPercentages()
          Sets the width percentages to use.
 boolean isAppendToFile()
          You can never append to a PDF file Creation date: (2/6/2002 12:39:15 PM)
 void setOutputStream(OutputStream newOutputStream)
          Sets the OutputStream used by the PDFWriter Creation date: (1/22/2002 6:40:00 PM)
 void setWidthPercentages(double[] widthPercentages)
          Sets the width percentages to use.
 
Methods inherited from class planetj.helpers.FileDescriptor
getColumnHeadingsDisplayType, getDisplayColumns, getFileName, getOutputRowType, getPassword, getSystemName, getUserId, setAppendToFile, setColumnHeadingsDisplayType, setDisplayColumns, setFileName, setOutputRowType, setPassword, setSystemName, setUserId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOutputStream

public OutputStream getOutputStream()
Gets the OutputStream written to by PDFWriter Creation date: (1/22/2002 6:40:00 PM)

Returns:
java.io.OutputStream

getWidthPercentages

public double[] getWidthPercentages()
Sets the width percentages to use.


isAppendToFile

public boolean isAppendToFile()
You can never append to a PDF file Creation date: (2/6/2002 12:39:15 PM)

Overrides:
isAppendToFile in class FileDescriptor
Returns:
boolean true will append to existing file, false will start with a fresh file.

setOutputStream

public void setOutputStream(OutputStream newOutputStream)
Sets the OutputStream used by the PDFWriter Creation date: (1/22/2002 6:40:00 PM)

Parameters:
newOutputStream - java.io.OutputStream

setWidthPercentages

public void setWidthPercentages(double[] widthPercentages)
Sets the width percentages to use.