LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
ModelConstraint Struct Reference

This is used to specify a constraint for a solver model. More...

import "ModelConstraint.idl";

Public Attributes

any Left
 The range of cells in the left side of the constraint Must be either: 1) com::sun::star::table::CellRangeAddress 2) A valid string representing a cell range.
 
SolverConstraintOperator Operator
 Constraint operator.
 
any Right
 The range of cells or numeric value in the right side of the constraint Must be either: 1) com::sun::star::table::CellRangeAddress 2) A valid string representing a cell range 3) A numeric value.
 

Detailed Description

This is used to specify a constraint for a solver model.

In this struct, both sides of the model constraint can be expressed as cell ranges. Note that com::sun::star::sheet::SolverConstraint only supports single cell addresses

Since
LibreOffice 25.2

Member Data Documentation

◆ Left

any Left

The range of cells in the left side of the constraint Must be either: 1) com::sun::star::table::CellRangeAddress 2) A valid string representing a cell range.

◆ Operator

Constraint operator.

◆ Right

any Right

The range of cells or numeric value in the right side of the constraint Must be either: 1) com::sun::star::table::CellRangeAddress 2) A valid string representing a cell range 3) A numeric value.


The documentation for this struct was generated from the following file: