java.lang.Object
com.aspose.cells.UnionRange
public class UnionRange
| Property Getters/Setters Summary | ||
|---|---|---|
int | getCellCount() | |
| Gets all cell count in the range. | ||
int | getColumnCount() | |
| Gets the count of rows in the range. | ||
int | getFirstColumn() | |
| Gets the index of the first column of the range. | ||
int | getFirstRow() | |
| Gets the index of the first row of the range. | ||
boolean | hasRange() | |
| Indicates whether this has range. | ||
com.aspose.cells.Hyperlink[] | getHyperlinks() | |
| Gets all hyperlink in the range. | ||
java.lang.String | getName() | |
void | setName(java.lang.String value) | |
| Gets or sets the name of the range. | ||
int | getRangeCount() | |
| Gets the count of the ranges. | ||
com.aspose.cells.Range[] | getRanges() | |
| Gets all union ranges. | ||
java.lang.String | getRefersTo() | |
| Gets the range's refers to. | ||
int | getRowCount() | |
| Gets the count of rows in the range. | ||
java.lang.Object | getValue() | |
void | setValue(java.lang.Object value) | |
| Gets and sets the values of the range. | ||
| Method Summary | ||
|---|---|---|
void | applyStyle(Style style, StyleFlag flag) | |
| Applies formats for a whole range. | ||
void | copy(UnionRange range, PasteOptions options) | |
| Copying the range with paste special options. | ||
UnionRange | intersect(com.aspose.cells.Range[] ranges) | |
| Intersects another reange. | ||
UnionRange | intersect(UnionRange unionRange) | |
| Intersects another reange. | ||
UnionRange | intersect(java.lang.String range) | |
| Intersects another reange. | ||
java.util.Iterator | iterator() | |
| Gets the enumerator for cells in this Range. | ||
void | merge() | |
| Combines a range of cells into a single cell. | ||
void | putValue(java.lang.String stringValue, boolean isConverted, boolean setStyle) | |
| Puts a value into the range, if appropriate the value will be converted to other data type and cell's number format will be reset. | ||
void | setOutlineBorders(int borderStyle, com.aspose.cells.Color borderColor) | |
| Sets the outline borders around a range of cells with same border style and color. | ||
void | setOutlineBorders(int[] borderStyles, com.aspose.cells.Color[] borderColors) | |
| Sets out line borders around a range of cells. | ||
void | setStyle(Style style) | |
| Sets the style of the range. | ||
UnionRange | union(com.aspose.cells.Range[] ranges) | |
| Union the ranges. | ||
UnionRange | union(UnionRange unionRange) | |
| Union another range. | ||
UnionRange | union(java.lang.String range) | |
| Union another range. | ||
void | unMerge() | |
| Unmerges merged cells of this range. | ||
| Property Getters/Setters Detail |
|---|
getFirstRow | |
public int getFirstRow() | |
getFirstColumn | |
public int getFirstColumn() | |
getRowCount | |
public int getRowCount() | |
getColumnCount | |
public int getColumnCount() | |
getValue/setValue | |
public java.lang.Object getValue() / public void setValue(java.lang.Object value) | |
getName/setName | |
public java.lang.String getName() / public void setName(java.lang.String value) | |
range.Name = "Sheet1!MyRange";
getRefersTo | |
public java.lang.String getRefersTo() | |
hasRange | |
public boolean hasRange() | |
getHyperlinks | |
public com.aspose.cells.Hyperlink[] getHyperlinks() | |
getCellCount | |
public int getCellCount() | |
getRangeCount | |
public int getRangeCount() | |
getRanges | |
public com.aspose.cells.Range[] getRanges() | |
| Method Detail |
|---|
merge | |
public void merge() | |
unMerge | |
public void unMerge() | |
putValue | |
public void putValue(java.lang.String stringValue, boolean isConverted, boolean setStyle) | |
stringValue - Input valueisConverted - True: converted to other data type if appropriate.setStyle - True: set the number format to cell's style when converting to other data typesetStyle | |
public void setStyle(Style style) | |
style - The Style object.applyStyle | |
public void applyStyle(Style style, StyleFlag flag) | |
style - The style object which will be applied.flag - Flags which indicates applied formatting properties.copy | |
public void copy(UnionRange range, PasteOptions options) throws java.lang.Exception | |
range - The soure range.options - The paste special options.iterator | |
public java.util.Iterator iterator() | |
setOutlineBorders | |
public void setOutlineBorders(int[] borderStyles, com.aspose.cells.Color[] borderColors) | |
borderStyles - Border styles.borderColors - Border colors.setOutlineBorders | |
public void setOutlineBorders(int borderStyle, com.aspose.cells.Color borderColor) | |
borderStyle - A borderColor - Border color.intersect | |
public UnionRange intersect(java.lang.String range) | |
range - The range.intersect | |
public UnionRange intersect(UnionRange unionRange) | |
unionRange - The range.intersect | |
public UnionRange intersect(com.aspose.cells.Range[] ranges) | |
ranges - The range.union | |
public UnionRange union(java.lang.String range) | |
range - The range.union | |
public UnionRange union(UnionRange unionRange) | |
unionRange - The range.union | |
public UnionRange union(com.aspose.cells.Range[] ranges) | |
ranges - The ranges.