Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sheet ::
interface XSpreadsheets
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::container::XElementAccess
          |
          +-::com::sun::star::container::XNameAccess
             |
             +-::com::sun::star::container::XNameReplace
                |
                +-::com::sun::star::container::XNameContainer
                   |
                   +-XSpreadsheets
Description provides methods to access the spreadsheets by name and to insert, copy, remove and rearrange spreadsheets. See also Spreadsheets

Methods' Summary
insertNewByName | inserts a new sheet into the collection.
moveByName | moves a sheet within the collection.
copyByName | copies a sheet within the collection.

Methods' Details
insertNewByName
void insertNewByName( | [in] string [in] short | aName, nPosition );
Description inserts a new sheet into the collection. Parameter aName the name of the new spreadsheet. Parameter nPosition the index of the new spreadsheet in the collection.
moveByName
void moveByName( | [in] string [in] short | aName, nDestination );
Description moves a sheet within the collection. Parameter aName the name of the spreadsheet to move. Parameter nDestination the new index of the spreadsheet in the collection.
copyByName
void copyByName( | [in] string [in] string [in] short | aName, aCopy, nDestination );
Description copies a sheet within the collection. Parameter aName the name of the spreadsheet to copy. Parameter aCopy the name of the copy of the spreadsheet. Parameter nDestination the index of the copy in the collection.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.