[Libreoffice-commits] help.git: source/text

Alain Romedenne (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 8 15:41:15 UTC 2021


 source/text/sbasic/shared/03/sf_base.xhp |   33 ++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)

New commits:
commit 9088fa2a2fefecaa450cc2b9767a8d958b9e4350
Author:     Alain Romedenne <alain.romedenne at libreoffice.org>
AuthorDate: Tue Sep 7 17:06:27 2021 +0200
Commit:     Rafael Lima <rafael.palma.lima at gmail.com>
CommitDate: Wed Sep 8 17:40:55 2021 +0200

    SF_Base.CloseFormDocument() new 7.3 method
    
    Change-Id: Id58053f554c27819aa073ea8312ece8fb32710a0
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121762
    Tested-by: Jenkins
    Reviewed-by: Rafael Lima <rafael.palma.lima at gmail.com>

diff --git a/source/text/sbasic/shared/03/sf_base.xhp b/source/text/sbasic/shared/03/sf_base.xhp
index 96a4b6b14..64d680c00 100644
--- a/source/text/sbasic/shared/03/sf_base.xhp
+++ b/source/text/sbasic/shared/03/sf_base.xhp
@@ -83,24 +83,51 @@
    <tablerow>
        <tablecell>
            <paragraph id="par_id981619034669263" role="tablecontent" localize="false">
+             <link href="text/sbasic/shared/03/sf_base.xhp#CloseFormDocument" name="CloseFormDocument method">CloseFormDocument</link><br/>
              <link href="text/sbasic/shared/03/sf_base.xhp#FormDocuments" name="FormDocuments method">FormDocuments</link><br/>
-             <link href="text/sbasic/shared/03/sf_base.xhp#Forms" name="Forms method">Forms</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id721619034669263" role="tablecontent" localize="false">
+             <link href="text/sbasic/shared/03/sf_base.xhp#Forms" name="Forms method">Forms</link><br/>
              <link href="text/sbasic/shared/03/sf_base.xhp#GetDatabase" name="GetDatabase method">GetDatabase</link><br/>
-             <link href="text/sbasic/shared/03/sf_base.xhp#IsLoaded" name="IsLoaded method">IsLoaded</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id711619034669263" role="tablecontent" localize="false">
-             <link href="text/sbasic/shared/03/sf_base.xhp#OpenFormDocument" name="OpenFormDocument method">OpenFormDocument</link><br/><br/>
+             <link href="text/sbasic/shared/03/sf_base.xhp#IsLoaded" name="IsLoaded method">IsLoaded</link><br/>
+             <link href="text/sbasic/shared/03/sf_base.xhp#OpenFormDocument" name="OpenFormDocument method">OpenFormDocument</link><br/>
            </paragraph>
        </tablecell>
    </tablerow>
 </table>
 
+<section id="CloseFormDocument">
+  <comment> CloseFormDocument ------------------------------------------------------------------------------------- </comment>
+  <bookmark xml-lang="en-US" branch="index" id="bm_id341609135528912" localize="false">
+    <bookmark_value>Base service;CloseFormDocument</bookmark_value>
+  </bookmark>
+  <h2 id="hd_id61161309632927" localize="false">CloseFormDocument</h2>
+  <paragraph role="paragraph" id="par_id801916099743199">Closes the given form document. Returns <literal>True</literal> if closure is successful.</paragraph>
+  <embed href="text/sbasic/shared/avail_release.xhp#7.3.method"/>
+  <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+  <paragraph role="paragraph" localize="false" id="par_id71613205516650">
+    <input>svc.CloseFormDocument(formdocument: str): bool</input>
+  </paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+  <paragraph role="paragraph" id="par_id941619079997810"><emph>formDocument:</emph> The name of the <literal>FormDocument</literal> to be closed, as a case-sensitive string.</paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
+  <paragraph role="paragraph" id="par_id351619100723505">If form documents are organized in folders, it is necessary to include the folder name to specify the form document to be opened, as illustrated in the following examples:</paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
+  <bascode>
+    <paragraph role="bascode" localize="false" id="bas_id461619100382712">oDoc.CloseFormDocument("Folder1/myFormDocument")</paragraph>
+  </bascode>
+  <embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
+  <pycode>
+    <paragraph role="pycode" localize="false" id="pyc_id361623165059717">doc.CloseFormDocument('Folder1/myFormDocument')</paragraph>
+  </pycode>
+</section>
+
 <section id="FormDocuments">
   <comment> FormDocuments --------------------------------------------------------------------------------------- </comment>
   <bookmark xml-lang="en-US" branch="index" id="bm_id401619035409457" localize="false">


More information about the Libreoffice-commits mailing list