ColorConvertParams Class Documentation

class ColorConvertParams

Namespace:com::datalogics::PDFL

Detailed Description

Holds parameters to be passed to a color convert method.This includes the actions to take in case of a match.Each object is compared against the selection criteria for each of the actions, in order, until a matching action is found.

Referenced by

Constructor & Destructor Documentation

ColorConvertParams

ColorConvertParams(java.util.List< ColorConvertActions > convActions)

Parameters

convActions: java.util.List< ColorConvertActions >

The list of ColorConvertActions to apply during color conversion.

Constructs a ColorConvertParams with the specified color conversion actions. Initializes AllowLossyCompression to false, all default color profiles to null, and all render intents to Perceptual.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getAllowLossyCompression

boolean getAllowLossyCompression()

Returns:

boolean

If true, DCT or JPX encoding will be used resulting in a smaller PDF.If false, FlateDecoding will be used instead.

getDefaultCMYK

ColorProfile getDefaultCMYK()

Returns:

ColorProfile

The default CMYK ColorProfile used when a document object has no embedded CMYK profile. Initially set to the null color profile.

getDefaultGray

ColorProfile getDefaultGray()

Returns:

ColorProfile

The default Gray ColorProfile used when a document object has no embedded Gray profile. Initially set to the null color profile.

getDefaultRGB

ColorProfile getDefaultRGB()

Returns:

ColorProfile

The default RGB ColorProfile used when a document object has no embedded RGB profile. Initially set to the null color profile.

getIntentCMYK

RenderIntent getIntentCMYK()

Returns:

RenderIntent

The RenderIntent used for CMYK color conversion. Initially set to Perceptual.

getIntentGray

RenderIntent getIntentGray()

Returns:

RenderIntent

The RenderIntent used for Gray color conversion. Initially set to Perceptual.

getIntentRGB

RenderIntent getIntentRGB()

Returns:

RenderIntent

The RenderIntent used for RGB color conversion. Initially set to Perceptual.

setAllowLossyCompression

void setAllowLossyCompression(boolean newAllowLossyCompression)

Parameters

newAllowLossyCompression: boolean

Returns:

void

setDefaultCMYK

void setDefaultCMYK(ColorProfile defaultCMYK)

Parameters

defaultCMYK: ColorProfile

Returns:

void

setDefaultGray

void setDefaultGray(ColorProfile defaultGray)

Parameters

defaultGray: ColorProfile

Returns:

void

setDefaultRGB

void setDefaultRGB(ColorProfile defaultRGB)

Parameters

defaultRGB: ColorProfile

Returns:

void

setIntentCMYK

void setIntentCMYK(RenderIntent intentCMYK)

Parameters

intentCMYK: RenderIntent

Returns:

void

setIntentGray

void setIntentGray(RenderIntent intentGray)

Parameters

intentGray: RenderIntent

Returns:

void

setIntentRGB

void setIntentRGB(RenderIntent intentRGB)

Parameters

intentRGB: RenderIntent

Returns:

void