Interface PrintHeaderFooter<T extends PrintSettings>

Type Parameters:
T - the concrete print settings type
All Known Subinterfaces:
PdfPrinter.HtmlSettings, SystemPrinter.HtmlSettings

public interface PrintHeaderFooter<T extends PrintSettings>
Allows configuring printing headers and footers.

Implemented by concrete PrintSettings implementations that support configuring printing headers and footers.

Since:
7.13
  • Method Details

    • enablePrintingHeaderFooter

      T enablePrintingHeaderFooter()
      Enables printing headers and footers.
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • disablePrintingHeaderFooter

      T disablePrintingHeaderFooter()
      Disables printing headers and footers.
      Returns:
      this instance
      Throws:
      ObjectClosedException - if the current printing operation has been completed
    • isPrintingHeaderFooterEnabled

      boolean isPrintingHeaderFooterEnabled()
      Returns true if printing headers and footer is enabled.
      Throws:
      ObjectClosedException - if the current printing operation has been completed