Changes for page PDFExport

Last modified by SuperNico Laub on 2025/09/18 17:55

From version 1.1
edited by superadmin
on 2025/05/22 17:45
Change comment: Install extension [org.xwiki.platform:xwiki-platform-export-pdf-ui/16.10.8]
To version 2.1
edited by SuperNico Laub
on 2025/09/18 17:55
Change comment: Install extension [org.xwiki.platform:xwiki-platform-export-pdf-ui/17.7.0]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.supernico
XWiki.JavaScriptExtension[0]
Code
... ... @@ -114,7 +114,6 @@
114 114   .text(l10n['export.pdf.generator.checking'])
115 115   .prepend(renderIcon(config.icons.spinner));
116 116   return fetch(XWiki.currentDocument.getURL('get', $.param({
117 - outputSyntax: 'plain',
118 118   sheet: 'XWiki.PDFExport.WebHome',
119 119   data: 'serverSidePrintingAvailable',
120 120   }))).then(response => response.json()).then(data => {
... ... @@ -184,7 +184,6 @@
184 184   });
185 185   const locale = document.documentElement.getAttribute('lang') || '';
186 186   data.push(
187 - {name: 'outputSyntax', value: 'plain'},
188 188   {name: 'sheet', value: 'XWiki.PDFExport.WebHome'},
189 189   {name: 'action', value: 'export'},
190 190   {name: 'form_token', value: xwikiMeta.form_token},
... ... @@ -211,7 +211,6 @@
211 211   return {
212 212   url: XWiki.currentDocument.getURL('get'),
213 213   data: {
214 - outputSyntax: 'plain',
215 215   sheet: 'XWiki.PDFExport.WebHome',
216 216   data: 'jobStatus',
217 217   jobId: jobId.join('/')
... ... @@ -230,7 +230,6 @@
230 230  
231 231   const cancelPDFExportJob = (jobId) => {
232 232   return Promise.resolve($.post(XWiki.currentDocument.getURL('get'), {
233 - outputSyntax: 'plain',
234 234   sheet: 'XWiki.PDFExport.WebHome',
235 235   action: 'cancel',
236 236   form_token: xwikiMeta.form_token,