[
https://issues.apache.org/jira/browse/PDFBOX-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Hewson closed PDFBOX-609.
------------------------------
Resolution: Invalid
This is issue is invalid, Acrobat XI does not set the Parent of a rubber stamp.
However, it does add a Popup annotation which has its Parent set, but we have
an API for that already.
> PDAnnotationRubberStamp is missing a setParent method
> -----------------------------------------------------
>
> Key: PDFBOX-609
> URL: https://issues.apache.org/jira/browse/PDFBOX-609
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 0.8.0-incubator, 1.0.0
> Environment: all
> Reporter: Erik Scholtz
> Priority: Trivial
>
> PDAnnotationRubberStamp class is missing a setParent method:
> Simply to add:
> /**
> * This will set the RubberStamps parent it relates to.
> *
> * @param myparent
> * the parent of the RubberStamp (usually a page).
> */
> public void setParent( COSObjectable myparent ) {
> getDictionary().setItem( COSName.PARENT, myparent.getDictionary() );
> }
> The setParent is needed to build correctly RubberStamps with a customized
> appearance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)