Class PdfExportDialog

    • Constructor Detail

      • PdfExportDialog

        public PdfExportDialog()
        Creates a non-modal dialog without a title and without a specified Frame owner. A shared, hidden frame will be set as the owner of the dialog.
      • PdfExportDialog

        public PdfExportDialog​(Frame owner)
        Creates a non-modal dialog without a title with the specified Frame as its owner. If owner is null, a shared, hidden frame will be set as the owner of the dialog.
        Parameters:
        owner - the Frame from which the dialog is displayed
      • PdfExportDialog

        public PdfExportDialog​(Dialog owner)
        Creates a non-modal dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the non-null Dialog from which the dialog is displayed
    • Method Detail

      • grabDialogContents

        protected org.pentaho.reporting.libraries.base.config.Configuration grabDialogContents​(boolean full)
        Returns a new (and not connected to the default config from the job) configuration containing all properties from the dialog.
        Specified by:
        grabDialogContents in class AbstractExportDialog
        Parameters:
        full -
        Returns:
      • setDialogContents

        protected void setDialogContents​(org.pentaho.reporting.libraries.base.config.Configuration config)
        Specified by:
        setDialogContents in class AbstractExportDialog
      • updateSecurityPanelEnabled

        protected void updateSecurityPanelEnabled()
        Updates the security panel state. If no encryption is selected, all security setting components will be disabled.
      • performSelectFile

        protected void performSelectFile()
        selects a file to use as target for the report processing.
      • setPrintLevel

        public void setPrintLevel​(String printLevel)
        Defines whether the user is allowed to print the file. If this right is granted, the user is also able to print a degraded version of the file, regardless of the allowDegradedPrinting
      • getPrintLevel

        public String getPrintLevel()
      • getEncryptionValue

        public String getEncryptionValue()
        Queries the currently selected encryption. If an encryption is selected this method returns either Boolean.TRUE or Boolean.FALSE, when no encryption is set, null is returned. If no encryption is set, the security properties have no defined state.
        Returns:
        the selection state for the encryption. If no encryption is set, this method returns null, if 40-bit encryption is set, the method returns Boolean.FALSE and on 128-Bit-encryption, Boolean.TRUE is returned.
      • setEncryptionValue

        public void setEncryptionValue​(String b)
        Defines the currently selected encryption.
        Parameters:
        b - the new encryption state, one of null, Boolean.TRUE or Boolean.FALSE