Skip to main content

parse_embedded_files

Function parse_embedded_files 

Source
pub fn parse_embedded_files(
    resolver: &Resolver<'_>,
) -> HashMap<String, EmbeddedFile>
Expand description

Walk the catalog’s /Names /EmbeddedFiles name tree and produce a map of every attachment, keyed by the tree’s name.

Returns an empty map when the document has no embedded files.