tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / sdbcx / Column.idl
blobf60de159f7c362977cd7286ccb5cd5950bf03f4f
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 .
20 module com { module sun { module star { module sdbcx {
22 published interface XDataDescriptorFactory;
25 /** describes the common properties of a database column.
27 published service Column
30 /** optional, could be used to copy a database column.
32 [optional] interface XDataDescriptorFactory;
34 // gives access to the properties.
35 interface com::sun::star::beans::XPropertySet;
38 /** is the name of the column.
40 [readonly, property] string Name;
43 /** is the
44 com::sun::star::sdbc::DataType
45 of the column.
47 [readonly, property] long Type;
50 /** is the type name used by the database. If the column type is
51 a user-defined type, then a fully-qualified type name is returned.
52 <b>
53 Note:
54 </b>
55 May be empty.
57 [readonly, property] string TypeName;
60 /** gets a column's number of decimal digits.
62 [readonly, property] long Precision;
65 /** gets a column's number of digits to right of the decimal point.
67 [readonly, property] long Scale;
70 /** indicates the nullability of values in the designated column.
71 @see com::sun::star::sdbc::ColumnValue
73 [readonly, property] long IsNullable;
76 /** indicates whether the column is automatically numbered, thus read-only.
77 @see com::sun::star::sdbc::ColumnValue
79 [readonly, property] boolean IsAutoIncrement;
82 /** indicates whether the column is a cash value.
84 [readonly, property] boolean IsCurrency;
88 /** indicates that the column contains some kind of time or date stamp
89 used to track updates.
91 [optional, readonly, property] boolean IsRowVersion;
94 /** keeps a description of the object.
96 [optional, readonly, property] string Description;
99 /** keeps a default value for a column, is provided as string.
101 [optional, readonly, property] string DefaultValue;
106 }; }; }; };
108 /*===========================================================================
109 ===========================================================================*/
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */