summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp')
-rw-r--r--source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp b/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
index 4494038244..611f04e462 100644
--- a/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
+++ b/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
@@ -44,7 +44,7 @@
<paragraph role="paragraph" id="par_id311666942529939">An instance of the given UNO service name, otherwise <literal>Null</literal> value.</paragraph>
<note id="par_id921629989537850">For a list of available services, visit the <link href="https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star.html">com::sun::star Module</link> reference page.</note>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
- <paragraph role="paragraph" id="par_id891561653344669">The <literal>com.sun.star.ui.dialogs.FilePicker</literal> example below displays a <emph>Save As</emph> dialog with two extra controls: a listbox and a checkbox.</paragraph>
+ <paragraph role="paragraph" id="par_id891561653344669">The <literal>com.sun.star.ui.dialogs.FilePicker</literal> example below displays a built-in %PRODUCTNAME <emph>Save As</emph> dialog with two extra controls: a listbox and a checkbox.</paragraph>
<bascode>
<paragraph role="bascode" localize="false" id="bas_id901629989240801">Sub FileSaveAsDialog()</paragraph>
<paragraph role="bascode" localize="false" id="bas_id361629989241073"> td = com.sun.star.ui.dialogs.TemplateDescription</paragraph>
@@ -52,8 +52,10 @@
<paragraph role="bascode" localize="false" id="bas_id441629989241521"> dlg = CreateUnoServiceWithArguments( _</paragraph>
<paragraph role="bascode" localize="false" id="bas_id651629989241801"> "com.sun.star.ui.dialogs.FilePicker", _</paragraph>
<paragraph role="bascode" localize="false" id="bas_id521629989242114"> Array(options))</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id151742458430017"> dlg.execute()</paragraph>
<paragraph role="bascode" localize="false" id="bas_id211629989242416">End Sub ' FileSaveAsDialog</paragraph>
</bascode>
+ <embed href="text/shared/01/01020000.xhp#fpUserPreferences"/>
<tip id="par_id351629989310797">UNO services have an extensive online documentation in the <link href="https://api.libreoffice.org/">api.libreoffice.org</link> website. Visit the <link href="https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1ui_1_1dialogs_1_1FilePicker.html">FilePicker Service</link> reference page to learn more about the methods provided by the service used in the example above.</tip>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id8334604">