LibreOffice
LibreOffice 24.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 
21 module com { module sun { module star { module ui { module dialogs {
22 
30 published constants ControlActions
31 {
35  const short ADD_ITEM = 1;
36 
39  const short ADD_ITEMS = 2;
40 
46  const short DELETE_ITEM = 3;
47 
50  const short DELETE_ITEMS = 4;
51 
58  const short SET_SELECT_ITEM = 5;
59 
62  const short GET_ITEMS = 6;
63 
67  const short GET_SELECTED_ITEM = 7;
68 
74  const short GET_SELECTED_ITEM_INDEX = 8;
75 
78  const short SET_HELP_URL = 100;
79 
82  const short GET_HELP_URL = 101;
83 };
84 
85 
86 }; }; }; }; };
87 
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:20
const short GET_SELECTED_ITEM
Returns the currently selected item.
Definition: ControlActions.idl:67
const short ADD_ITEM
Adds an item to the content of the listbox.
Definition: ControlActions.idl:35
const short DELETE_ITEM
Removes an item from a listbox.
Definition: ControlActions.idl:46
const short SET_HELP_URL
Sets the help URL of a control.
Definition: ControlActions.idl:78
const short DELETE_ITEMS
Removes all items from the listbox.
Definition: ControlActions.idl:50
const short GET_ITEMS
Returns all items of the listbox as a sequence of strings.
Definition: ControlActions.idl:62
const short GET_SELECTED_ITEM_INDEX
Returns the zero based index of the currently selected item.
Definition: ControlActions.idl:74
const short ADD_ITEMS
Adds a sequence of strings to the content of the listbox.
Definition: ControlActions.idl:39
const short GET_HELP_URL
Retrieves the help URL of a control.
Definition: ControlActions.idl:82
const short SET_SELECT_ITEM
Selects an item in a listbox.
Definition: ControlActions.idl:58