LibreOffice
LibreOffice 7.4 SDK API Reference
XPropertySet.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_beans_XPropertySet_idl__
20 #define __com_sun_star_beans_XPropertySet_idl__
21 
23 
25 
27 
29 
31 
33 
35 
37 
38 
39 
40 module com { module sun { module star { module beans {
41 
42 
64 {
65 
77 
78 
91  void setPropertyValue( [in] string aPropertyName,
92  [in] any aValue )
97 
98 
113  any getPropertyValue( [in] string PropertyName )
116 
117 
129  void addPropertyChangeListener( [in] string aPropertyName,
133 
134 
145  void removePropertyChangeListener( [in] string aPropertyName,
149 
150 
160  void addVetoableChangeListener( [in] string PropertyName,
164 
165 
173  void removeVetoableChangeListener( [in] string PropertyName,
177 
178 };
179 
180 
181 }; }; }; };
182 
183 #endif
184 
185 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown when a proposed change to a property represents an unacceptable value.
Definition: PropertyVetoException.idl:35
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:35
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:38
is used to receive PropertyChangeEvents whenever a bound property is changed.
Definition: XPropertyChangeListener.idl:35
specifies a set of properties.
Definition: XPropertySetInfo.idl:46
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:64
any getPropertyValue([in] string PropertyName)
void addVetoableChangeListener([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)
adds an XVetoableChangeListener to the specified property with the name PropertyName.
void removePropertyChangeListener([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener)
removes an XPropertyChangeListener from the listener list.
void setPropertyValue([in] string aPropertyName, [in] any aValue)
sets the value of the property with the specified name.
void removeVetoableChangeListener([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener)
removes an XVetoableChangeListener from the listener list.
com::sun::star::beans::XPropertySetInfo getPropertySetInfo()
void addPropertyChangeListener([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener)
adds an XPropertyChangeListener to the specified property.
is used to receive PropertyChangeEvents whenever a "constrained" property is changed.
Definition: XVetoableChangeListener.idl:40
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22