LibreOffice
LibreOffice 24.2 SDK API Reference
ListboxControlActions.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 
21 module com { module sun { module star { module ui { module dialogs {
22 
28 published constants ListboxControlActions
29 {
33  const short ADD_ITEM = 1;
34 
37  const short ADD_ITEMS = 2;
38 
44  const short DELETE_ITEM = 3;
45 
48  const short DELETE_ITEMS = 4;
49 
56  const short SET_SELECT_ITEM = 5;
57 
60  const short GET_ITEMS = 6;
61 
65  const short GET_SELECTED_ITEM = 7;
66 };
67 
68 
69 }; }; }; }; };
70 
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short ADD_ITEMS
Adds a sequence of strings to the content of the listbox.
Definition: ListboxControlActions.idl:37
Definition: Ambiguous.idl:20
const short GET_ITEMS
Returns all items of the listbox as a sequence of strings.
Definition: ListboxControlActions.idl:60
const short ADD_ITEM
Adds an item to the content of the listbox.
Definition: ListboxControlActions.idl:33
const short GET_SELECTED_ITEM
Returns the currently selected item.
Definition: ListboxControlActions.idl:65
const short DELETE_ITEM
Removes an item from a listbox.
Definition: ListboxControlActions.idl:44
const short DELETE_ITEMS
Removes all items from the listbox.
Definition: ListboxControlActions.idl:48
const short SET_SELECT_ITEM
Selects an item in a listbox.
Definition: ListboxControlActions.idl:56