Permit scrollable AWT tab pages a la scrolled Dialog
commit941b5a0bb597285737b4796106974468ac357b17
authorThorsten Behrens <Thorsten.Behrens@CIB.de>
Wed, 11 Nov 2020 15:17:44 +0000 (11 16:17 +0100)
committerThorsten Behrens <Thorsten.Behrens@CIB.de>
Thu, 12 Nov 2020 07:41:22 +0000 (12 08:41 +0100)
tree2cedd15bb7d3bfd0d2d5db1dba880e9faf30dc40
parentd6d7beae483ec58e45c0f38fd66dc6c24e996275
Permit scrollable AWT tab pages a la scrolled Dialog

UNO dialogs since LibreOffice 4.0 permitted setting HScroll /
VScroll properties to enable scrolling for too large a content.
Conceptually clone this code over to TabPage as well, and register
necessary UNO properties in the toolkit UNO wrappers.

Add missing API documentation also to UnoControlDialogModel,
plus the new properties to the UnoControlTabPageModel

Layout code really doesn't like any extra controls it didn't create
itself - so create scrollbars only on demand.

Change-Id: I67894597ac104320e67ad7989ebf9a7955d99103
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105573
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
include/vcl/tabpage.hxx
offapi/com/sun/star/awt/UnoControlDialogModel.idl
offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
toolkit/source/awt/vclxcontainer.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/controls/tabpagemodel.cxx
vcl/source/window/tabpage.cxx