Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

interface XSpreadsheets
Base Interfaces
XSpreadsheets
┗ ::com::sun::star::container::XNameContainer
   ┗ ::com::sun::star::container::XNameReplace
      ┗ ::com::sun::star::container::XNameAccess
         ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XNameContainer
(referenced interface's summary:)
This is the generic interface for supporting the insertion and removal of named elements.
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  aName,
[in] short  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  aName,
[in] short  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  aName,
[in] string  aCopy,
[in] short  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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.