(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.