Enum Class HorizontalRelation

java.lang.Object
java.lang.Enum<HorizontalRelation>
com.independentsoft.office.odf.styles.HorizontalRelation
All Implemented Interfaces:
Serializable, Comparable<HorizontalRelation>, Constable

public enum HorizontalRelation extends Enum<HorizontalRelation>
Represents the against which the horizontal position of a frame is positioned.
  • Enum Constant Details

    • PAGE

      public static final HorizontalRelation PAGE
      Horizontal position of a frame is positioned relative to a page.
    • PAGE_CONTENT

      public static final HorizontalRelation PAGE_CONTENT
      Horizontal position of a frame is positioned relative to page-content.
    • PAGE_START_MARGIN

      public static final HorizontalRelation PAGE_START_MARGIN
      Horizontal position of a frame is positioned relative to a page start margin.
    • PAGE_END_MARGIN

      public static final HorizontalRelation PAGE_END_MARGIN
      Horizontal position of a frame is positioned relative to a page end margin.
    • FRAME

      public static final HorizontalRelation FRAME
      Horizontal position of a frame is positioned relative to another frame.
    • FRAME_CONTENT

      public static final HorizontalRelation FRAME_CONTENT
      Horizontal position of a frame is positioned relative to frame content.
    • FRAME_START_MARGIN

      public static final HorizontalRelation FRAME_START_MARGIN
      Horizontal position of a frame is positioned relative to a frame start margin.
    • FRAME_END_MARGIN

      public static final HorizontalRelation FRAME_END_MARGIN
      Horizontal position of a frame is positioned relative to a frame end margin.
    • PARAGRAPH

      public static final HorizontalRelation PARAGRAPH
      Horizontal position of a frame is positioned relative to a paragraph.
    • PARAGRAPH_CONTENT

      public static final HorizontalRelation PARAGRAPH_CONTENT
      Horizontal position of a frame is positioned relative to paragraph content.
    • PARAGRAPH_START_MARGIN

      public static final HorizontalRelation PARAGRAPH_START_MARGIN
      Horizontal position of a frame is positioned relative to a paragraph start margin.
    • PARAGRAPH_END_MARGIN

      public static final HorizontalRelation PARAGRAPH_END_MARGIN
      Horizontal position of a frame is positioned relative to a paragraph end margin.
    • CHAR

      public static final HorizontalRelation CHAR
      Horizontal position of a frame is positioned relative to a character.
    • NONE

      public static final HorizontalRelation NONE
      None.
  • Method Details

    • values

      public static HorizontalRelation[] 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 HorizontalRelation 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