## clear() {#default} Removes all elements from the collection. ```python def clear(self): ... ``` ### Examples Shows how to set outline levels for bookmarks. ```python doc = aw.Document() builder ......# Bookmarks can also have numeric values for outline levels,...