LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides methods to access the settings of a condition in a conditional format or data validation. More...
import"XSheetCondition.idl";
Public Member Functions | |
com::sun::star::sheet::ConditionOperator | getOperator () |
returns the operator in the condition. More... | |
void | setOperator ([in] com::sun::star::sheet::ConditionOperator nOperator) |
sets the operator in the condition. More... | |
string | getFormula1 () |
returns either the comparison value, which is used in the condition, or the first value if two values are needed for the operator. More... | |
void | setFormula1 ([in] string aFormula1) |
sets either the comparison value, which is used in the condition, or the first value if two values are needed for the operator. More... | |
string | getFormula2 () |
if two values are needed for the operator, this method returns the second one. More... | |
void | setFormula2 ([in] string aFormula2) |
if two values are needed for the operator, this method sets the second one. More... | |
com::sun::star::table::CellAddress | getSourcePosition () |
returns the position in the document which is used as a base for relative references in the formulas. More... | |
void | setSourcePosition ([in] com::sun::star::table::CellAddress aSourcePosition) |
sets the position in the document which is used as a base for relative references in the formulas. More... | |
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 access the settings of a condition in a conditional format or data validation.
string getFormula1 | ( | ) |
returns either the comparison value, which is used in the condition, or the first value if two values are needed for the operator.
string getFormula2 | ( | ) |
if two values are needed for the operator, this method returns the second one.
com::sun::star::sheet::ConditionOperator getOperator | ( | ) |
returns the operator in the condition.
com::sun::star::table::CellAddress getSourcePosition | ( | ) |
returns the position in the document which is used as a base for relative references in the formulas.
void setFormula1 | ( | [in] string | aFormula1 | ) |
sets either the comparison value, which is used in the condition, or the first value if two values are needed for the operator.
aFormula1 | a formula, a numeric constant, or a string constant in quotes. |
void setFormula2 | ( | [in] string | aFormula2 | ) |
if two values are needed for the operator, this method sets the second one.
aFormula2 | a formula, a numeric constant, or a string constant in quotes. |
void setOperator | ( | [in] com::sun::star::sheet::ConditionOperator | nOperator | ) |
sets the operator in the condition.
void setSourcePosition | ( | [in] com::sun::star::table::CellAddress | aSourcePosition | ) |
sets the position in the document which is used as a base for relative references in the formulas.