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.xhp45
1 files changed, 40 insertions, 5 deletions
diff --git a/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp b/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
index 611f04e462..4e31cbf095 100644
--- a/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
+++ b/source/text/sbasic/shared/CreateUnoSvcWithArgs.xhp
@@ -34,15 +34,50 @@
</section>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<bascode>
- <paragraph role="bascode" localize="false" id="bas_syntax"> CreateUnoServiceWithArguments(ServiceName As String, Arguments() As Variant) As Object</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_syntax">CreateUnoServiceWithArguments(ServiceName As String, Arguments() As Variant) As Object</paragraph>
</bascode>
<tip id="par_id301666950633646">UNO services that can be used with <literal>CreateUnoServiceWithArguments</literal> function are identifiable with method names that follow a <literal>createInstanceWith..</literal> or <literal>createWith..</literal> naming pattern.</tip>
- <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
- <paragraph role="paragraph" id="par_id781666942583785"><emph>ServiceName</emph>: The UNO service name to be created.</paragraph>
- <paragraph role="paragraph" id="par_id11666942585785"><emph>Arguments</emph>: One to many arguments that specify the instance of the service. <emph>Arguments</emph> are stored as a one dimensional array, according to their positions in the constructor method definition.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
- <paragraph role="paragraph" id="par_id311666942529939">An instance of the given UNO service name, otherwise <literal>Null</literal> value.</paragraph>
+ <paragraph role="paragraph" id="par_id311666942529939">Object</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#functparameters"/>
+ <table id="tab_id971744665754543">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id161744665754543" role="tablehead" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#param_name" markup="ignore"/></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id551744665754543" role="tablehead" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#param_type" markup="ignore"/></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id201744665754543" role="tablehead" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#param_desc" markup="ignore"/></paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id951744665754544" role="tablecontent">ServiceName</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id11744665754544" role="tablecontent" localize="false">String</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id111744665754544" role="tablecontent">The UNO service name to be created.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id691744665754544" role="tablecontent">Arguments</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id921744665754544" role="tablecontent" localize="false">Variant</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id971744665754544" role="tablecontent">One to many arguments that specify the instance of the service. <emph>Arguments</emph> are stored as a one dimensional array, according to their positions in the constructor method definition.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
<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 built-in %PRODUCTNAME <emph>Save As</emph> dialog with two extra controls: a listbox and a checkbox.</paragraph>
<bascode>