| LibreOffice
    LibreOffice 25.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. | |
| void | setOperator ([in] com::sun::star::sheet::ConditionOperator nOperator) | 
| sets the operator in the condition. | |
| 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. | |
| 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. | |
| string | getFormula2 () | 
| if two values are needed for the operator, this method returns the second one. | |
| void | setFormula2 ([in] string aFormula2) | 
| if two values are needed for the operator, this method sets the second one. | |
| 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 | 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. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
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.