更新时间:2023-11-27 22:18:16
为其他用户更新我的解决方案:
Updating my solution for other users:
我找到了jsPDF的.output('datauristring')
方法,该方法返回了BASE64字符串.
I found the .output('datauristring')
method of the jsPDF which returns me a BASE64 String.
然后将字符串通过JSON发送到我支持的bean,并按照我的意愿进行转换.
Then the String is sent via JSON to my backed bean and converted as my will.