*
* @return The document's structure tree root or null if none exists.
*/
public PDStructureTreeRoot getStructureTreeRoot()
{
PDStructureTreeRoot treeRoot = null;
COSDictionary dic = (COSDictionary)root.getDictionaryObject( "StructTreeRoot" );
if( dic != null )
{
treeRoot = new PDStructureTreeRoot( dic );
}
return treeRoot;
}