cool#10630 doc sign: fix Impress sign line, to be able to finish signing again
[LibreOffice.git] / oovbaapi / ooo / vba / XCollectionBase.idl
blob73c4b38cf3a53cac308acaa24685a53203deb570
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module ooo { module vba {
26 /** Base interface for VBA collections.
28 Every VBA collection provides the number of items, an enumeration access of
29 all collection items (e.g. for the "For Each" loop), and a way to access
30 single items, usually via the method "Item".
32 The various VBA collection objects expect a specific number of arguments in
33 the "Item" method, therefore this method is not part of this base interface
34 but has to be specified separately in every derived interface.
36 interface XCollectionBase
39 /** Provides an enumeration of all items in this collection.
41 interface ::com::sun::star::container::XEnumerationAccess;
44 /** Provides the name of the default item access method.
46 Usually this method is called "Item". The access method has to be
47 specified and implemented separately by every derived class.
49 interface ::com::sun::star::script::XDefaultMethod;
52 /** Returns the number of items contained in this collection.
54 [attribute, readonly] long Count;
61 }; };
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */