Update git submodules
[LibreOffice.git] / udkapi / com / sun / star / beans / XPropertyAccess.idl
blob8de04a7dffa71d6edf875ed2a3893ab919fd77e0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module com { module sun { module star { module beans {
25 /** makes it possible to access all property values and to set them at once.
27 <p>In most cases this interface will be in addition to
28 XPropertySet. It is especially useful for remote
29 communication because it lessens the number of calls for getting
30 property values; that is especially important because these calls
31 are necessarily synchronous. </p>
33 <p>Another advantage of this method is that conflicts are avoided
34 if property value restrictions depend on the value of other properties.</p>
36 published interface XPropertyAccess: com::sun::star::uno::XInterface
39 /** @returns
40 a sequence of all property values within the object in a single call.
42 sequence<com::sun::star::beans::PropertyValue> getPropertyValues();
45 /** sets the values of given properties.
47 <p>All properties which are not contained in the sequence
48 <var>aProps</var> will be left unchanged.</p>
50 void setPropertyValues( [in] sequence<com::sun::star::beans::PropertyValue> aProps )
51 raises( com::sun::star::beans::UnknownPropertyException,
52 com::sun::star::beans::PropertyVetoException,
53 com::sun::star::lang::IllegalArgumentException,
54 com::sun::star::lang::WrappedTargetException );
59 }; }; }; };
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */