Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sheet ::
interface XSheetCondition
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XSheetCondition
Description provides methods to access the settings of a condition in a conditional format or data validation. See also TableConditionalEntry See also TableValidation

Methods' Summary
getOperator | returns the operator in the condition.
setOperator | sets the operator in the condition.
getFormula1 | returns either the comparison value, which is used in the condition, or the first value if two values are needed for the operator.
setFormula1 | sets either the comparison value, which is used in the condition, or the first value if two values are needed for the operator.
getFormula2 | if two values are needed for the operator, this method returns the second one.
setFormula2 | if two values are needed for the operator, this method sets the second one.
getSourcePosition | returns the position in the document which is used as a base for relative references in the formulas.
setSourcePosition | sets the position in the document which is used as a base for relative references in the formulas.

Methods' Details
getOperator
ConditionOperator getOperator(); |  |
Description returns the operator in the condition.
setOperator
void setOperator( | [in] ConditionOperator | nOperator );
Description sets the operator in the condition.
getFormula1
string getFormula1(); |  |
Description returns either the comparison value, which is used in the condition, or the first value if two values are needed for the operator. Returns a formula, a numeric constant, or a string constant in quotes.
setFormula1
void setFormula1( | [in] string | aFormula1 );
Description sets either the comparison value, which is used in the condition, or the first value if two values are needed for the operator. Parameter aFormula1 a formula, a numeric constant, or a string constant in quotes.
getFormula2
string getFormula2(); |  |
Description if two values are needed for the operator, this method returns the second one. Returns a formula, a numeric constant, or a string constant in quotes.
setFormula2
void setFormula2( | [in] string | aFormula2 );
Description if two values are needed for the operator, this method sets the second one. Parameter aFormula2 a formula, a numeric constant, or a string constant in quotes.
getSourcePosition
::com::sun::star::table::CellAddress getSourcePosition(); |  |
Description returns the position in the document which is used as a base for relative references in the formulas.
setSourcePosition
void setSourcePosition( | [in] ::com::sun::star::table::CellAddress | aSourcePosition );
Description sets the position in the document which is used as a base for relative references in the formulas.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.