com.groupdocs.viewer.domain.options

Class PdfFileOptions



  • public class PdfFileOptions
    extends Object

    Class PdfFileOptions.

    • Constructor Detail

      • PdfFileOptions

        public PdfFileOptions()

        Initializes a new instance of the PdfFileOptions class.

      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        transformations - The desired transformations.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 Watermark watermark)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        watermark - The watermark.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 boolean addPrintAction)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        addPrintAction - Indicates whether add print action.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 boolean addPrintAction,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        transformations - The desired transformations.
        addPrintAction - Indicates whether add print action.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 boolean addPrintAction,
                                 Watermark watermark,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        transformations - The desired transformations.
        addPrintAction - Indicates whether add print action.
        watermark - The watermark
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
        transformations - The desired transformations.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password,
                                 Watermark watermark)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
        watermark - The watermark.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password,
                                 boolean addPrintAction)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
        addPrintAction - Indicates whether add print action.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password,
                                 boolean addPrintAction,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
        transformations - The desired transformations.
        addPrintAction - Indicates whether add print action.
      • PdfFileOptions

        @Deprecated
        public PdfFileOptions(String guid,
                                 String password,
                                 boolean addPrintAction,
                                 Watermark watermark,
                                 Transformation... transformations)
        Deprecated. 

        Initializes a new instance of the PdfFileOptions class.

        Please use parameterless constructor.
        Parameters:
        guid - The unique identifier.
        password - The file password.
        transformations - The desired transformations.
        addPrintAction - Indicates whether add print action.
        watermark - The watermark
    • Method Detail

      • getGuid

        @Deprecated
        public String getGuid()
        Deprecated. 

        The unique identifier.

        Please use parameterless constructor.
        Returns:
        the GUID
      • setGuid

        @Deprecated
        public void setGuid(String value)
        Deprecated. 

        The unique identifier.

        Please use parameterless constructor.
        Parameters:
        value - the value
      • getPassword

        public String getPassword()

        The password.

        Value: The password.
        Returns:
        the password
      • setPassword

        public void setPassword(String value)

        The password.

        Value: The password.
        Parameters:
        value - the value
      • getAddPrintAction

        public boolean getAddPrintAction()

        Indicates whether print action should be added to PDF document or not. The print action is JavaScript action that opens print dialog when document is opened.

        Value: The add print action indicator.
        Returns:
        the add print action
      • setAddPrintAction

        public void setAddPrintAction(boolean value)

        Indicates whether print action should be added to PDF document or not. The print action is JavaScript action that opens print dialog when document is opened.

        Value: The add print action indicator.
        Parameters:
        value - the value
      • getWatermark

        public Watermark getWatermark()

        The watermark.

        Value: The watermark.
        Returns:
        the watermark
      • setWatermark

        public void setWatermark(Watermark value)

        The watermark.

        Value: The watermark.
        Parameters:
        value - the value
      • getTransformations

        public int getTransformations()

        Gets or sets desired transformations, the default value is None

        Returns:
        the transformations
      • setTransformations

        public void setTransformations(Transformation... transformations)

        Gets or sets desired transformations

        Parameters:
        transformations - the value
      • setTransformations

        public void setTransformations(int value)
        Sets transformations.
        Parameters:
        value - the value
      • getCellsOptions

        public CellsOptions getCellsOptions()

        Gets or sets cells options.

        Returns:
        the cells options
      • setCellsOptions

        public void setCellsOptions(CellsOptions value)

        Gets or sets cells options.

        Parameters:
        value - the value
      • getDiagramOptions

        public DiagramOptions getDiagramOptions()

        Gets or sets Diagram options.

      • setDiagramOptions

        public void setDiagramOptions(DiagramOptions value)

        Gets or sets Diagram options.

      • getEmailOptions

        public EmailOptions getEmailOptions()

        Gets or sets email options.

        Returns:
        the email options
      • setEmailOptions

        public void setEmailOptions(EmailOptions value)

        Gets or sets Words options.

        Parameters:
        value - the value
      • getWordsOptions

        public WordsOptions getWordsOptions()

        Gets or sets Words options.

        Returns:
        the words options
      • setWordsOptions

        public void setWordsOptions(WordsOptions value)

        Gets or sets email options.

        Parameters:
        value - the value
      • getPdfOptions

        public PdfOptions getPdfOptions()

        Gets or sets PDF options.

      • setPdfOptions

        public void setPdfOptions(PdfOptions value)

        Gets or sets PDF options.