Fix outline hierarchy control
-----------------------------
Key: PDFBOX-1112
URL: https://issues.apache.org/jira/browse/PDFBOX-1112
Project: PDFBox
Issue Type: Bug
Components: Preflight
Affects Versions: 1.7.0
Reporter: Eric Leleu
Assignee: Eric Leleu
Priority: Minor
Fix For: 1.7.0
During the Catalog validation, preflight checks the expected entries of the
bookmark (Outline Dictionary).
There are a problem when the Outline is present with a Count entry set to 0, we
expect First and Last entries.
- First and last entries are forbidden if Count entry is missing
- First and last entries must be present only if Count entry bigger than 0.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira