BookmarksOutlineLevelCollection

BookmarksOutlineLevelCollection

Overview

BookmarksOutlineLevelCollection is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<Map.Entry<String, Integer>>.

A collection of individual bookmarks outline level.

Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.

This class declares 12 methods for BookmarksOutlineLevelCollection objects in Java programs. Available methods include: add, clear, contains, get, getCount, indexOfKey, iterator, remove, removeAt, set. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets the number of elements contained in the collection.

Methods

SignatureDescription
getCount() → intGets the number of elements contained in the collection.
get(name: String) → intGets or a sets a bookmark outline level by the bookmark name.
set(name: String, value: int)Calls set(name, value) on this BookmarksOutlineLevelCollection instance.
get(index: int) → intGets or sets a bookmark outline level at the specified index.
set(index: int, value: int)Calls set(index, value) on this BookmarksOutlineLevelCollection instance.
add(name: String, outlineLevel: int)Adds a bookmark to the collection.
contains(name: String) → booleanDetermines whether the collection contains a bookmark with the given name.
indexOfKey(name: String) → intReturns the zero-based index of the specified bookmark in the collection.
remove(name: String)Removes a bookmark with the specified name from the collection.
removeAt(index: int)Removes a bookmark at the specified index.
clear()Removes all elements from the collection.
iterator() → Iterator<Map.Entry<String, Integer>>Returns an iterator object that can be used to iterate over all items in the collection.

See Also