Class PDActionImportData

java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.PDAction
org.apache.pdfbox.pdmodel.interactive.action.PDActionImportData
All Implemented Interfaces:
COSObjectable, PDDestinationOrAction

public class PDActionImportData extends PDAction
Author:
Timur Kamalov
  • Field Details

  • Constructor Details

    • PDActionImportData

      public PDActionImportData()
      Default constructor.
    • PDActionImportData

      public PDActionImportData(COSDictionary a)
      Constructor.
      Parameters:
      a - The action dictionary.
  • Method Details

    • getFile

      public PDFileSpecification getFile() throws IOException
      This will get the file in which the destination is located.
      Returns:
      The F entry of the specific Submit-From action dictionary.
      Throws:
      IOException - If there is an error creating the file spec.
    • setFile

      public void setFile(PDFileSpecification fs)
      This will set the file in which the destination is located.
      Parameters:
      fs - The file specification.