/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ module ooo { module vba { module word { interface XContentControlListEntry; interface XContentControlListEntries { interface ooo::vba::XCollection; /// Adds a new list item to a drop-down list or combo box content control /// and returns a ContentControlListEntry object. /// Entries must have a unique display Name, /// Value is optional - uses Name if not specified. /// Index is optional. It inserts at the end if not specified, otherwise inserted into list. XContentControlListEntry Add( [in] string Name, [in] /*optional*/ any Value, [in] /*optional*/ any Index ); /// Remove all items from the dropdown list void Clear(); }; }; }; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */