diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-04-27 11:45:04 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-05-03 14:52:07 +0200 |
commit | d0cacf09a1105d89bf3df84b18623d790e3aeb82 (patch) | |
tree | ced947b6ce149c089696674ae83da7021fcf3147 /offapi | |
parent | 5801b887629dbd784116ec6878b61bb99e991647 (diff) |
tdf#99708 Save formula bar height to document
Save the current state of the Calc formula bar to the document.
Number of visible lines is saved into the document settings
and restored when loading that document.
Also adds a UNO property, so that the formula bar height can be
changed via UNO.
Change-Id: Ifef0c9e42cb4f7465516629d2c22974367e0eb33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133499
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl b/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl index 9dc5b853f61d..69da69013db0 100644 --- a/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl +++ b/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl @@ -152,6 +152,13 @@ published service SpreadsheetViewSettings com::sun::star::view::DocumentZoomType::BY_VALUE. */ [property] short ZoomValue; + + /** Number of lines shown in the Formula bar + Default is 1, maximum value is 25. + + @since LibreOffice 7.4 + */ + [optional, property] short FormulaBarHeight; }; |