(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: inspection ::

unpublished interface XPropertyControlFactory
Usage Restrictions
not published
Description
a factory for XPropertyControls
Since
OOo 2.0.3

Methods' Summary
createPropertyControl creates a XPropertyControl  
Methods' Details
createPropertyControl
XPropertyControl
createPropertyControl( [in] short  ControlType,
[in] boolean  CreateReadOnly )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
creates a XPropertyControl

A XPropertyControlFactory can create any of the control types denoted by the PropertyControlType constants.

Parameter ControlType
the type of the requested control
Parameter CreateReadOnly
determines whether the newly created control should be readonly.

If this argument is true, this does not necessarily mean that the property cannot be changed at all in the ObjectInspector. Instead, an XPropertyHandler can still decide that there is a dedicated UI for entering the property value, which is usually triggered by a LineDescriptor::PrimaryButton.

Note that this parameter might be ignored if the XObjectInspectorModel::IsReadOnly attribute is true, in which case all created property controls must be readonly.

Returns
a control of the given type.
Throws
com::sun::star::lang::IllegalArgumentException if the given ControlType is not a value PropertyControlType
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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.

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.