Enum Configuration.CssPropertySupport

java.lang.Object
java.lang.Enum<Configuration.CssPropertySupport>
com.realobjects.pdfreactor.Configuration.CssPropertySupport
All Implemented Interfaces:
Serializable, Comparable<Configuration.CssPropertySupport>, java.lang.constant.Constable
Enclosing class:
Configuration

public static enum Configuration.CssPropertySupport extends Enum<Configuration.CssPropertySupport>

An enum containing CSS property support mode constants.

  • Enum Constant Details

    • ALL

      public static final Configuration.CssPropertySupport ALL

      Indicates that all style declarations are considered valid disregarding the possibility of improper rendering.

      Valid values may be overwritten by invalid style declarations.

    • HTML

      public static final Configuration.CssPropertySupport HTML

      Indicates that all values set in style declarations will be validated as long as PDFreactor supports the corresponding property.

      Style declarations for properties not supported by PDFreactor are taken as invalid.

    • HTML_THIRD_PARTY

      public static final Configuration.CssPropertySupport HTML_THIRD_PARTY

      Indicates that all values set in style declarations will be validated as long as PDFreactor supports the corresponding property.

      Style declarations for properties not supported by PDFreactor but by third party products are taken as valid.

    • HTML_THIRD_PARTY_LENIENT

      public static final Configuration.CssPropertySupport HTML_THIRD_PARTY_LENIENT

      Indicates that all values set in style declarations will be taken as valid if a third party product supports the corresponding property.

      Style declarations for properties not supported by any third party product but supported by PDFreactor will be validated.

  • Method Details

    • values

      public static Configuration.CssPropertySupport[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Configuration.CssPropertySupport valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null