:: com :: sun :: star :: text ::
|
interface XTextTable |
- Base Interfaces
XTextTable
┗ XTextContent
┗ ::com::sun::star::lang::XComponent
XTextContent |
- (referenced interface's summary:)
- enables objects to be inserted into a text and to provide their
location in a text once they are inserted into it.
|
|
- Description
- manages a text table.
- See also
- TextTable, Cell
|
Methods' Details |
initialize
void |
initialize( |
[in] long |
nRows, |
| [in] long |
nColumns ); |
- Description
- determines the numbers of rows and columns of the text table.
This method must be called after the object is created and
before the object is insert or attached elsewhere.
|
|
getRows
- Returns
- the access object for the text table rows.
- See also
- ::com::sun::star::table::XTableRows
|
|
getColumns
- Returns
- the access object for the text table columns.
- See also
- ::com::sun::star::table::XTableColumns
|
|
getCellByName
::com::sun::star::table::XCell |
getCellByName( |
[in] string |
aCellName ); |
- Returns
- the ::com::sun::star::table::XCell interface of the cell with the specified name.
- Parameter aCellName
- is a concatenation of the alphanumeric column name and the
index of the row.
Example: The cell in the 4th column and third row has the name "D3".
In cells that are split, the naming convention is more complex.
In this case the name is a concatenation of the former cell name
(i.e. "D3") and the number of the new column and row index inside
of the original table cell separated by dots. This is done
recursively.
Example: If the cell "D3" is horizontally split, it now contains
the cells "D3.1.1" and "D3.1.2"
- See also
- ::com::sun::star::table::Cell, ::com::sun::star::table::XCell
|
|
getCellNames
sequence< string > |
getCellNames(); |
- Returns
- the names of all cells of this text table.
|
|
createCursorByCellName
- Description
- creates a text table cursor and returns the
XTextTableCursor interface.
Initially the cursor is positioned in the cell with the specified name.
- See also
- TextTableCursor
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.