[ 
https://issues.apache.org/jira/browse/PDFBOX-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833567#action_12833567
 ] 

Andreas Lehmkühler commented on PDFBOX-609:
-------------------------------------------

I've tried to find a hint in the pdf reference that a rubber stamp annotation 
needs a reference to its parent, but I can't find any. Where do you read about 
it?

> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to