You can get a collection of styles defined in the document using the Document.Styles property. This collection holds both the built-in and user-defined styles in a document. A particular style could be obtained by its name/alias, style identifier, or index.
Styles and formatting are discussed in more detail later in this documentation.
Example
Shows how to get access to the collection of styles defined in the document.
[Java]
Document doc = new Document();
StyleCollection styles = doc.getStyles();
for (Style style : styles)
System.out.println(style.getName());