Update git submodules
[LibreOffice.git] / udkapi / com / sun / star / beans / Property.idl
blob3b619ace1325efed53dffdbc2aafe88157ec5ac7
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 /** This structure describes a property.
27 There are three types of properties:
28 - bound properties
29 - constrained properties
30 - free properties
33 published struct Property
35 /** specifies the name of the property.
37 <p>The name is unique within an XPropertySet.
38 Upper and lower case are distinguished.</p>
40 string Name;
43 /** contains an implementation-specific handle for the property.
45 <p>It may be -1 if the implementation has no handle. You can use
46 this handle to get values from the XFastPropertySet.</p>
48 long Handle;
51 /** contains an object that identifies the declared type for
52 the property.
54 <p>If the property has multiple types or the type is not
55 known, <strong>but not an `any`</strong>, then
56 void must be returned.</p>
58 type Type;
61 /** This field may contain zero or more constants of the
62 PropertyAttribute constants group.
64 short Attributes;
69 }; }; }; };
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */