LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
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
20
21module com { module sun { module star { module awt { module grid {
22
23
28published interface XGridColumn
29{
32 interface ::com::sun::star::lang::XComponent;
33
36 interface ::com::sun::star::util::XCloneable;
37
43 [attribute] any Identifier;
44
47 [attribute] long ColumnWidth;
48
51 [attribute] long MinWidth;
52
55 [attribute] long MaxWidth;
56
62 [attribute] boolean Resizeable;
63
77 [attribute] long Flexibility
78 {
80 };
81
85
87 [attribute] string Title;
88
93 [attribute] string HelpText;
94
99 [attribute, readonly] long Index;
100
113 [attribute] long DataColumnIndex;
114
120
121
127};
128
129
130}; }; }; }; };
131
132/* 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:27
An instance of this interface is used by the XGridColumnModel to get notifications about column model...
Definition XGridColumnListener.idl:30
The XGridColumn defines the properties and behavior of a column in a grid control.
Definition XGridColumn.idl:29
long MaxWidth
specifies the maximal width the column can have.
Definition XGridColumn.idl:55
void removeGridColumnListener([in] XGridColumnListener Listener)
Removes a listener previously added with addColumnListener().
any Identifier
specifies an identifier of the column
Definition XGridColumn.idl:43
boolean Resizeable
controls whether or not the column's width is fixed or not.
Definition XGridColumn.idl:62
long ColumnWidth
specifies the current width of the column.
Definition XGridColumn.idl:47
string HelpText
is the help text associated with the column.
Definition XGridColumn.idl:93
::com::sun::star::style::HorizontalAlignment HorizontalAlign
Specifies the horizontal alignment of the content in the control.
Definition XGridColumn.idl:84
long MinWidth
specifies the minimal width the column can have.
Definition XGridColumn.idl:51
string Title
A title is displayed in the column header row if UnoControlGridModel::ShowColumnHeader() is set to TR...
Definition XGridColumn.idl:87
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:99
long DataColumnIndex
denotes the index of the data column which should be used to fetch this grid column's data
Definition XGridColumn.idl:113
HorizontalAlignment
values specify the horizontal alignment of an object within a container object.
Definition HorizontalAlignment.idl:28
Definition Ambiguous.idl:20