| 
    LibreOffice
    
   LibreOffice 24.2 SDK API Reference 
   | 
 
allows to call a solver for a model that is defined by spreadsheet cells. More...
import"XSolver.idl";
  
 Public Member Functions | |
| void | solve () | 
| executes the calculation and tries to find a solution.  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... | |
Public Attributes | |
| XSpreadsheetDocument | Document | 
| The spreadsheet document that contains the cells.  More... | |
| com::sun::star::table::CellAddress | Objective | 
| The address of the cell that contains the objective value.  More... | |
| sequence< com::sun::star::table::CellAddress > | Variables | 
| The addresses of the cells that contain the variables.  More... | |
| sequence< SolverConstraint > | Constraints | 
| The constraints of the model.  More... | |
| boolean | Maximize | 
| selects if the objective value is maximized or minimized.  More... | |
| boolean | Success | 
contains TRUE if a solution was found.  More... | |
| double | ResultValue | 
| contains the objective value for the solution, if a solution was found.  More... | |
| sequence< double > | Solution | 
| contains the solution's value for each of the variables, if a solution was found.  More... | |
allows to call a solver for a model that is defined by spreadsheet cells.
| void solve | ( | ) | 
executes the calculation and tries to find a solution.
      
  | 
  attribute | 
The constraints of the model.
      
  | 
  attribute | 
The spreadsheet document that contains the cells.
      
  | 
  attribute | 
selects if the objective value is maximized or minimized.
      
  | 
  attribute | 
The address of the cell that contains the objective value.
      
  | 
  attributereadonly | 
contains the objective value for the solution, if a solution was found.
      
  | 
  attributereadonly | 
contains the solution's value for each of the variables, if a solution was found.
      
  | 
  attributereadonly | 
contains TRUE if a solution was found. 
      
  | 
  attribute | 
The addresses of the cells that contain the variables.
 1.8.14