devtools-protocol 0.0.1225305 → 0.0.1226504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17998,6 +17998,13 @@
|
|
17998
17998
|
"experimental": true,
|
17999
17999
|
"optional": true,
|
18000
18000
|
"type": "boolean"
|
18001
|
+
},
|
18002
|
+
{
|
18003
|
+
"name": "generateDocumentOutline",
|
18004
|
+
"description": "Whether or not to embed the document outline into the PDF.",
|
18005
|
+
"experimental": true,
|
18006
|
+
"optional": true,
|
18007
|
+
"type": "boolean"
|
18001
18008
|
}
|
18002
18009
|
],
|
18003
18010
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8307,6 +8307,8 @@ domain Page
|
|
8307
8307
|
ReturnAsStream
|
8308
8308
|
# Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
8309
8309
|
experimental optional boolean generateTaggedPDF
|
8310
|
+
# Whether or not to embed the document outline into the PDF.
|
8311
|
+
experimental optional boolean generateDocumentOutline
|
8310
8312
|
returns
|
8311
8313
|
# Base64-encoded pdf data. Empty if |returnAsStream| is specified.
|
8312
8314
|
binary data
|
package/types/protocol.d.ts
CHANGED
@@ -13856,6 +13856,10 @@ export namespace Protocol {
|
|
13856
13856
|
* Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
13857
13857
|
*/
|
13858
13858
|
generateTaggedPDF?: boolean;
|
13859
|
+
/**
|
13860
|
+
* Whether or not to embed the document outline into the PDF.
|
13861
|
+
*/
|
13862
|
+
generateDocumentOutline?: boolean;
|
13859
13863
|
}
|
13860
13864
|
|
13861
13865
|
export interface PrintToPDFResponse {
|