You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/02/25 07:59:25 UTC

svn commit: r1825290 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action: PDActionLaunch.java PDActionRemoteGoTo.java

Author: tilman
Date: Sun Feb 25 07:59:25 2018
New Revision: 1825290

URL: http://svn.apache.org/viewvc?rev=1825290&view=rev
Log:
PDFBOX-4117: remove deprecated

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionLaunch.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionRemoteGoTo.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionLaunch.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionLaunch.java?rev=1825290&r1=1825289&r2=1825290&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionLaunch.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionLaunch.java Sun Feb 25 07:59:25 2018
@@ -209,36 +209,6 @@ public class PDActionLaunch extends PDAc
     }
 
     /**
-     * This will specify whether to open the destination document in a new window.
-     * If this flag is false, the destination document will replace the current
-     * document in the same window. If this entry is absent, the viewer application
-     * should behave in accordance with the current user preference. This entry is
-     * ignored if the file designated by the F entry is not a PDF document.
-     *
-     * @return A flag specifying whether to open the destination document in a new window.
-     * 
-     * @deprecated use {@link #getOpenInNewWindow()}
-     */
-    @Deprecated
-    public boolean shouldOpenInNewWindow()
-    {
-        return action.getBoolean(COSName.NEW_WINDOW, true);
-    }
-
-    /**
-     * This will specify the destination document to open in a new window.
-     *
-     * @param value The flag value.
-     * 
-     * @deprecated use {@link #setOpenInNewWindow(OpenMode)}
-     */
-    @Deprecated
-    public void setOpenInNewWindow( boolean value )
-    {
-        action.setBoolean(COSName.NEW_WINDOW, value);
-    }
-
-    /**
      * This will specify whether to open the destination document in a new window, in the same
      * window, or behave in accordance with the current user preference.
      *

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionRemoteGoTo.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionRemoteGoTo.java?rev=1825290&r1=1825289&r2=1825290&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionRemoteGoTo.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDActionRemoteGoTo.java Sun Feb 25 07:59:25 2018
@@ -111,35 +111,6 @@ public class PDActionRemoteGoTo extends
     }
 
     /**
-     * This will specify whether to open the destination document in a new window.
-     * If this flag is false, the destination document will replace the current
-     * document in the same window. If this entry is absent, the viewer application
-     * should behave in accordance with the current user preference.
-     *
-     * @return A flag specifying whether to open the destination document in a new window.
-     * 
-     * @deprecated use {@link #getOpenInNewWindow()}
-     */
-    @Deprecated
-    public boolean shouldOpenInNewWindow()
-    {
-        return action.getBoolean(COSName.NEW_WINDOW, true );
-    }
-
-    /**
-     * This will specify the destination document to open in a new window.
-     *
-     * @param value The flag value.
-     * 
-     * @deprecated use {@link #setOpenInNewWindow(OpenMode)}
-     */
-    @Deprecated
-    public void setOpenInNewWindow( boolean value )
-    {
-        action.setBoolean(COSName.NEW_WINDOW, value );
-    }
-
-    /**
      * This will specify whether to open the destination document in a new window, in the same
      * window, or behave in accordance with the current user preference.
      *