LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
Spreadsheets Service Referencepublished

represents the collection of spreadsheets in a spreadsheet document. More...

import "Spreadsheets.idl";

Inheritance diagram for Spreadsheets:
XSpreadsheets XIndexAccess XEnumerationAccess XCellRangesAccess XNameContainer XElementAccess XElementAccess XInterface XNameReplace XInterface XInterface XNameAccess XElementAccess XInterface

Exported Interfaces

interface com::sun::star::sheet::XSpreadsheets
 provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets.
interface com::sun::star::container::XIndexAccess
 provides methods to access the spreadsheets by index.
interface com::sun::star::container::XEnumerationAccess
 creates an enumeration of all spreadsheets.
interface com::sun::star::sheet::XCellRangesAccess

Additional Inherited Members

Public Member Functions inherited from XSpreadsheets
void insertNewByName ([in] string aName, [in] short nPosition)
 inserts a new sheet into the collection.
void moveByName ([in] string aName, [in] short nDestination)
 moves a sheet within the collection.
void copyByName ([in] string aName, [in] string aCopy, [in] short nDestination)
 copies a sheet within the collection.
Public Member Functions inherited from XNameContainer
void insertByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException )
 inserts the given element at the specified name.
void removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException )
 removes the element with the specified name.
Public Member Functions inherited from XNameReplace
void replaceByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException )
 replaces the element with the specified name with the given element.
Public Member Functions inherited from XNameAccess
any getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException )
sequence< string > getElementNames ()
boolean hasByName ([in] string aName)
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.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.
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 XEnumerationAccess
com::sun::star::container::XEnumeration createEnumeration ()
Protected Member Functions inherited from XCellRangesAccess
com::sun::star::table::XCell getCellByPosition ([in] long nColumn, [in] long nRow, [in] long nSheet) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 Returns a single cell within the range.
com::sun::star::table::XCellRange getCellRangeByPosition ([in] long nLeft, [in] long nTop, [in] long nRight, [in] long nBottom, [in] long nSheet) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 Returns a sub-range of cells within the range.
sequence< com::sun::star::table::XCellRangegetCellRangesByName ([in] string aRange) raises ( com::sun::star::lang::IllegalArgumentException )
 Returns a sub-range of cells within the range.

Detailed Description

Exported Interfaces

◆ com::sun::star::container::XEnumerationAccess

creates an enumeration of all spreadsheets.

See also
com::sun::star::sheet::SpreadsheetsEnumeration

◆ com::sun::star::container::XIndexAccess

provides methods to access the spreadsheets by index.

See also
com::sun::star::sheet::Spreadsheet

◆ com::sun::star::sheet::XCellRangesAccess

◆ com::sun::star::sheet::XSpreadsheets

provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets.

See also
com::sun::star::sheet::Spreadsheet

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