path: root/utils
diff options
authorAdrian Perez de Castro <>2013-06-17 17:00:27 +0300
committerCarlos Garcia Campos <>2013-10-02 12:34:00 +0200
commite04cabd878a0fd84faa5178f423fd828d010b664 (patch)
tree04d6cbd9439d2bbfbc8a7e3ed58b158d5d88dc4b /utils
parent45e0fe56985f34e695c99a2f6ec1ffe14e239b9e (diff)
Tagged-PDF: Implement parsing of StructTreeRoot
Implement parsing of the StructTreeRoot entry of the Catalog. Also, the Catalog::getStructTreeRoot() and PDFDoc::getStructTreeRoot() methods are modified to return an instance of StructTreeRoot instead of an Object. All elements from the StructTreeRoot are parsed except for: - IDTree: it is a lookup tree to locate items by their ID, which would be barely useful because the whole structure tree is to be kept in memory, which should be fast enough to traverse. - ParentTreeNextKey: This is needed only when the ParentTree object is to be modified. For the moment the implementation deals only with reading, so this has been deliberately left out. StructElem tree nodes from the document structure tree are parsed as a StructElement instance. Attributes and extraction of content out from elements are not yet handled.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions