com.aspose.slides
Class TextRuler

java.lang.Object
  extended by com.aspose.slides.TextRuler

public class TextRuler
extends java.lang.Object

Represents a horizontal ruler for text boxes.


Nested Class Summary
 class TextRuler.TextLevel
          Represents default offsets for a paragraph.
 class TextRuler.TextLevels
          Represents a collection of a TextLevel objects.
 
Method Summary
 short getDefaultTabInterval()
          Returns the distance between two implicit tabulations.
 TextRuler.TextLevels getLevels()
          Returns a collection of paragraph level information.
 Tabs getTabs()
          Returns the list of tabulation defined for a ruler.
 void setDefaultTabInterval(short value)
          Sets the distance between two implicit tabulations.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLevels

public TextRuler.TextLevels getLevels()
Returns a collection of paragraph level information. Used for mapping paragraph's depth to offset values for bullet and text.

Returns:
a collection of paragraph level information. See TextRuler.TextLevels.

getTabs

public Tabs getTabs()
Returns the list of tabulation defined for a ruler.

Returns:
the list of tabulation. See Tabs.

getDefaultTabInterval

public short getDefaultTabInterval()
Returns the distance between two implicit tabulations.

Returns:
Returns the distance between two implicit tabulations.

setDefaultTabInterval

public void setDefaultTabInterval(short value)
Sets the distance between two implicit tabulations.

Parameters:
value -