LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides methods to add and remove conditions of a conditional format. More...
import"XSheetConditionalEntries.idl";
Public Member Functions | |
void | addNew ([in] sequence< com::sun::star::beans::PropertyValue > aConditionalEntry) |
adds a conditional entry to the format. More... | |
void | removeByIndex ([in] long nIndex) |
removes a conditional entry from the format. More... | |
void | clear () |
clears all condition entries. More... | |
Public Member Functions inherited from XIndexAccess | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides methods to add and remove conditions of a conditional format.
void addNew | ( | [in] sequence< com::sun::star::beans::PropertyValue > | aConditionalEntry | ) |
adds a conditional entry to the format.
Supported properties are:
contains the operation to perform for this condition.
string
Formula1 contains the value or formula for the operation.
string
Formula2 contains the second value or formula for the operation (used with ConditionOperator::BETWEEN or ConditionOperator::NOT_BETWEEN operations).
contains the base address for relative cell references in formulas.
string
StyleName void clear | ( | ) |
clears all condition entries.
void removeByIndex | ( | [in] long | nIndex | ) |
removes a conditional entry from the format.