From ccf60dc3e77793c242a6188fe18e4faa7f2aa469 Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Mon, 20 Jun 2022 22:49:48 +0200 Subject: Document new properties of the SF_UI service This patch documents the following new properties in the UI service of the ScripfForge library: Height, Width, X and Y Change-Id: Ie15844c0688c9dbf22146a2e2ea5a8690b1c005a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136169 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure Reviewed-by: Alain Romedenne --- source/text/sbasic/shared/03/sf_ui.xhp | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'source') diff --git a/source/text/sbasic/shared/03/sf_ui.xhp b/source/text/sbasic/shared/03/sf_ui.xhp index c01122a6e2..313577f485 100644 --- a/source/text/sbasic/shared/03/sf_ui.xhp +++ b/source/text/sbasic/shared/03/sf_ui.xhp @@ -137,6 +137,62 @@ The list of the currently open documents. Special windows are ignored. This list consists of a zero-based one dimensional array either of filenames (in SF_FileSystem.FileNaming notation) or of window titles for unsaved documents. + + + Height + + + Yes + + + Integer + + + Returns the height of the active window in pixels. + + + + + Width + + + Yes + + + Integer + + + Returns the width of the active window in pixels. + + + + + X + + + Yes + + + Integer + + + Returns the X coordinate of the active window, which is the distance to the left edge of the screen in pixels. + + + + + Y + + + Yes + + + Integer + + + Returns the Y coordinate of the active window, which is the distance to the top edge of the screen in pixels. This value does not consider window decorations added by your operating system, so even when the window is maximized this value may not be zero. + +
-- cgit