Class BorderLineWidth
java.lang.Object
com.independentsoft.office.odf.styles.BorderLineWidth
Represents the widths of borders defined by the FO border properties for borders.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the BorderLineWidth class.BorderLineWidth(Size innerLineWidth, Size distance, Size outerLineWidth)Initializes a new instance of the BorderLineWidth class.BorderLineWidth(String borderLintWidth)Initializes a new instance of the BorderLineWidth class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the distance between the two lines.Gets the width of the inner line.Gets the width of the outer line.voidsetDistance(Size distance)Sets the distance between the two lines.voidsetInnerLineWidth(Size innerLineWidth)Sets the width of the inner line.voidsetOuterLineWidth(Size outerLineWidth)Sets the width of the outer line.toString()Converts the value of the current BorderLineWidth object to its equivalent string representation.
-
Constructor Details
-
BorderLineWidth
public BorderLineWidth()Initializes a new instance of the BorderLineWidth class. -
BorderLineWidth
Initializes a new instance of the BorderLineWidth class.- Parameters:
innerLineWidth- the inner line widthdistance- the distanceouterLineWidth- the outer line width
-
BorderLineWidth
Initializes a new instance of the BorderLineWidth class.- Parameters:
borderLintWidth- the border lint width
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current BorderLineWidth object to its equivalent string representation. -
getInnerLineWidth
Gets the width of the inner line.- Returns:
- the inner line width
-
setInnerLineWidth
Sets the width of the inner line.- Parameters:
innerLineWidth- the new inner line width
-
getDistance
Gets the distance between the two lines.- Returns:
- the distance
-
setDistance
Sets the distance between the two lines.- Parameters:
distance- the new distance
-
getOuterLineWidth
Gets the width of the outer line.- Returns:
- the outer line width
-
setOuterLineWidth
Sets the width of the outer line.- Parameters:
outerLineWidth- the new outer line width
-