Interface PrintSelectionOnly<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,SystemPrinter.HtmlSettings
public interface PrintSelectionOnly<T extends PrintSettings>
Allows configuring printing only the selected content.
Implemented by concrete PrintSettings
implementations that support configuring
printing only the selected content.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionDisables printing only the selected content.Enables printing only the selected content.boolean
Returnstrue
if printing only the selected content is enabled.
-
Method Details
-
enablePrintingSelectionOnly
T enablePrintingSelectionOnly()Enables printing only the selected content.- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
disablePrintingSelectionOnly
T disablePrintingSelectionOnly()Disables printing only the selected content.- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
isPrintingSelectionOnlyEnabled
boolean isPrintingSelectionOnlyEnabled()Returnstrue
if printing only the selected content is enabled.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-