Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / table / XTableRows.idl
blobc6886c1e04915d80f13ef1945a919abb31a9cdb7
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 .
20 #ifndef __com_sun_star_table_XTableRows_idl__
21 #define __com_sun_star_table_XTableRows_idl__
23 #include <com/sun/star/container/XIndexAccess.idl>
26 module com { module sun { module star { module table {
29 /** provides methods to access rows via index and to insert and remove rows.
31 @see com::sun::star::table::TableRows
33 published interface XTableRows: com::sun::star::container::XIndexAccess
36 /** inserts new rows.
38 <p>When the index or combination of index and count is out
39 of bounds an exception will be thrown.</p>
41 @param nIndex
42 is the index the first inserted row will have.
44 @param nCount
45 is the number of rows to insert.
47 void insertByIndex( [in] long nIndex, [in] long nCount );
50 /** deletes rows.
52 <p>When the index or combination of index and count is out
53 of bounds an exception will be thrown.</p>
55 @param nIndex
56 is the index of the first row to delete.
58 @param nCount
59 is the number of rows to delete.
61 void removeByIndex( [in] long nIndex, [in] long nCount );
66 }; }; }; };
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */