|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.ConditionalFormattings
public class ConditionalFormattings
Represents all conditional formattings in the worksheet.
| Method Summary | |
|---|---|
int |
add()
Adds an empty FormatConditions object to the ConditionalFormattings. |
int |
add(CellArea cellArea,
int type,
int operator,
java.lang.String formula1,
java.lang.String formula2)
Adds an FormatConditions object to the ConditionalFormattings. |
void |
delete(int index)
Removes FormatConditions object by index. |
FormatConditions |
get(int index)
Gets FormatConditions object by index. |
int |
size()
Gets number of the FormatConditions objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int add()
CellsException - if conditional formattings has been removed.
public int add(CellArea cellArea,
int type,
int operator,
java.lang.String formula1,
java.lang.String formula2)
cellArea - conditional formatted cell range.type - type of conditinal formatting.operator - comparison operator.formula1 - the value or expression associated with conditinal formatting.formula2 - the value or expression associated with conditinal formatting.
CellsException - if conditional formattings has been removed.FormatConditions.addFormatCondition(CellArea, int, int, String, String)public void delete(int index)
index - the index of the FormatConditions object to removed.
CellsException - if conditional formattings has been removed.
java.lang.IllegalArgumentException - if index is out of range.public FormatConditions get(int index)
index - index of the FormatConditions object to return.
CellsException - if conditional formattings has been removed.
java.lang.IllegalArgumentException - if index is out of range.public int size()
CellsException - if conditional formattings has been removed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||