diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-04-28 10:29:01 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-02 17:19:18 +0200 |
commit | 834789bd8d25cfee57662c8023a34f8e80cc078d (patch) | |
tree | 5d389170d4d07fde62919fc553cb1c480d304f33 | |
parent | b218d6ebe0f497748414b3a7fd173cff363b76ae (diff) |
Update Basic function Shell page
Change-Id: I64ed0d7ce000f6a0ca49d60fa0f4ed80690ac03c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133659
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/shared/03130500.xhp | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/source/text/sbasic/shared/03130500.xhp b/source/text/sbasic/shared/03130500.xhp index 3bc1f9b10f..c6c6fb321b 100644 --- a/source/text/sbasic/shared/03130500.xhp +++ b/source/text/sbasic/shared/03130500.xhp @@ -27,29 +27,37 @@ <body> - <section id="shell"> <bookmark xml-lang="en-US" branch="index" id="bm_id3150040"> <bookmark_value>Shell function</bookmark_value> </bookmark> - -<paragraph id="hd_id3150040" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03130500.xhp" name="Shell Function">Shell Function</link></paragraph> +<h1 id="hd_id3150040"><link href="text/sbasic/shared/03130500.xhp" name="Shell Function">Shell Function</link></h1> <paragraph id="par_id3153394" role="paragraph" xml-lang="en-US">Starts another application and defines the respective window style, if necessary.</paragraph> </section> -<paragraph id="hd_id3153345" role="heading" level="2" xml-lang="en-US">Syntax</paragraph> -<paragraph id="par_id3147576" role="paragraph" xml-lang="en-US">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) </paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> +<paragraph id="par_id3147576" role="code" xml-lang="en-US">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) </paragraph> -<paragraph id="hd_id3149235" role="heading" level="2" xml-lang="en-US">Parameter</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functparameters"/> -<paragraph id="hd_id3154306" role="heading" level="3" xml-lang="en-US">Pathname</paragraph> +<h3 id="hd_id3154306">Pathname</h3> <paragraph id="par_id3155419" role="paragraph" xml-lang="en-US">Complete path and program name of the program that you want to start.</paragraph> -<paragraph id="hd_id3150771" role="heading" level="3" xml-lang="en-US">Windowstyle</paragraph> +<h3 id="hd_id3150771">Windowstyle</h3> <paragraph id="par_id3145609" role="paragraph" xml-lang="en-US">Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible:</paragraph> <table id="tbl_id3156343"> + <tablehead> + <tablerow> + <tablecell> + <paragraph id="par_id931651081957773" role="tablehead" localize="false" xml-lang="en-US" >Windowstyle</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id221651081957774" role="tablehead" xml-lang="en-US" >Meaning</paragraph> + </tablecell> + </tablerow> + </tablehead> <tablerow> <tablecell> <paragraph id="par_id3148663" role="paragraph" localize="false" xml-lang="en-US">0</paragraph> @@ -108,18 +116,17 @@ </tablerow> </table> - -<paragraph id="hd_id3150419" role="heading" level="3" xml-lang="en-US">Param</paragraph> +<h3 id="hd_id3150419">Param</h3> <paragraph id="par_id3149412" role="paragraph" xml-lang="en-US">Any string expression that specifies the command line that want to pass.</paragraph> -<paragraph id="hd_id3148456" role="heading" level="3" xml-lang="en-US">bSync</paragraph> +<h3 id="hd_id3148456">bSync</h3> <paragraph id="par_id3154096" role="paragraph" xml-lang="en-US">If this value is set to <emph>true</emph>, the <emph>Shell</emph> command and all $[officename] tasks wait until the shell process completes. If the value is set to <emph>false</emph>, the shell returns directly. The default value is <emph>false</emph>.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> <embed href="text/sbasic/shared/00000003.xhp#err53"/> <embed href="text/sbasic/shared/00000003.xhp#err73"/> -<paragraph id="hd_id3154270" role="heading" level="2" xml-lang="en-US">Example</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph id="par_idm1341273680" role="bascode" localize="false" xml-lang="en-US">Sub ExampleShellForWin</paragraph> <paragraph id="par_idm1341272448" role="bascode" localize="false" xml-lang="en-US"> Shell("c:\windows\calc.exe",2)</paragraph> @@ -127,4 +134,4 @@ </bascode> </body> -</helpdocument>
\ No newline at end of file +</helpdocument> |