:: com :: sun :: star :: table ::

interface XTableColumns
Base Interfaces
XTableColumns
┗ ::com::sun::star::container::XIndexAccess
   ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XIndexAccess
(referenced interface's summary:)
provides access to the elements of a collection through an index.
Description
provides methods to access columns via index and to insert and remove columns.
See also
TableColumns

Methods' Summary
insertByIndex inserts new columns.  
removeByIndex deletes columns.  
Methods' Details
insertByIndex
void
insertByIndex( [in] long  nIndex,
[in] long  nCount );

Description
inserts new columns.

When the index or combination of index and count is out of bounds an exception will be thrown.

Parameter nIndex
is the index the first inserted column will have.
Parameter nCount
is the number of columns to insert.
removeByIndex
void
removeByIndex( [in] long  nIndex,
[in] long  nCount );

Description
deletes columns.

When the index or combination of index and count is out of bounds an exception will be thrown.

Parameter nIndex
is the index of the first column to delete.
Parameter nCount
is the number of columns to delete.
Top of Page