Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.