fot2pdf (w) C. Drescher

com.pdftech.fot2pdf.pdf
Class PDFparameters

java.lang.Object
  |
  +--com.pdftech.fot2pdf.pdf.PDFparameters

public class PDFparameters
extends java.lang.Object

This class holds the parameters used for the process of PDF-generation.

See Also:
PDFoutfile

Constructor Summary
PDFparameters()
           
 
Method Summary
static boolean getBookletFlag()
          Returns true if booklet mode is enabled
static boolean getDeflate()
          Returns true if compression is on
static boolean getDeflateText()
          Returns true if compression for text is on
static boolean getFontEmbeddingFlag()
          Returns true if embedding of fonts is enabled
static java.lang.String getLibraryVersion()
          Returns library version
static void setBookletFlag(boolean inflag)
          Sets booklet mode flag on/off
static void setDeflate(boolean inflag)
          Sets compression for any object on/off
static void setDeflateText(boolean inflag)
          Sets compression for page-content (texts and graphics operators) on/off
static void setFontEmbeddingFlag(boolean inflag)
          Sets font embedding flag on/off
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFparameters

public PDFparameters()
Method Detail

getLibraryVersion

public static java.lang.String getLibraryVersion()
Returns library version

setDeflate

public static void setDeflate(boolean inflag)
Sets compression for any object on/off
Parameters:
inflag - compression on/off

getDeflate

public static boolean getDeflate()
Returns true if compression is on

setDeflateText

public static void setDeflateText(boolean inflag)
Sets compression for page-content (texts and graphics operators) on/off
Parameters:
inflag - compression on/off

getDeflateText

public static boolean getDeflateText()
Returns true if compression for text is on

setFontEmbeddingFlag

public static void setFontEmbeddingFlag(boolean inflag)
Sets font embedding flag on/off
Parameters:
inflag - embedding on/off

getFontEmbeddingFlag

public static boolean getFontEmbeddingFlag()
Returns true if embedding of fonts is enabled

setBookletFlag

public static void setBookletFlag(boolean inflag)
Sets booklet mode flag on/off
Parameters:
inflag - booklet mode on/off

getBookletFlag

public static boolean getBookletFlag()
Returns true if booklet mode is enabled

fot2pdf (w) C. Drescher