Package com.independentsoft.office.odf
Class LabelRange
java.lang.Object
com.independentsoft.office.odf.LabelRange
Represents a label cell range which contain labels, and a data cell range which specifies the rows or columns whose content is referenced by the labels.
There are two types of label ranges:
-Label ranges for columns.
-Label ranges for rows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the cell range address of data.Gets the cell range address for labels.Specifies whether labels label rows or columns.voidsetDataCellRangeAddress(String dataCellRangeAddress)Sets the cell range address of data.voidsetLabelCellRangeAddress(String labelCellRangeAddress)Sets the cell range address for labels.voidsetOrientation(LabelRangeOrientation orientation)Specifies whether labels label rows or columns.toString()Converts the value of the current LabelRange object to its equivalent string representation.
-
Constructor Details
-
LabelRange
public LabelRange()Initializes a new instance of the LabelRange class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current LabelRange object to its equivalent string representation. -
getLabelCellRangeAddress
Gets the cell range address for labels.- Returns:
- the label cell range address
-
setLabelCellRangeAddress
Sets the cell range address for labels.- Parameters:
labelCellRangeAddress- the new label cell range address
-
getDataCellRangeAddress
Gets the cell range address of data.- Returns:
- the data cell range address
-
setDataCellRangeAddress
Sets the cell range address of data.- Parameters:
dataCellRangeAddress- the new data cell range address
-
getOrientation
Specifies whether labels label rows or columns.- Returns:
- the orientation
-
setOrientation
Specifies whether labels label rows or columns.- Parameters:
orientation- the new orientation
-