Package com.datalogics.PDFL
Class ColorConvertActions
java.lang.Object
com.datalogics.PDFL.ColorConvertActions
Class that defines color conversion actions for an object described by certain attributes.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the ColorConvertActions class. Sets default values to the members. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Gets / sets the action, specifying what to do when an object matches this Settings record.For ink actions (which describe a single colorant, whether used in Separation or DeviceN, and which are not matched using the above matching fields) this describes the colorant of the ink.Gets / sets the intent that overrides the object's original render intent when performing color conversion. UseProfileIntent means that the intent of the object must not be overridden.Gets / sets the target ColorProfile for the conversion. If the output intent is embedded, this should be the output intent profile.Gets / sets the target ColorProfile for the conversion using the profile found at the path provided. If the output intent is embedded, this should be the output intent profile. NOTE: If specifying a path, ConvertProfile must be set to Null_ColorProfile.booleanIf true, embed the target profile. If false, the resulting color is Device, if possible.Gets / sets the ink alias, this only applies to ink actions.Gets / sets the rendering intent of the object. If this is UseProfileIntent this action applies to any intent.booleanMarks this Action to be applied to inks.booleanTrue if this ink is a process ink.doubleGets / sets the maximum font size to match for text objects.doubleGets / sets the minimum font size to match for text objects.A bit field that gets / sets the attributes an element must match to be color converted. The element must match ALL these attributes to be color converted.A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element must match ALL these Color Space attributes to be color converted.A bit field that gets / sets the attributes an element must match to be color converted. The element can match ONE OR MORE of these attributes to be color converted.A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element can match ONE OR MORE Color Space attributes to be color converted.booleanIf true, perform a black-preserving transform when converting.booleanIf true, use a primary-preserving CMYK to CMYK transform.booleanIf true, promote DeviceGray objects to DeviceCMYK with k = 1.0 - gray value.booleanIf true, turn on black point compensation for color conversions.voidsetAction(ColorConvertActionType newAction) voidsetColorantName(String newName) voidsetConvertIntent(RenderIntent newIntent) voidsetConvertProfile(ColorProfile newProfile) voidsetConvertProfilePath(String newProfilePath) voidsetEmbedColorProfile(boolean newEmbedCProfile) voidsetInkAlias(String newAlias) voidsetIntentToMatch(RenderIntent newIntent) voidsetIsInkAction(boolean newIsInkAction) voidsetIsProcessColor(boolean newIsProcessColor) voidsetMaxFontSizeMatch(double newSize) voidsetMinFontSizeMatch(double newSize) voidsetMustMatchAllAttrs(ColorConvertObjAttrs newAttrs) voidsetMustMatchAllCSAttrs(ColorConvertCSpaceType newCSAttrs) voidsetMustMatchAnyAttrs(ColorConvertObjAttrs newAttrs) voidsetMustMatchAnyCSAttrs(ColorConvertCSpaceType newCSAttrs) voidsetPreserveBlack(boolean newPreserveBlack) voidsetPreserveCMYKPrimaries(boolean newPreserveCMYKPrimaries) voidsetPromoteGrayToCMYK(boolean newPromoteGrayToCMYK) voidsetUseBlackPointCompensation(boolean newBlackPointCompensation)
-
Constructor Details
-
ColorConvertActions
public ColorConvertActions()Default constructor for the ColorConvertActions class. Sets default values to the members.
-
-
Method Details
-
delete
public void delete() -
getMustMatchAllAttrs
A bit field that gets / sets the attributes an element must match to be color converted. The element must match ALL these attributes to be color converted. -
setMustMatchAllAttrs
-
getMustMatchAnyAttrs
A bit field that gets / sets the attributes an element must match to be color converted. The element can match ONE OR MORE of these attributes to be color converted. -
setMustMatchAnyAttrs
-
getMustMatchAllCSAttrs
A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element must match ALL these Color Space attributes to be color converted. -
setMustMatchAllCSAttrs
-
getMustMatchAnyCSAttrs
A bit field that gets / sets the Color Space attributes an object must match to be color converted. The element can match ONE OR MORE Color Space attributes to be color converted. -
setMustMatchAnyCSAttrs
-
getIntentToMatch
Gets / sets the rendering intent of the object. If this is UseProfileIntent this action applies to any intent. -
setIntentToMatch
-
getMinFontSizeMatch
public double getMinFontSizeMatch()Gets / sets the minimum font size to match for text objects. -
setMinFontSizeMatch
public void setMinFontSizeMatch(double newSize) -
getMaxFontSizeMatch
public double getMaxFontSizeMatch()Gets / sets the maximum font size to match for text objects. -
setMaxFontSizeMatch
public void setMaxFontSizeMatch(double newSize) -
getAction
Gets / sets the action, specifying what to do when an object matches this Settings record. -
setAction
-
getConvertIntent
Gets / sets the intent that overrides the object's original render intent when performing color conversion. UseProfileIntent means that the intent of the object must not be overridden. -
setConvertIntent
-
getConvertProfile
Gets / sets the target ColorProfile for the conversion. If the output intent is embedded, this should be the output intent profile. -
setConvertProfile
-
getEmbedColorProfile
public boolean getEmbedColorProfile()If true, embed the target profile. If false, the resulting color is Device, if possible. -
setEmbedColorProfile
public void setEmbedColorProfile(boolean newEmbedCProfile) -
getPreserveBlack
public boolean getPreserveBlack()If true, perform a black-preserving transform when converting. -
setPreserveBlack
public void setPreserveBlack(boolean newPreserveBlack) -
getPromoteGrayToCMYK
public boolean getPromoteGrayToCMYK()If true, promote DeviceGray objects to DeviceCMYK with k = 1.0 - gray value. -
setPromoteGrayToCMYK
public void setPromoteGrayToCMYK(boolean newPromoteGrayToCMYK) -
getUseBlackPointCompensation
public boolean getUseBlackPointCompensation()If true, turn on black point compensation for color conversions. -
setUseBlackPointCompensation
public void setUseBlackPointCompensation(boolean newBlackPointCompensation) -
getColorantName
For ink actions (which describe a single colorant, whether used in Separation or DeviceN, and which are not matched using the above matching fields) this describes the colorant of the ink. -
setColorantName
-
getInkAlias
Gets / sets the ink alias, this only applies to ink actions. -
setInkAlias
-
getIsProcessColor
public boolean getIsProcessColor()True if this ink is a process ink. -
setIsProcessColor
public void setIsProcessColor(boolean newIsProcessColor) -
getPreserveCMYKPrimaries
public boolean getPreserveCMYKPrimaries()If true, use a primary-preserving CMYK to CMYK transform. -
setPreserveCMYKPrimaries
public void setPreserveCMYKPrimaries(boolean newPreserveCMYKPrimaries) -
getIsInkAction
public boolean getIsInkAction()Marks this Action to be applied to inks. -
setIsInkAction
public void setIsInkAction(boolean newIsInkAction) -
getConvertProfilePath
Gets / sets the target ColorProfile for the conversion using the profile found at the path provided. If the output intent is embedded, this should be the output intent profile. NOTE: If specifying a path, ConvertProfile must be set to Null_ColorProfile. -
setConvertProfilePath
-