Class RTFExportDialog

    • Constructor Detail

      • RTFExportDialog

        public RTFExportDialog​(Frame owner)
        Creates a new Excel save dialog.
        Parameters:
        owner - the dialog owner.
      • RTFExportDialog

        public RTFExportDialog​(Dialog owner)
        Creates a new Excel dialog.
        Parameters:
        owner - the dialog owner.
      • RTFExportDialog

        public RTFExportDialog()
        Creates a new Excel save dialog. The created dialog is modal.
    • Method Detail

      • getFilename

        public String getFilename()
        Returns the filename of the RTF file.
        Returns:
        the name of the file where to save the RTF file.
      • setFilename

        public void setFilename​(String filename)
        Defines the filename of the RTF file.
        Parameters:
        filename - the filename of the RTF file
      • isStrictLayout

        public boolean isStrictLayout()
        Returns the setting of the 'strict layout' check-box.
        Returns:
        A boolean.
      • setStrictLayout

        public void setStrictLayout​(boolean strictLayout)
        Sets the 'strict-layout' check-box.
        Parameters:
        strictLayout - the new setting.
      • 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)
        Initialises the Excel export dialog from the settings in the report configuration.
        Specified by:
        setDialogContents in class AbstractExportDialog
        Parameters:
        config - the report configuration.
      • performSelectFile

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

        public boolean performValidate()
        Validates the contents of the dialog's input fields. If the selected file exists, it is also checked for validity.
        Specified by:
        performValidate in class AbstractExportDialog
        Returns:
        true, if the input is valid, false otherwise