com.aspose.words

Class DocumentDirection

  • java.lang.Object
    • com.aspose.words.DocumentDirection
public class DocumentDirection 
extends java.lang.Object

Utility class containing constants. Allows to specify the direction to flow the text in a document.

Field Summary
static final intLEFT_TO_RIGHT = 0
Left to right direction.
static final intRIGHT_TO_LEFT = 1
Right to left direction.
static final intAUTO = 2
Auto-detect direction.
 

    • Field Detail

      • LEFT_TO_RIGHT = 0

        public static final int LEFT_TO_RIGHT
        Left to right direction.
      • RIGHT_TO_LEFT = 1

        public static final int RIGHT_TO_LEFT
        Right to left direction.
      • AUTO = 2

        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.