Interface ReportFeature

    • Method Detail

      • create

        ReportFeature create​(java.lang.String tag,
                             java.lang.String type)
        Creates a report feature.
        Parameters:
        tag - Report feature tag.
        type - Report feature type.
        Returns:
        The created report feature.
      • discardTemplateFile

        void discardTemplateFile()
        Discards the imported imported CSS-file or Microsoft Word or PowerPoint template file, if any.
      • exportTemplateFile

        void exportTemplateFile​(java.lang.String filename)
        Exports a imported CSS-file or Microsoft Word or PowerPoint template to the specified file.
        Parameters:
        filename - Filename.
      • feature

        ReportFeatureList feature()
        Gets all children of this report feature.
        Returns:
        A list of report features.
      • feature

        ReportFeature feature​(java.lang.String tag)
        Returns the child feature with the given tag.
        Parameters:
        tag - The feature tag.
        Returns:
        A report feature.
      • generate

        void generate()
        Generates a report at the current level.
      • getSectionLevel

        int getSectionLevel()
        Gets the section level.
        Returns:
        The section level (0 for the root).
      • importTemplateFile

        void importTemplateFile()
        Imports the currently specified imported CSS-file or Microsoft Word or PowerPoint template.
      • importTemplateFile

        void importTemplateFile​(java.lang.String filename)
        Imports a imported CSS-file or Microsoft Word or PowerPoint template from the specified file.
        Parameters:
        filename - Filename.
      • refreshTemplateFile

        void refreshTemplateFile()
        Rereads the imported CSS-file or Microsoft Word or PowerPoint template file, if any.
      • run

        void run()
        Writes the report.