diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2022-06-20 22:49:48 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2022-07-01 11:13:24 +0200 |
commit | c04d0ce4415971c333a4ecfa072d5f1ce0de13ce (patch) | |
tree | 3dba7fc4573726f13d518a0274b6b83aef2f4a0d /source | |
parent | b59ed4a21d9251f8b3def8a42f6d7981aefe7631 (diff) |
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 <jp@ledure.be>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
(cherry picked from commit ccf60dc3e77793c242a6188fe18e4faa7f2aa469)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136699
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'source')
-rw-r--r-- | source/text/sbasic/shared/03/sf_ui.xhp | 56 |
1 files changed, 56 insertions, 0 deletions
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 @@ <paragraph id="par_id153587913266349" role="tablecontent" xml-lang="en-US">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.</paragraph> </tablecell> </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id161587913266563" role="tablecontent" localize="false">Height</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id651587913266945" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id421587914989732" role="tablecontent" localize="false">Integer</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351587913266211" role="tablecontent" xml-lang="en-US">Returns the height of the active window in pixels.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id161587913266574" role="tablecontent" localize="false">Width</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id651587913266645" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id421587914989935" role="tablecontent" localize="false">Integer</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351587913266036" role="tablecontent" xml-lang="en-US">Returns the width of the active window in pixels.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id161587913266096" role="tablecontent" localize="false">X</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id651587913266312" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id421587914989789" role="tablecontent" localize="false">Integer</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351587913266296" role="tablecontent" xml-lang="en-US">Returns the X coordinate of the active window, which is the distance to the left edge of the screen in pixels.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id161587913266323" role="tablecontent" localize="false">Y</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id651587913266670" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id421587914989902" role="tablecontent" localize="false">Integer</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351587913266216" role="tablecontent" xml-lang="en-US">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.</paragraph> + </tablecell> + </tablerow> </table> <section id="Constants"> |