Class ExcelExportDialog

    • Constructor Detail

      • ExcelExportDialog

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

        public ExcelExportDialog​(Dialog owner)
        Creates a new Excel dialog.
        owner - the dialog owner.
      • ExcelExportDialog

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

      • getFilename

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

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

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

        public void setStrictLayout​(boolean strictLayout)
        Sets the 'strict-layout' check-box.
        strictLayout - the new setting.
      • 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
        true, if the input is valid, false otherwise
      • 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
        config - the report configuration.
      • 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
        full -