com.mobileapps.pcre
Class PCREPDFOutputOptions

java.lang.Object
  |
  +--com.mobileapps.pcre.PCREPDFOutputOptions

public class PCREPDFOutputOptions
extends java.lang.Object


Field Summary
static int PDF_24BitDIB
           
static int PDF_8BitDIB
           
static int PDF_AlwaysEmbedWholeFonts
           
static int PDF_AlwaysEmbedWholeZippedFonts
           
static int PDF_AlwaysTextFlate
           
static int PDF_DefaultEncoding
           
static int PDF_DefaultFlags
           
static int PDF_DefaultFontEmbedding
           
static int PDF_DefaultImageType
           
static int PDF_DefaultTextFlate
           
static int PDF_FlateEncoding
           
static int PDF_JPEG_IJG
           
static int PDF_JPEG_IJL
           
static int PDF_LinearizedFlag
           
static int PDF_LineArt
           
static int PDF_MinimalFontEmbedding
           
static int PDF_MinimalFontEmbeddingPlusZippedSymbols
           
static int PDF_NeverTextFlate
           
static int PDF_NoImage
           
static int PDF_Raw
           
static int PDF_RunLengthEncoding
           
static int PDF_SizeOptimalTextFlate
           
static int PDF_SmartDIB
           
static int PDF_UNDEFINED
           
 
Constructor Summary
PCREPDFOutputOptions()
          Constuct a PCREPDFOutputOptions instance with default attributes.
 
Method Summary
 PDFImage getBlobFieldBitmapImage()
          Get the blob-field bitmap-image attribute.
 PDFImage getBlobFieldOLEImage()
          Get the blob-field ole-image attribute.
 PDFImage getChartImage()
          Get the chart-image attribute.
 int getFlags()
          Getter method for flags member.
 int getFontEmbeddingLevel()
          Return the level of font-embedding.
 PDFImage getOLEImage()
          Get the OLE-image attribute.
 int getTextFlateLevel()
          Return the level of flate-encoding.
 void setBlobFieldBitmapImage(int type, int resolution, int encode8, int encode24)
          Set the blob-field bitmap-image from the the given image-attributes.
 void setBlobFieldBitmapImage(PDFImage image)
          Set the blob-field bitmap-image attribute to the given image.
 void setBlobFieldOLEImage(int type, int resolution, int encode8, int encode24)
          Set the blob-field ole-image from the the given image-attributes.
 void setBlobFieldOLEImage(PDFImage image)
          Set the blob-field bitmap-image attribute to the given image.
 void setChartImage(int type, int resolution, int encode8, int encode24)
          Set the chart-image from the the given image-attributes.
 void setChartImage(PDFImage image)
          Set the chart-image attribute to the given image.
 void setFlags(int newValue)
          Set new value for pdf flags
 void setFontEmbeddingLevel(int level)
          Set the level of font-embedding.
 void setOLEImage(int type, int resolution, int encode8, int encode24)
          Set the ole-image from the the given image-attributes.
 void setOLEImage(PDFImage image)
          Set the ole-image attribute to the given image.
 void setTextFlateLevel(int level)
          Set the level of flate-encoding.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDF_UNDEFINED

public static final int PDF_UNDEFINED

PDF_DefaultFlags

public static final int PDF_DefaultFlags

PDF_LinearizedFlag

public static final int PDF_LinearizedFlag

PDF_DefaultTextFlate

public static final int PDF_DefaultTextFlate

PDF_SizeOptimalTextFlate

public static final int PDF_SizeOptimalTextFlate

PDF_NeverTextFlate

public static final int PDF_NeverTextFlate

PDF_AlwaysTextFlate

public static final int PDF_AlwaysTextFlate

PDF_DefaultFontEmbedding

public static final int PDF_DefaultFontEmbedding

PDF_MinimalFontEmbedding

public static final int PDF_MinimalFontEmbedding

PDF_MinimalFontEmbeddingPlusZippedSymbols

public static final int PDF_MinimalFontEmbeddingPlusZippedSymbols

PDF_AlwaysEmbedWholeFonts

public static final int PDF_AlwaysEmbedWholeFonts

PDF_AlwaysEmbedWholeZippedFonts

public static final int PDF_AlwaysEmbedWholeZippedFonts

PDF_DefaultImageType

public static final int PDF_DefaultImageType

PDF_24BitDIB

public static final int PDF_24BitDIB

PDF_8BitDIB

public static final int PDF_8BitDIB

PDF_SmartDIB

public static final int PDF_SmartDIB

PDF_NoImage

public static final int PDF_NoImage

PDF_LineArt

public static final int PDF_LineArt

PDF_DefaultEncoding

public static final int PDF_DefaultEncoding

PDF_Raw

public static final int PDF_Raw

PDF_RunLengthEncoding

public static final int PDF_RunLengthEncoding

PDF_FlateEncoding

public static final int PDF_FlateEncoding

PDF_JPEG_IJG

public static final int PDF_JPEG_IJG

PDF_JPEG_IJL

public static final int PDF_JPEG_IJL
Constructor Detail

PCREPDFOutputOptions

public PCREPDFOutputOptions()
Constuct a PCREPDFOutputOptions instance with default attributes.
Method Detail

getBlobFieldBitmapImage

public PDFImage getBlobFieldBitmapImage()
Get the blob-field bitmap-image attribute.
Returns:
The current ole-image attribute.

getBlobFieldOLEImage

public PDFImage getBlobFieldOLEImage()
Get the blob-field ole-image attribute.
Returns:
The current ole-image attribute.

getChartImage

public PDFImage getChartImage()
Get the chart-image attribute.
Returns:
The current chart-image attribute.

getFlags

public int getFlags()
Getter method for flags member.
Returns:
int

getFontEmbeddingLevel

public int getFontEmbeddingLevel()
Return the level of font-embedding.
Returns:
Current font-embedding level.

getOLEImage

public PDFImage getOLEImage()
Get the OLE-image attribute.
Returns:
The current ole-image attribute.

getTextFlateLevel

public int getTextFlateLevel()
Return the level of flate-encoding.
Returns:
Current text flate-encoding level.

setBlobFieldBitmapImage

public void setBlobFieldBitmapImage(int type,
                                    int resolution,
                                    int encode8,
                                    int encode24)
Set the blob-field bitmap-image from the the given image-attributes.
Parameters:
type - The type of image.
resolution - The image resolution.
encode8 - 8-bit encoding flags.
encode24 - 24-bit encoding flags.

setBlobFieldBitmapImage

public void setBlobFieldBitmapImage(PDFImage image)
Set the blob-field bitmap-image attribute to the given image.
Parameters:
image - The new blob-field bitmap-image.

setBlobFieldOLEImage

public void setBlobFieldOLEImage(int type,
                                 int resolution,
                                 int encode8,
                                 int encode24)
Set the blob-field ole-image from the the given image-attributes.
Parameters:
type - The type of image.
resolution - The image resolution.
encode8 - 8-bit encoding flags.
encode24 - 24-bit encoding flags.

setBlobFieldOLEImage

public void setBlobFieldOLEImage(PDFImage image)
Set the blob-field bitmap-image attribute to the given image.
Parameters:
image - The new blob-field ole-image.

setChartImage

public void setChartImage(int type,
                          int resolution,
                          int encode8,
                          int encode24)
Set the chart-image from the the given image-attributes.
Parameters:
type - The type of image.
resolution - The image resolution.
encode8 - 8-bit encoding flags.
encode24 - 24-bit encoding flags.

setChartImage

public void setChartImage(PDFImage image)
Set the chart-image attribute to the given image.
Parameters:
image - The new chart-image.

setFlags

public void setFlags(int newValue)
Set new value for pdf flags
Parameters:
newValue - int

setFontEmbeddingLevel

public void setFontEmbeddingLevel(int level)
                           throws PCREClientError
Set the level of font-embedding.
Parameters:
level - The level of font-embedding.

setOLEImage

public void setOLEImage(int type,
                        int resolution,
                        int encode8,
                        int encode24)
Set the ole-image from the the given image-attributes.
Parameters:
type - The type of image.
resolution - The image resolution.
encode8 - 8-bit encoding flags.
encode24 - 24-bit encoding flags.

setOLEImage

public void setOLEImage(PDFImage image)
Set the ole-image attribute to the given image.
Parameters:
image - The new ole-image.

setTextFlateLevel

public void setTextFlateLevel(int level)
                       throws PCREClientError
Set the level of flate-encoding.
Parameters:
level - The level of text fate encoding.