Resolves: fdo#55546 center ellipsis tooltips that don't fit on screen

(cherry picked from commit 912ecaf565e68d2ca3fb9584712313e712749f75)

Conflicts:
	sw/source/uibase/docvw/edtwin2.cxx
	sw/source/uibase/inc/edtwin.hxx

Change-Id: Ic44c9032878892fa33c839e5aaac1996e7bed943
Reviewed-on: https://gerrit.libreoffice.org/11874
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>