LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XTableRows Interface Referencepublished

provides methods to access rows via index and to insert and remove rows. More...

import"XTableRows.idl";

Inheritance diagram for XTableRows:
XIndexAccess XElementAccess XInterface TableRows TableRows

Public Member Functions

void insertByIndex ([in] long nIndex, [in] long nCount)
 inserts new rows. More...
 
void removeByIndex ([in] long nIndex, [in] long nCount)
 deletes rows. More...
 
- Public Member Functions inherited from XIndexAccess
long getCount ()
 
any getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException )
 
- Public Member Functions inherited from XElementAccess
type getElementType ()
 
boolean hasElements ()
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

provides methods to access rows via index and to insert and remove rows.

See also
com::sun::star::table::TableRows

Member Function Documentation

◆ insertByIndex()

void insertByIndex ( [in] long  nIndex,
[in] long  nCount 
)

inserts new rows.

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

Parameters
nIndexis the index the first inserted row will have.
nCountis the number of rows to insert.

◆ removeByIndex()

void removeByIndex ( [in] long  nIndex,
[in] long  nCount 
)

deletes rows.

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

Parameters
nIndexis the index of the first row to delete.
nCountis the number of rows to delete.

The documentation for this interface was generated from the following file: