LibreOffice
LibreOffice 6.2 SDK API Reference
XPropertyHandler.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_inspection_XPropertyHandler_idl__
20 #define __com_sun_star_inspection_XPropertyHandler_idl__
21 
31 
32 module com { module sun { module star { module inspection {
33 
34 interface XObjectInspectorUI;
35 interface XPropertyControlFactory;
36 
51 {
59 
66  void inspect( [in] com::sun::star::uno::XInterface Component )
68 
75  any
76  getPropertyValue( [in] string PropertyName )
78 
88  void
89  setPropertyValue( [in] string PropertyName, [in] any Value )
92 
101  getPropertyState( [in] string PropertyName )
103 
120  describePropertyLine(
121  [in] string PropertyName,
122  [in] XPropertyControlFactory ControlFactory
123  )
125 
150  any
151  convertToPropertyValue(
152  [in] string PropertyName,
153  [in] any ControlValue
154  )
156 
196  any
197  convertToControlValue(
198  [in] string PropertyName,
199  [in] any PropertyValue,
200  [in] type ControlValueType
201  )
203 
221  void
222  addPropertyChangeListener( [in] com::sun::star::beans::XPropertyChangeListener Listener )
224 
228  void
229  removePropertyChangeListener( [in] com::sun::star::beans::XPropertyChangeListener Listener );
230 
241  sequence< com::sun::star::beans::Property >
242  getSupportedProperties();
243 
277  sequence< string >
278  getSupersededProperties( );
279 
295  sequence< string >
296  getActuatingProperties( );
297 
310  boolean isComposable( [in] string PropertyName )
312 
369  onInteractivePropertySelection(
370  [in] string PropertyName,
371  [in] boolean Primary,
372  [out] any outData,
373  [in] XObjectInspectorUI InspectorUI
374  )
376 
403  void
404  actuatingPropertyChanged(
405  [in] string ActuatingPropertyName,
406  [in] any NewValue,
407  [in] any OldValue,
408  [in] XObjectInspectorUI InspectorUI,
409  [in] boolean FirstTimeInit
410  )
412 
437  boolean suspend( [in] boolean Suspend );
438 };
439 
440 
441 }; }; }; };
442 
443 #endif
444 
445 
446 
447 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
a factory for XPropertyControls
Definition: XPropertyControlFactory.idl:33
PropertyState
This enumeration lists the states that a property value can have.
Definition: PropertyState.idl:39
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:42
Definition: Ambiguous.idl:22
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:34
is used to receive PropertyChangeEvents whenever a bound property is changed.
Definition: XPropertyChangeListener.idl:34
describes the appearance of a line representing a single property in an ObjectInspector.
Definition: LineDescriptor.idl:46
This exception is thrown when a proposed change to a property represents an unacceptable value...
Definition: PropertyVetoException.idl:34
is the basic interface for object inspection.
Definition: XPropertyHandler.idl:50
This exception is thrown when an application attempts to use NULL in a case where an object is requir...
Definition: NullPointerException.idl:36
grants access to certain aspects of the user interface of an object inspector
Definition: XObjectInspectorUI.idl:44
InteractiveSelectionResult
describes possible results of an interactive selection of a property value in an object inspector ...
Definition: InteractiveSelectionResult.idl:31
base interface of all UNO interfaces
Definition: XInterface.idl:47