Class HtmlStreamExportDialog

    • Constructor Detail

      • HtmlStreamExportDialog

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

        public HtmlStreamExportDialog​(Dialog owner)
        Creates a new HTML export dialog.
        Parameters:
        owner - the dialog owner.
      • HtmlStreamExportDialog

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

      • getHTMLTitle

        public String getHTMLTitle()
        Returns the title of the HTML file.
        Returns:
        the title
      • setHTMLTitle

        public void setHTMLTitle​(String title)
        Defines the title of the HTML file.
        Parameters:
        title - the title
      • getAuthor

        public String getAuthor()
        Gets the author of the dialog. This is not yet implemented in the HTML-Target.
        Returns:
        the name of the author of this report.
      • setAuthor

        public void setAuthor​(String author)
        Defines the Author of the report. Any freeform text is valid. This defaults to the value of the systemProperty "user.name".
        Parameters:
        author - the name of the author.
      • setKeywords

        public void setKeywords​(String keywords)
      • getKeywords

        public String getKeywords()
      • setDescription

        public void setDescription​(String description)
      • getDescription

        public String getDescription()
      • 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:
      • getFilename

        public String getFilename()
        Returns the directory file name.
        Returns:
        The directory file name.
      • setFilename

        public void setFilename​(String dirFilename)
        Sets the directory file name.
        Parameters:
        dirFilename - the file name.
      • isStrictLayout

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

        public void setStrictLayout​(boolean s)
        Sets the 'strict layout' check-box.
        Parameters:
        s - boolean.
      • getEncoding

        public String getEncoding()
        Returns the selected encoding.
        Returns:
        The encoding name.
      • setEncoding

        public void setEncoding​(String encoding)
        Sets the encoding.
        Parameters:
        encoding - the encoding name.
      • 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