LibreOffice
LibreOffice 24.2 SDK API Reference
Public Attributes | List of all members
NamedArgument Struct Reference

represents a named argument in a call to a method of an Automation object. More...

import"NamedArgument.idl";

Public Attributes

string Name
 The name of the argument, for which NamedArgument::Value is intended. More...
 
any Value
 The value of the argument whose name is the one as contained in the member Name. More...
 

Detailed Description

represents a named argument in a call to a method of an Automation object.

The Automation bridge accepts values of NamedArgument when a call to an Automation object is made. The call is done through the com::sun::star::script::XInvocation::invoke() method, which takes all arguments in a sequence of anys. Usually the order of the arguments must correspond to the order of arguments in the Automation method. By using instances of NamedArgument the arguments in the sequence can be unordered. The Automation object being called must support named arguments, otherwise the call fails.

Since
OOo 1.1.2

Member Data Documentation

◆ Name

string Name

The name of the argument, for which NamedArgument::Value is intended.

◆ Value

any Value

The value of the argument whose name is the one as contained in the member Name.


The documentation for this struct was generated from the following file: