java.lang.ObjectCollectionBase
com.aspose.cells.NameCollection
public class NameCollection
| Property Getters/Setters Summary | ||
|---|---|---|
int | getCount() | → inherited from com.aspose.cells.CollectionBase
|
Name | get(int index) | |
|
Gets the |
||
Name | get(java.lang.String text) | |
|
Gets the |
||
| Method Summary | ||
|---|---|---|
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
int | add(java.lang.String text) | |
| Defines a new name. | ||
void | clear() | |
| Remove all defined names which are not referenced by the formulas and data source. If the defined name is refered, we only set Name.ReferTo as null and hide them. | ||
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
| Reserved for internal use. | ||
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase
|
void | remove(java.lang.String text) | |
| Remove the name. | ||
void | remove(java.lang.String[] names) | |
| Remove an array of name | ||
void | removeAt(int index) | |
| Remove the name at the specific index. | ||
void | removeDuplicateNames() | |
| Remove the duplicate defined names | ||
void | sort() | |
| Sorts defined names. | ||
| Property Getters/Setters Detail |
|---|
getCount | → inherited from com.aspose.cells.CollectionBase
|
public int getCount() | |
get | |
public Name get(int index) | |
index - The zero based index of the element.get | |
public Name get(java.lang.String text) | |
text - Name text.| Method Detail |
|---|
add | |
public int add(java.lang.String text) | |
text - The text to use as the name.remove | |
public void remove(java.lang.String[] names) | |
names - The names' text.remove | |
public void remove(java.lang.String text) | |
text - The name text.removeAt | |
public void removeAt(int index) | |
index - index of the Name to be removed.clear | |
public void clear() | |
removeDuplicateNames | |
public void removeDuplicateNames() | |
sort | |
public void sort() | |
iterator | → inherited from com.aspose.cells.CollectionBase
|
public java.util.Iterator iterator() | |
contains | → inherited from com.aspose.cells.CollectionBase
|
public boolean contains(java.lang.Object value) | |
add | → inherited from com.aspose.cells.CollectionBase
|
public int add(java.lang.Object value) | |
indexOf | → inherited from com.aspose.cells.CollectionBase
|
public int indexOf(java.lang.Object value) | |