From d77f8eef165a7c6fd97cc06dcbc4ead55e7b633c Mon Sep 17 00:00:00 2001 From: Vasily Melenchuk Date: Tue, 26 Jun 2018 11:24:43 +0300 Subject: tdf#86612: statusbar: hide some elements if width is not sufficient new statusbar element property mandatory=true/false to determine if this element can be hidden if total statusbar width is not enough to fit all elements. marked some calc and draw statusbar elements as not mandatory. Change-Id: I20e26d3c4bd865e94ea48632a1e97d55f3fa712f Reviewed-on: https://gerrit.libreoffice.org/56443 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- framework/inc/xml/statusbardocumenthandler.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/inc') diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index bc12c5a724a1..759699aa61ce 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -53,6 +53,7 @@ class FWE_DLLPUBLIC OReadStatusBarDocumentHandler : public OReadStatusBarDocumen SB_ATTRIBUTE_WIDTH, SB_ATTRIBUTE_OFFSET, SB_ATTRIBUTE_HELPURL, + SB_ATTRIBUTE_MANDATORY, SB_XML_ENTRY_COUNT }; -- cgit