Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XExternalSheetName
Usage Restrictions
not published
Description
provides a method to set an external name at the sheet.

An external reference in a cell formula is implemented using a hidden sheet which is linked to the sheet in the external document. The name of the hidden sheet is composed of the URL of the external document and the external sheet name.

Since
OOo 3.0

Methods' Summary
setExternalName sets an external name at the sheet.  
Methods' Details
setExternalName
void
setExternalName( [in] string  aUrl,
[in] string  aSheetName )
raises( ::com::sun::star::container::ElementExistException );

Description
sets an external name at the sheet.

This method allows to compose the sheet name from the URL of the external document and the name of the external sheet.

Parameter aUrl
the URL of the external document.
Parameter aSheetName
the name of the sheet in the external document.
Throws
::com::sun::star::container::ElementExistException a sheet with that external name already exists in this document
Top of Page

Apache Software Foundation

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

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