source/text/sbasic/shared/03/sf_datasheet.xhp | 14 ++++++++++++++ source/text/sbasic/shared/03/sf_dialog.xhp | 14 ++++++++++++++ source/text/sbasic/shared/03/sf_document.xhp | 14 ++++++++++++++ 3 files changed, 42 insertions(+)
New commits: commit 3b5c723a963f4b3abc8c965be047c845944ddca5 Author: Jean-Pierre Ledure <[email protected]> AuthorDate: Tue Jan 6 17:47:19 2026 +0100 Commit: Jean-Pierre Ledure <[email protected]> CommitDate: Wed Jan 7 11:22:47 2026 +0100 ScriptForge - new IsAlive property In the context of events programming, it is crucial to know if the target of a scripted action has not been closed inadvertendly by the user. Testing the IsAlive property helps to prevent useless processing interrupts. Applicable on sf_document + subclasses (sf_calc, ...) sf_dialog sf_datasheet object instances. Valid in LO >= 25.2 Change-Id: I0c162b2d54cacdc3bf7c8abc75e57eb3b2945b5e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/196623 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <[email protected]> diff --git a/source/text/sbasic/shared/03/sf_datasheet.xhp b/source/text/sbasic/shared/03/sf_datasheet.xhp index 8f8bd55f94..7c83053021 100644 --- a/source/text/sbasic/shared/03/sf_datasheet.xhp +++ b/source/text/sbasic/shared/03/sf_datasheet.xhp @@ -160,6 +160,20 @@ <paragraph id="par_id831633021749007" role="tablecontent">Specifies a filter to be applied to the datasheet expressed as the <literal>WHERE</literal> clause of a SQL query without the <literal>WHERE</literal> keyword. If an empty string is specified then the active <literal>Filter</literal> is removed.</paragraph> </tablecell> </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id721767717388934" role="tablecontent" xml-lang="en-US" localize="false">IsAlive</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id62176771736067" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351767717345667" role="tablecontent" xml-lang="en-US" localize="false">Boolean</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id711767717327534" role="tablecontent" xml-lang="en-US"><literal>True</literal> when the datasheet has not been closed (f.i. by a user action).</paragraph> + </tablecell> + </tablerow> <tablerow> <tablecell> <paragraph id="par_id951600788076443" role="tablecontent" localize="false">LastRow</paragraph> diff --git a/source/text/sbasic/shared/03/sf_dialog.xhp b/source/text/sbasic/shared/03/sf_dialog.xhp index 9c3ffc0514..5e81e3ac7e 100644 --- a/source/text/sbasic/shared/03/sf_dialog.xhp +++ b/source/text/sbasic/shared/03/sf_dialog.xhp @@ -204,6 +204,20 @@ <paragraph id="par_id111583839767195" role="tablecontent">Specify the height of the dialog box.</paragraph> </tablecell> </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id721767717388934" role="tablecontent" xml-lang="en-US" localize="false">IsAlive</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id62176771736067" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351767717345667" role="tablecontent" xml-lang="en-US" localize="false">Boolean</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id711767717327534" role="tablecontent" xml-lang="en-US"><literal>True</literal> when the dialog box has not been closed (f.i. by a user action).</paragraph> + </tablecell> + </tablerow> <tablerow> <tablecell> <paragraph id="par_id83158383992056" role="tablecontent" localize="false">Modal</paragraph> diff --git a/source/text/sbasic/shared/03/sf_document.xhp b/source/text/sbasic/shared/03/sf_document.xhp index a581834d90..3af85db6a5 100644 --- a/source/text/sbasic/shared/03/sf_document.xhp +++ b/source/text/sbasic/shared/03/sf_document.xhp @@ -242,6 +242,20 @@ <paragraph id="par_id941589194571922" role="tablecontent" xml-lang="en-US">Returns a list with the import filter names applicable to the current document as a zero-based array of strings. Filters used for both import/export are also returned.</paragraph> </tablecell> </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id721767717388934" role="tablecontent" xml-lang="en-US" localize="false">IsAlive</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id62176771736067" role="tablecontent" xml-lang="en-US">Yes</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id351767717345667" role="tablecontent" xml-lang="en-US" localize="false">Boolean</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id711767717327534" role="tablecontent" xml-lang="en-US"><literal>True</literal> when the document has not been closed (f.i. by a user action).</paragraph> + </tablecell> + </tablerow> <tablerow> <tablecell> <paragraph id="par_id241589194633142" role="tablecontent" xml-lang="en-US" localize="false">
