pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1839596 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation: PDAnnotationLine.java PDAnnotationSquareCircle.java
Date Wed, 29 Aug 2018 18:50:26 GMT
Author: tilman
Date: Wed Aug 29 18:50:26 2018
New Revision: 1839596

URL: http://svn.apache.org/viewvc?rev=1839596&view=rev
Log:
PDFBOX-3353: remove methods that are already in the base class

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSquareCircle.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java?rev=1839596&r1=1839595&r2=1839596&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
Wed Aug 29 18:50:26 2018
@@ -271,34 +271,6 @@ public class PDAnnotationLine extends PD
     }
 
     /**
-     * This will set the border style dictionary, specifying the width and dash pattern used
in drawing the line.
-     *
-     * @param bs the border style dictionary to set.
-     *
-     */
-    @Override
-    public void setBorderStyle(PDBorderStyleDictionary bs)
-    {
-        this.getCOSObject().setItem(COSName.BS, bs);
-    }
-
-    /**
-     * This will retrieve the border style dictionary, specifying the width and dash pattern
used in drawing the line.
-     *
-     * @return the border style dictionary.
-     */
-    @Override
-    public PDBorderStyleDictionary getBorderStyle()
-    {
-        COSBase bs = getCOSObject().getDictionaryObject(COSName.BS);
-        if (bs instanceof COSDictionary)
-        {
-            return new PDBorderStyleDictionary((COSDictionary) bs);
-        }
-        return null;
-    }
-
-    /**
      * This will retrieve the length of the leader line.
      * 
      * @return the length of the leader line

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSquareCircle.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSquareCircle.java?rev=1839596&r1=1839595&r2=1839596&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSquareCircle.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationSquareCircle.java
Wed Aug 29 18:50:26 2018
@@ -135,36 +135,6 @@ public abstract class PDAnnotationSquare
     }
 
     /**
-     * This will set the border style dictionary, specifying the width and dash pattern used
in
-     * drawing the line.
-     *
-     * @param bs the border style dictionary to set. TODO not all annotations may have a
BS entry
-     *
-     */
-    @Override
-    public void setBorderStyle(PDBorderStyleDictionary bs)
-    {
-        this.getCOSObject().setItem(COSName.BS, bs);
-    }
-
-    /**
-     * This will retrieve the border style dictionary, specifying the width and dash pattern
used in
-     * drawing the line.
-     *
-     * @return the border style dictionary. TODO not all annotations may have a BS entry
-     */
-    @Override
-    public PDBorderStyleDictionary getBorderStyle()
-    {
-        COSBase bs = getCOSObject().getDictionaryObject(COSName.BS);
-        if (bs instanceof COSDictionary)
-        {
-            return new PDBorderStyleDictionary((COSDictionary) bs);
-        }
-        return null;
-    }
-
-    /**
      * This will set the difference between the annotations "outer" rectangle defined by
/Rect and
      * the border.
      *



Mime
View raw message