[ https://issues.apache.org/jira/browse/PDFBOX-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546051#comment-14546051 ]
John Hewson commented on PDFBOX-2459: ------------------------------------- This fixes a misleading comment that "There is no need to look up the parent hierarchy within a non terminal field", which isn't correct, non-terminal fields _can_ in fact inherit values from their own parents. It's just that exposing inherited values for PDNonTerminalField in the API isn't useful, as then one could never determine anything specific about a given non-terminal field. I've added a JavaDoc comment explaining this. > Share functionality between Page Tree and Field Tree > ---------------------------------------------------- > > Key: PDFBOX-2459 > URL: https://issues.apache.org/jira/browse/PDFBOX-2459 > Project: PDFBox > Issue Type: Improvement > Components: PDModel > Affects Versions: 2.0.0 > Reporter: Maruan Sahyoun > Assignee: John Hewson > Priority: Minor > Fix For: 2.0.0 > > Attachments: 001511.pdf, 004324.pdf > > > The PDFs page tree and AcroForms field tree share some common functionality > e.g. resolving inheritable attributes, iterating through leafs and such which > could be combined into a PDTree class. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org