I am looking at scoped storage, SAF and so on in Android 11, but didn't find anything about how to create ItextPDF or JXL excel files. Usually we create new File object, with some path on device or external memory. But how to do that now in Android 11? I need it only to send it to printer or share.
WritableWorkbook workbook = Workbook.createWorkbook(file, wbSettings);
...