Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: script ::

unpublished interface XDefaultProperty
Usage Restrictions
not published
Description
An object supporting this interface indicates to interested parties or clients the name of the default propery for this object.

For example where ExampleObject is an instance of an Object that supports this interface which returns the default property name "Value".A scripting engine could use this information to support syntax like

ExampleObject = "foo"

which would be equivalent to writing

ExampleObject.Value = "foo"

or

bar = ExampleObject

which would be equivalent to writing

bar = ExampleObject.Value


Methods' Summary
getDefaultPropertyName Returns the name of the default property  
Methods' Details
getDefaultPropertyName
string
getDefaultPropertyName();

Description
Returns the name of the default property
Returns
The string name of default property
Top of Page

Apache Software Foundation

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

Apache, OpenOffice, OpenOffice.org 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.