From 4aca927040f67c2b68f412234e37ec740346a005 Mon Sep 17 00:00:00 2001 From: Tamas Bunth Date: Wed, 26 Jul 2017 13:03:03 +0200 Subject: oovbaapi: screenUpdating, do not adjust height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not adjust row height if screenUpdating false, because it consumes significant time. Also change IsAdjustHeightEnabled boolean to a counter so it can be used several times in an overlapping manner too. Change-Id: Ie5c894481f3c1b4e07175164aac8303e504779ce Reviewed-on: https://gerrit.libreoffice.org/40443 Tested-by: Jenkins Reviewed-by: Tamás Bunth --- offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl b/offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl index 7487f6a5bb03..5f8d4fa89858 100644 --- a/offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl +++ b/offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl @@ -179,6 +179,10 @@ published service SpreadsheetDocumentSettings /** specifies whether the automatic adjustment of the row height is enabled. +

This boolean is actually a counter internally, of the number of times + something has locked the height, so setting it to false will only perform one + unlock operation, and might leave it still locked

+ @since OOo 3.0 */ [optional, property] boolean IsAdjustHeightEnabled; -- cgit