public class CefPdfPrintSettings
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CefPdfPrintSettings.MarginType |
| Modifier and Type | Field and Description |
|---|---|
boolean |
display_header_footer
Set to true to print headers and footers or false to not print
headers and footers.
|
java.lang.String |
footer_template
HTML template for the print footer.
|
boolean |
generate_document_outline
Whether or not to embed the document outline into the PDF.
|
boolean |
generate_tagged_pdf
Whether or not to generate tagged (accessible) PDF.
|
java.lang.String |
header_template
HTML template for the print header.
|
boolean |
landscape
Set to true for landscape mode or false for portrait mode.
|
double |
margin_bottom |
double |
margin_left |
double |
margin_right |
double |
margin_top
Margins in inches.
|
CefPdfPrintSettings.MarginType |
margin_type
Margin type.
|
java.lang.String |
page_ranges
Paper ranges to print, one based, e.g., '1-5, 8, 11-13'.
|
double |
paper_height |
double |
paper_width
Output paper size in inches.
|
boolean |
prefer_css_page_size
Set to true to prefer page size as defined by css.
|
boolean |
print_background
Set to true to print background graphics or false to not print
background graphics.
|
double |
scale
The percentage to scale the PDF by before printing (e.g.
|
| Constructor and Description |
|---|
CefPdfPrintSettings() |
| Modifier and Type | Method and Description |
|---|---|
CefPdfPrintSettings |
clone() |
public boolean display_header_footer
public java.lang.String footer_template
public boolean generate_document_outline
public boolean generate_tagged_pdf
public java.lang.String header_template
public boolean landscape
public double margin_bottom
public double margin_left
public double margin_right
public double margin_top
public CefPdfPrintSettings.MarginType margin_type
public java.lang.String page_ranges
public double paper_height
public double paper_width
public boolean prefer_css_page_size
public boolean print_background
public double scale
public CefPdfPrintSettings clone()
clone in class java.lang.Object