Interface WorkbookExporter

    • Method Detail

      • beginExport

        default void beginExport​(cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Invoked to notify the beginning of export.
        Parameters:
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • endExport

        default void endExport​(cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Invoked to notify the end of export.
        Parameters:
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • fromDelegates

        static WorkbookExporter fromDelegates​(WorkbookExporter def,
                                              Function<String,​SheetExporter> function)
        Creates a delegating workbook exporter.

        When the export of a sheet starts, an appropriate sheet exporter is selected, if possible, among delegates. If no appropriate sheet exporter is found, the default workbook exporter is used. The default will usually ignore things.

        Parameters:
        def - The default workbook exporter.
        It can be QUIET_VOID, VERBOSE_VOID, or any other valid WorkbookExporter.
        function - The function that maps template names to the associated sheet exporters.
        Returns:
        A new WorkbookExporter that delegates export if possible, or use the default workbook exporter otherwise.
      • fromDelegates

        static WorkbookExporter fromDelegates​(WorkbookExporter def,
                                              Map<String,​SheetExporter> map)
        Creates a delegating workbook exporter.
        Parameters:
        def - The default workbook exporter.
        It can be QUIET_VOID, VERBOSE_VOID, or any other valid WorkbookExporter.
        map - The map from template names to the associated sheet exporters.
        Returns:
        A new WorkbookExporter that delegates export if possible, or use the default workbook exporter otherwise.