Created attachment 183797 [details] Example file with comment When the attached file with a comment in the margin is exported to PDF with PDF/UA enabled and the file is checked in the PAC tool, the reported error is "Text object not tagged". 1, Open attached file 2, In the Print dialog, LO Writer tab set the Comments option to "Place in margins" (somehow this is also applied to the PDF export), and press Cancel (no print happens, but the option setting is retained). 2, Export it as PDF, with enabled PDF/UA option. 3, Check with the PAC tool: https://pdfua.foundation/en/pdf-accessibility-checker-pac PAC would report the error on the attached screenshot. VeraPDF https://demo.verapdf.org/ with PDF/UA setting on the second page, reports: Validation information Rule Status Specification: ISO 14289-1:2014, Clause: 7.1, Test number: 3 Content shall be marked as Artifact or tagged as real content Failed 3 occurrences Hide SESimpleContentItem parentStructureTag != null || parentsTags.split('&').filter(elem => elem == 'Artifact').length > 0 root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[15]/contentItem[0] root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[15]/contentItem[1] root/document[0]/pages[0](1 0 obj PDPage)/contentStream[0](2 0 obj PDSemanticContentStream)/content[15]/contentItem[2] Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5116d6ad85d804e7b7897bc57a4a4bf9d5bed4f1 CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (hu_HU); UI: en-US Calc: threaded
Created attachment 183798 [details] The example file exported to PDF
Created attachment 183799 [details] Screenshot of the issue in the PAC tool
I repro. Note: there is no longer need to set the option in Print dialog. The PDF export dialog has a checkbox option to add comments to margin. As a matter of fact, the Print dialog trick does not even work anymore by itself. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a179f6c91692076e7e17babf4890638caa398384 CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded