Class ColorConvertActions

java.lang.Object
com.datalogics.PDFL.ColorConvertActions

public class ColorConvertActions extends Object
Class that defines color conversion actions for an object described by certain attributes.
  • Constructor Details

    • ColorConvertActions

      public ColorConvertActions()
      Default constructor for the ColorConvertActions class. Sets default values to the members.
  • Method Details

    • delete

      public void delete()
    • getMustMatchAllAttrs

      public ColorConvertObjAttrs 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

      public void setMustMatchAllAttrs(ColorConvertObjAttrs newAttrs)
    • getMustMatchAnyAttrs

      public ColorConvertObjAttrs 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

      public void setMustMatchAnyAttrs(ColorConvertObjAttrs newAttrs)
    • getMustMatchAllCSAttrs

      public ColorConvertCSpaceType 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

      public void setMustMatchAllCSAttrs(ColorConvertCSpaceType newCSAttrs)
    • getMustMatchAnyCSAttrs

      public ColorConvertCSpaceType 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

      public void setMustMatchAnyCSAttrs(ColorConvertCSpaceType newCSAttrs)
    • getIntentToMatch

      public RenderIntent getIntentToMatch()
      Gets / sets the rendering intent of the object. If this is UseProfileIntent this action applies to any intent.
    • setIntentToMatch

      public void setIntentToMatch(RenderIntent newIntent)
    • 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

      public ColorConvertActionType getAction()
      Gets / sets the action, specifying what to do when an object matches this Settings record.
    • setAction

      public void setAction(ColorConvertActionType newAction)
    • getConvertIntent

      public RenderIntent 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

      public void setConvertIntent(RenderIntent newIntent)
    • getConvertProfile

      public ColorProfile getConvertProfile()
      Gets / sets the target ColorProfile for the conversion. If the output intent is embedded, this should be the output intent profile.
    • setConvertProfile

      public void setConvertProfile(ColorProfile newProfile)
    • 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

      public String 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

      public void setColorantName(String newName)
    • getInkAlias

      public String getInkAlias()
      Gets / sets the ink alias, this only applies to ink actions.
    • setInkAlias

      public void setInkAlias(String newAlias)
    • 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

      public String 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

      public void setConvertProfilePath(String newProfilePath)