Enum Class StyleId

java.lang.Object
java.lang.Enum<StyleId>
at.bestsolution.uia.StyleId
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<StyleId>, Constable

public enum StyleId extends Enum<StyleId> implements INativeEnum
This set of constants describes the named constants used to identify the visual style of text in a document.
  • Enum Constant Details

    • BulletedList

      public static final StyleId BulletedList
      A list with bulleted items. Supported starting with Windows 8.1.
    • Custom

      public static final StyleId Custom
      A custom style.
    • Emphasis

      public static final StyleId Emphasis
      Text that is emphasized.
    • Heading1

      public static final StyleId Heading1
      A first level heading.
    • Heading2

      public static final StyleId Heading2
      A second level heading.
    • Heading3

      public static final StyleId Heading3
      A thrid level heading.
    • Heading4

      public static final StyleId Heading4
      A fourth level heading.
    • Heading5

      public static final StyleId Heading5
      A fifth level heading.
    • Heading6

      public static final StyleId Heading6
      A sixth level heading.
    • Heading7

      public static final StyleId Heading7
      A seventh level heading.
    • Heading8

      public static final StyleId Heading8
      A eighth level heading.
    • Heading9

      public static final StyleId Heading9
      A nineth level heading.
    • Normal

      public static final StyleId Normal
      Normal style.
    • NumberedList

      public static final StyleId NumberedList
      A list with numbered items. Supported starting with Windows 8.1.
    • Quote

      public static final StyleId Quote
      A quotation.
    • Subtitle

      public static final StyleId Subtitle
      A subtitle.
    • Title

      public static final StyleId Title
      A title.
  • Method Details

    • values

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

      public static StyleId valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<StyleId> fromNativeValue(int nativeValue)