| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
represents a collection of named ranges in a spreadsheet document. More...
import "NamedRanges.idl";
 
  
| Exported Interfaces | |
| interface | com::sun::star::sheet::XNamedRanges | 
| provides access to the named ranges and to insert and remove them. | |
| interface | com::sun::star::container::XIndexAccess | 
| provides access to the named ranges via index. | |
| interface | com::sun::star::container::XEnumerationAccess | 
| creates an enumeration of all named ranges. | |
| interface | com::sun::star::document::XActionLockable | 
| provides methods to control the internal update of named ranges. | |
| Additional Inherited Members | |
| Public Member Functions inherited from XNamedRanges | |
| void | addNewByName ([in] string aName, [in] string aContent, [in] com::sun::star::table::CellAddress aPosition, [in] long nType) | 
| adds a new named range to the collection. | |
| void | addNewFromTitles ([in] com::sun::star::table::CellRangeAddress aSource, [in] com::sun::star::sheet::Border aBorder) | 
| creates named cell ranges from titles in a cell range. | |
| void | removeByName ([in] string aName) | 
| removes a named range from the collection. | |
| void | outputList ([in] com::sun::star::table::CellAddress aOutputPosition) | 
| writes a list of all named ranges into the document. | |
| 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 XActionLockable | |
| boolean | isActionLocked () | 
| void | addActionLock () | 
| increments the lock count of the object by one. | |
| void | removeActionLock () | 
| decrements the lock count of the object by one. | |
| void | setActionLocks ([in] short nLock) | 
| sets the locking level. | |
| short | resetActionLocks () | 
| resets the locking level. | |
represents a collection of named ranges in a spreadsheet document.
In fact a named range is a named formula expression. A cell range address is one possible content of a named range.
creates an enumeration of all named ranges.
| interface com::sun::star::container::XIndexAccess | 
provides access to the named ranges via index.
| 
 | optional | 
provides methods to control the internal update of named ranges.
| interface com::sun::star::sheet::XNamedRanges | 
provides access to the named ranges and to insert and remove them.