LibreOffice LibreOffice 6.2 SDK API Reference

ControlActions.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 #ifndef __com_sun_star_ui_dialogs_ControlActions_idl__
21 #define __com_sun_star_ui_dialogs_ControlActions_idl__
22
23
24 module com { module sun { module star { module ui { module dialogs {
25
33 published constants ControlActions
34 {
38 const short ADD_ITEM = 1;
39
42 const short ADD_ITEMS = 2;
43
49 const short DELETE_ITEM = 3;
50
53 const short DELETE_ITEMS = 4;
54
61 const short SET_SELECT_ITEM = 5;
62
65 const short GET_ITEMS = 6;
66
70 const short GET_SELECTED_ITEM = 7;
71
77 const short GET_SELECTED_ITEM_INDEX = 8;
78
81 const short SET_HELP_URL = 100;
82
85 const short GET_HELP_URL = 101;
86 };
87
88
89 }; }; }; }; };
90
91 #endif
92
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition: Ambiguous.idl:22
com::sun::star::ui::dialogs::ControlActions::GET_SELECTED_ITEM
const short GET_SELECTED_ITEM
Returns the currently selected item.
Definition: ControlActions.idl:70
com::sun::star::ui::dialogs::ControlActions::ADD_ITEM
const short ADD_ITEM
Adds an item to the content of the listbox.
Definition: ControlActions.idl:38
com::sun::star::ui::dialogs::ControlActions::DELETE_ITEM
const short DELETE_ITEM
Removes an item from a listbox.
Definition: ControlActions.idl:49
com::sun::star::ui::dialogs::ControlActions::SET_HELP_URL
const short SET_HELP_URL
Sets the help URL of a control.
Definition: ControlActions.idl:81
com::sun::star::ui::dialogs::ControlActions::DELETE_ITEMS
const short DELETE_ITEMS
Removes all items from the listbox.
Definition: ControlActions.idl:53
com::sun::star::ui::dialogs::ControlActions::GET_ITEMS
const short GET_ITEMS
Returns all items of the listbox as a sequence of strings.
Definition: ControlActions.idl:65
com::sun::star::ui::dialogs::ControlActions::GET_SELECTED_ITEM_INDEX
const short GET_SELECTED_ITEM_INDEX
Returns the zero based index of the currently selected item.
Definition: ControlActions.idl:77
com::sun::star::ui::dialogs::ControlActions::ADD_ITEMS
const short ADD_ITEMS
Adds a sequence of strings to the content of the listbox.
Definition: ControlActions.idl:42
com::sun::star::ui::dialogs::ControlActions::GET_HELP_URL
const short GET_HELP_URL
Retrieves the help URL of a control.
Definition: ControlActions.idl:85
com::sun::star::ui::dialogs::ControlActions::SET_SELECT_ITEM
const short SET_SELECT_ITEM
Selects an item in a listbox.
Definition: ControlActions.idl:61