Class TabStop
java.lang.Object
com.independentsoft.office.odf.styles.TabStop
Represents a tab stop.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the delimiter character for tab stops of type char.Gets the color of a leader line.Gets the style for a leader line.Specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.Gets the width of a leader line.Gets the single Unicode character for use as leader text for tab stops.Gets the text style that is applied to a textual leader.Gets the position of a tab stop.getType()Gets the type of a tab stop.voidsetDelimiter(String delimiter)Sets the delimiter character for tab stops of type char.voidsetLeaderLineColor(String leaderLineColor)Sets the color of a leader line.voidsetLeaderLineStyle(LineStyle leaderLineStyle)Sets the style for a leader line.voidsetLeaderLineType(LineType leaderLineType)Specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.voidsetLeaderLineWidth(String leaderLineWidth)Sets the width of a leader line.voidsetLeaderText(String leaderText)Sets the single Unicode character for use as leader text for tab stops.voidsetLeaderTextStyle(String leaderTextStyle)Sets the text style that is applied to a textual leader.voidsetPosition(String position)Sets the position of a tab stop.voidsetType(TabStopType type)Sets the type of a tab stop.toString()Converts the value of the current TabStop object to its equivalent string representation.
-
Constructor Details
-
TabStop
public TabStop()Initializes a new instance of the TabStop class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current TabStop object to its equivalent string representation. -
getPosition
Gets the position of a tab stop.- Returns:
- the position
-
setPosition
Sets the position of a tab stop.- Parameters:
position- the new position
-
getType
Gets the type of a tab stop.- Returns:
- the type
-
setType
Sets the type of a tab stop.- Parameters:
type- the new type
-
getDelimiter
Gets the delimiter character for tab stops of type char.- Returns:
- the delimiter
-
setDelimiter
Sets the delimiter character for tab stops of type char.- Parameters:
delimiter- the new delimiter
-
getLeaderLineType
Specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.- Returns:
- the leader line type
-
setLeaderLineType
Specifies whether a leader line should be drawn, and if so, whether a single or double line will be used.- Parameters:
leaderLineType- the new leader line type
-
getLeaderLineStyle
Gets the style for a leader line.- Returns:
- the leader line style
-
setLeaderLineStyle
Sets the style for a leader line.- Parameters:
leaderLineStyle- the new leader line style
-
getLeaderLineWidth
Gets the width of a leader line.- Returns:
- the leader line width
-
setLeaderLineWidth
Sets the width of a leader line.- Parameters:
leaderLineWidth- the new leader line width
-
getLeaderLineColor
Gets the color of a leader line.- Returns:
- the leader line color
-
setLeaderLineColor
Sets the color of a leader line.- Parameters:
leaderLineColor- the new leader line color
-
getLeaderText
Gets the single Unicode character for use as leader text for tab stops.- Returns:
- the leader text
-
setLeaderText
Sets the single Unicode character for use as leader text for tab stops.- Parameters:
leaderText- the new leader text
-
getLeaderTextStyle
Gets the text style that is applied to a textual leader.- Returns:
- the leader text style
-
setLeaderTextStyle
Sets the text style that is applied to a textual leader.- Parameters:
leaderTextStyle- the new leader text style
-