LibreOffice
LibreOffice 7.4 SDK API Reference
XGridColumn.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_awt_grid_XGridColumn_idl__
20#define __com_sun_star_awt_grid_XGridColumn_idl__
21
27
28
29module com { module sun { module star { module awt { module grid {
30
31
36published interface XGridColumn
37{
40 interface ::com::sun::star::lang::XComponent;
41
44 interface ::com::sun::star::util::XCloneable;
45
51 [attribute] any Identifier;
52
55 [attribute] long ColumnWidth;
56
59 [attribute] long MinWidth;
60
63 [attribute] long MaxWidth;
64
70 [attribute] boolean Resizeable;
71
85 [attribute] long Flexibility
86 {
88 };
89
93
95 [attribute] string Title;
96
101 [attribute] string HelpText;
102
107 [attribute, readonly] long Index;
108
121 [attribute] long DataColumnIndex;
122
128
129
135};
136
137
138}; }; }; }; };
139
140#endif
141
142/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
An instance of this interface is used by the XGridColumnModel to get notifications about column model...
Definition: XGridColumnListener.idl:35
The XGridColumn defines the properties and behavior of a column in a grid control.
Definition: XGridColumn.idl:37
long MaxWidth
specifies the maximal width the column can have.
Definition: XGridColumn.idl:63
void removeGridColumnListener([in] XGridColumnListener Listener)
Removes a listener previously added with addColumnListener().
any Identifier
specifies an identifier of the column
Definition: XGridColumn.idl:44
boolean Resizeable
controls whether or not the column's width is fixed or not.
Definition: XGridColumn.idl:70
long ColumnWidth
specifies the current width of the column.
Definition: XGridColumn.idl:55
string HelpText
is the help text associated with the column.
Definition: XGridColumn.idl:101
::com::sun::star::style::HorizontalAlignment HorizontalAlign
Specifies the horizontal alignment of the content in the control.
Definition: XGridColumn.idl:92
long MinWidth
specifies the minimal width the column can have.
Definition: XGridColumn.idl:59
string Title
A title is displayed in the column header row if UnoControlGridModel::ShowColumnHeader() is set to TR...
Definition: XGridColumn.idl:95
void addGridColumnListener([in] XGridColumnListener Listener)
Adds a listener for the GridColumnEvent posted after the grid changes.
long Index
denotes the index of the column within the grid column model it belongs to
Definition: XGridColumn.idl:107
long DataColumnIndex
denotes the index of the data column which should be used to fetch this grid column's data
Definition: XGridColumn.idl:121
HorizontalAlignment
values specify the horizontal alignment of an object within a container object.
Definition: HorizontalAlignment.idl:30
Definition: Ambiguous.idl:22