You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/11/06 08:35:34 UTC

[jira] [Closed] (PDFBOX-609) PDAnnotationRubberStamp is missing a setParent method

     [ 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)