Skip to main content

parse_struct_tree

Function parse_struct_tree 

Source
pub fn parse_struct_tree(
    file: &PdfFile,
    catalog: &Catalog,
) -> Option<StructTree>
Expand description

Parse the document’s logical structure tree from the catalog’s /StructTreeRoot. Returns None when the document declares no structure tree (i.e. is not tagged in the structural sense).