Class TextDirection

  • java.lang.Object
        • com.groupdocs.editor.options.TextDirection

  • public final class TextDirection

    Represents 3 possible variants how to treat text direction in the plain text documents

    • Nested Class Summary

      • Nested classes/interfaces inherited from class,,,
    • Field Summary

      Modifier and Type Field and Description
      static int Auto
      Auto-detect direction.
      static int LeftToRight
      Left-to-Right direction, usual text, default value.
      static int RightToLeft
      Right-to-Left direction
      • Fields inherited from class

    • Method Summary

      Modifier and Type Method and Description
      static int[] getTextDirection() 
      • Methods inherited from class

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • Auto

        public static final int Auto

        Auto-detect direction. When this option is selected and text contains characters belonging to RTL scripts, the document direction will be set automatically to RTL.

        See Also:
        Constant Field Values
      • LeftToRight

        public static final int LeftToRight

        Left-to-Right direction, usual text, default value.

        See Also:
        Constant Field Values
      • RightToLeft

        public static final int RightToLeft

        Right-to-Left direction

        See Also:
        Constant Field Values
    • Method Detail

      • getTextDirection

        public static int[] getTextDirection()