tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / offapi / com / sun / star / text / XTextTableCursor.idl
blob3ca37823edc9104f5b4277ea4fb13712a39d3c91
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 com { module sun { module star { module text {
25 /** The TextTableCursor provide methods to navigate through the table structure, to merge and split cells
27 @see com::sun::star::text::TextTable
28 @see com::sun::star::text::TextTableCursor
29 @see com::sun::star::text::Cell
30 @see com::sun::star::text::XTextTable
32 published interface XTextTableCursor: com::sun::star::uno::XInterface
35 /** @returns
36 the name of the cell range that is selected by this cursor.
37 <p>The name is the cell name of the top left table cell of the range
38 concatenated by ":" with the table cell name of the bottom left table cell of the cell range.
39 If the range consists of one table cell only then the name of that table cell is returned.
40 </p>
41 @see com::sun:star::text::CellRange
43 string getRangeName();
46 /** moves the cursor to the cell with the specified name.
48 @param aCellName
49 specifies the name of the cell to go to.
51 @param bExpand
52 determines whether the selection is to be expanded.
54 @see com::sun::star::text::Cell
56 boolean gotoCellByName( [in] string aCellName,
57 [in] boolean bExpand );
60 /** moves the cursor to the left neighbor.
62 @param nCount
63 the number of cells to move.
65 @param bExpand
66 determines whether the selection is to be expanded.
68 boolean goLeft( [in] short nCount,
69 [in] boolean bExpand );
72 /** moves the cursor to the right neighbor.
74 @param nCount
75 the number of cells to move.
77 @param bExpand
78 determines whether the selection is to be expanded.
80 boolean goRight( [in] short nCount,
81 [in] boolean bExpand );
84 /** moves the cursor to the top neighbor.
86 @param nCount
87 the number of cells to move.
89 @param bExpand
90 determines whether the selection is to be expanded.
92 boolean goUp( [in] short nCount,
93 [in] boolean bExpand );
96 /** moves the cursor to the bottom neighbor cell.
98 @param nCount
99 the number of cells to move.
101 @param bExpand
102 determines whether the selection is to be expanded.
104 boolean goDown( [in] short nCount,
105 [in] boolean bExpand );
108 /** moves the cursor to the top left cell of the table.
110 @param bExpand
111 determines whether the selection is to be expanded.
113 void gotoStart( [in] boolean bExpand );
116 /** moves the cursor to the bottom right cell of the table.
118 @param bExpand
119 determines whether the selection is to be expanded.
121 void gotoEnd( [in] boolean bExpand );
124 /** merges the selected range of cells.
126 @see com::sun::star::CellRange
128 boolean mergeRange();
131 /** splits the range of cells.
133 @param nCount
134 specifies the number of new cells that will be created
135 for each cell contained in the range.
137 @param bHorizontal
138 `TRUE` if the range should be split vertically.
139 Otherwise it will be split horizontally.
141 @see com::sun::star::Cell
142 @see com::sun::star::CellRange
144 boolean splitRange( [in] short nCount,
145 [in] boolean bHorizontal );
150 }; }; }; };
152 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */