mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	desktop app(export pdf): enable document outline and PDF tags generation
This commit is contained in:
		| @@ -76,6 +76,8 @@ ipcMain.on("export-as-pdf", async (e, opts: ExportAsPdfOpts) => { | |||||||
|     try { |     try { | ||||||
|         buffer = await browserWindow.webContents.printToPDF({ |         buffer = await browserWindow.webContents.printToPDF({ | ||||||
|             landscape: opts.landscape, |             landscape: opts.landscape, | ||||||
|  |             generateDocumentOutline: true, | ||||||
|  |             generateTaggedPDF: true, | ||||||
|             displayHeaderFooter: true, |             displayHeaderFooter: true, | ||||||
|             headerTemplate: `<div></div>`, |             headerTemplate: `<div></div>`, | ||||||
|             footerTemplate: ` |             footerTemplate: ` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user