The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


:: com :: sun :: star :: bridge :: oleautomation ::

unpublished struct PropertyPutArgument
Usage Restrictions
not published
contains a value that is used as argument in a "property put" operation on a Automation object.

If a Automation object is converted into a UNO object by a scripting bridge, such as BridgeSupplier, then it is accessed through the ::com::sun::star::script::XInvocation interface. The methods ::com::sun::star::script::XInvocation::setValue and ::com::sun::star::script::XInvocation::getValue are used to access properties which do not have additional arguments. To access a property with additional arguments, the method ::com::sun::star::script::XInvocation::invoke has to be used. The method implementation must decide, if the property is to be written or read so it can perform the proper operation on the Automation object. To make this decision, the caller has to provide the information if the current call is intended to be a write or read operation. This is done by providing either instances of PropertyPutArgument or ::PropertyGetArgument as arguments to ::com::sun::star::script::XInvocation::Invoke.

OOo 1.1.2

Elements' Summary
Value contains the actual argument.  
Elements' Details
any Value;
contains the actual argument.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.