diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-08-12 20:12:20 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-09-27 11:06:57 +0200 |
commit | 911a57c4d6fc2cbe9d4350189e06a8b733e6f7d3 (patch) | |
tree | c15c051a97c8acb9a5c3db42a48ea4e4e2fb0f8a /offapi/UnoApi_offapi.mk | |
parent | 646479d23436ef3493049f25384bc30fd515d978 (diff) |
tdf#160062 Uno API to set solver settings at the sheet level
This patch creates the API necessary to create solver models via macros, so that the model is visible in the Solver dialog, and the model is saved to the file.
This patch also includes a comprehensive unit test in scsolverobj.cxx.
Visit the bug ticket for a file with some examples of such macros.
Change-Id: Ib9cfbbdaab8243cd6b901a2bcd99e46c27be97e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171769
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'offapi/UnoApi_offapi.mk')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 959f805d3894..6ff00937bd81 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -1245,6 +1245,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\ SheetRangesQuery \ SheetSortDescriptor \ SheetSortDescriptor2 \ + SolverSettings \ Spreadsheet \ SpreadsheetDocument \ SpreadsheetDocumentSettings \ @@ -3457,6 +3458,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ LocalizedName \ MemberResult \ MemberResultFlags \ + ModelConstraint \ MoveDirection \ NamedRangeFlag \ NameToken \ @@ -3469,6 +3471,8 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ SingleReference \ SolverConstraint \ SolverConstraintOperator \ + SolverStatus \ + SolverObjectiveType \ SpreadsheetViewObjectsMode \ StatusBarFunction \ SubTotalColumn \ @@ -3590,6 +3594,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ XSheetPastable \ XSolver \ XSolverDescription \ + XSolverSettings \ XSpreadsheet \ XSpreadsheetDocument \ XSpreadsheetView \ |