office-gobmx/udkapi/com/sun/star/beans/Property.idl

94 lines
3 KiB
Text
Raw Normal View History

2011-12-29 06:12:09 -06:00
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2000-11-06 05:26:02 -06:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-11-06 05:26:02 -06:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2000-11-06 05:26:02 -06:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-11-06 05:26:02 -06:00
*
* This file is part of OpenOffice.org.
2000-11-06 05:26:02 -06:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-11-06 05:26:02 -06:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-11-06 05:26:02 -06:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-11-06 05:26:02 -06:00
*
************************************************************************/
#ifndef __com_sun_star_beans_Property_idl__
#define __com_sun_star_beans_Property_idl__
#include <com/sun/star/reflection/XIdlClass.idl>
//=============================================================================
2002-08-05 03:22:48 -05:00
module com { module sun { module star { module beans {
2000-11-06 05:26:02 -06:00
//=============================================================================
/** This structure describes a property.
2001-11-16 07:06:25 -06:00
<dl>There are three types of properties:
<dt>- bound properties</dt>
<dt>- constrained properties</dt>
<dt>- free properties</dt>
2000-11-06 05:26:02 -06:00
</dl>
*/
published struct Property
2000-11-06 05:26:02 -06:00
{
/** specifies the name of the property.
2002-08-05 03:22:48 -05:00
<p>The name is unique within an <type>XPropertySet</type>.
Upper and lower case are distinguished.</p>
2000-11-06 05:26:02 -06:00
*/
string Name;
//-------------------------------------------------------------------------
/** contains an implementation-specific handle for the property.
<p>It may be -1 if the implementation has no handle. You can use
this handle to get values from the <type>XFastPropertySet</type>.</p>
*/
long Handle;
//-------------------------------------------------------------------------
/** contains an object that identifies the declared type for
the property.
<p>If the property has multiple types or the type is not
2001-11-16 07:06:25 -06:00
known, <strong>but not an <atom>any</atom></strong>, then
2000-11-06 05:26:02 -06:00
<const>void</const> must be returned.</p>
*/
2001-01-31 02:45:41 -06:00
type Type;
2000-11-06 05:26:02 -06:00
//-------------------------------------------------------------------------
/** This field may contain zero or more constants of the
<type>PropertyAttribute</type> constants group.
*/
short Attributes;
};
//=============================================================================
}; }; }; };
#endif
2011-12-29 06:12:09 -06:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */