Package com.independentsoft.office.odf.styles

# Enum Class LayoutGridMode

java.lang.Object
java.lang.Enum<LayoutGridMode>
com.independentsoft.office.odf.styles.LayoutGridMode

All Implemented Interfaces:
  `Serializable`, `Comparable<LayoutGridMode>`, `Constable`

public enum LayoutGridMode extends Enum<LayoutGridMode>
Enables Asian layout grids.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BOTH`
  Like lines, except that the lines are divided into rectangular layout cells.
  `LINE`
  Enables a line layout, this is, the page is divided in a fixed number of lines.
  `NONE`
  None.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LayoutGridMode`
  `valueOf​(String name)`
  Returns the enum constant of this class with the specified name.
  `static LayoutGridMode[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### LINE

    public static final LayoutGridMode LINE
    Enables a line layout, this is, the page is divided in a fixed number of lines. The exact number of lines depends on the other layout grid formatting properties. There is no space between the layout grid lines. The layout grid itself is centered on the page.

  - ### BOTH

    public static final LayoutGridMode BOTH
    Like lines, except that the lines are divided into rectangular layout cells. Within a layout cell, no more than one Asian [UNICODE] character is displayed. An Asian character that does not fit into a single layout cell is displayed centered into as many layout cells as required. Non Asian text is centered within as many cells as required.

  - ### NONE

    public static final LayoutGridMode NONE
    None.

- ## Method Details

  - ### values

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