Interface JsActionsExportToPdfBuilder

    • Method Detail

      • paperSize

        @NotNull
        JsActionsExportToPdfBuilder paperSize​(@NotNull
                                              java.lang.String size)
        Sets paper size used during export
        Parameters:
        size - named paper size, default is A4
        Returns:
        current builder
      • orientation

        @NotNull
        JsActionsExportToPdfBuilder orientation​(@NotNull
                                                java.lang.String orientation)
        Sets page orientation used during export
        Parameters:
        orientation - named page orientation, default is Portrait
        Returns:
        current builder
      • adjustWidth

        @NotNull
        JsActionsExportToPdfBuilder adjustWidth​(boolean adjustWidth)
        Sets flag to make content fit to page width
        Parameters:
        adjustWidth - true to adjust content width, default is true
        Returns:
        current builder
      • includeHeaderFooter

        @NotNull
        JsActionsExportToPdfBuilder includeHeaderFooter​(boolean includeHeaderFooter)
        Sets flag to include header and footer to exported document
        Parameters:
        includeHeaderFooter - true to include header and footer, default is true
        Returns:
        current builder