Package com.independentsoft.office.odf
Class LineNumberingSeparator
java.lang.Object
com.independentsoft.office.odf.LineNumberingSeparator
Represents a the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the LineNumberingSeparator class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.intCauses line numbers to be numbered as multiples of a specified increment.getText()Gets the text content.voidsetIncrement(int increment)Causes line numbers to be numbered as multiples of a specified increment.voidSets the text content.toString()Converts the value of the current LineNumberingSeparator object to its equivalent string representation.
-
Constructor Details
-
LineNumberingSeparator
public LineNumberingSeparator()Initializes a new instance of the LineNumberingSeparator class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current LineNumberingSeparator object to its equivalent string representation. -
getText
Gets the text content.- Returns:
- the text
-
setText
Sets the text content.- Parameters:
text- the new text
-
getIncrement
public int getIncrement()Causes line numbers to be numbered as multiples of a specified increment.- Returns:
- the increment
-
setIncrement
public void setIncrement(int increment)Causes line numbers to be numbered as multiples of a specified increment.- Parameters:
increment- the new increment
-