com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class GoToRemoteAction

  • All Implemented Interfaces:
    IAppointment


    public final class GoToRemoteAction
    extends GoToAction

    Represents a remote go-to action that is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.

    • Constructor Detail

      • GoToRemoteAction

        public GoToRemoteAction(String remotePdf,
                        int remotePageNumber)

        Initializes GoToRemoteAction object.

        Parameters:
        remotePdf - Destination PDF document.
        remotePageNumber - Destination page number.
      • GoToRemoteAction

        public GoToRemoteAction(String remotePdf,
                        ExplicitDestination destination)

        Initializes GoToRemoteAction object.

        Parameters:
        remotePdf - Destination PDF document.
        destination - Destination in the PDF document.
    • Method Detail

      • getFile

        public FileSpecification getFile()

        Gets the specification of the file in which the destination is located.

        Returns:
        FileSpecification object
      • setFile

        public void setFile(FileSpecification value)

        Sets the specification of the file in which the destination is located.

        Parameters:
        value - FileSpecification value
      • getNewWindow

        public int getNewWindow()

        Gets a flag specifying whether to open the destination document in a new window.

        Returns:
        ExtendedBoolean element
        See Also:
        ExtendedBoolean
      • setNewWindow

        public void setNewWindow(int value)

        Sets a flag specifying whether to open the destination document in a new window.

        Parameters:
        value - ExtendedBoolean element
        See Also:
        ExtendedBoolean
      • setDestination

        public void setDestination(IAppointment value)

        Sets the destination to jump to.

        Overrides:
        setDestination in class GoToAction
        Parameters:
        value - destination to jump