pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Scholtz (JIRA)" <j...@apache.org>
Subject [jira] Created: (PDFBOX-609) PDAnnotationRubberStamp is missing a setParent method
Date Thu, 04 Feb 2010 15:46:28 GMT
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.


Mime
View raw message