Created attachment 155876 [details] Index headings in document structure of PDF If an odt. document contains - a Table of Contents - a Table of Figures and - a Bibliography, and you export this file as a PDF, with the options "Tagged PDF (add document structure)" and "Export bookmarks", the navigation area / document structure in the generated PDF file does not contain the elements with the names - "Table of Contents" - "Table of Figures" and - "Bibliography". My PDF viewer is Okular. The same behaviour occurs if the PDF file is viewed in Firefox. This behaviour probably affects all other indexes. For a demonstration refer to the three attached files.
Created attachment 155877 [details] Generated PDF
Created attachment 155878 [details] Screenshot of PDF
Created attachment 155879 [details] revised version of .odt file Version: 6.4.0.0.alpha1 (x64) Build ID: cc57df8f942f239d29cb575ea5a7cb01405db787 CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; Locale: en-US (en_DK); UI-Language: en-US 1. With the attachment 155876 [details]: Only Heading 1 was shown the PDF viewer. (which also seems to be the case with the initial report. 2. Modified the Style for Table of Figures and Bibliography -- changing the Outline Level from Text Body to Level 1. Now all three headers are shown with the PDF export. Will attached the revised .odt file If that was what was desired, then maybe this is notabug?
Thanks for your revised odt file. Yes, that's how I would like to have my PDF files if I export your revised odt file. Although the "Table of Contents" entry should also be displayed in the navigation area / document structure of the PDF file, too, it is still missing. But let me first focus on this here: > Modified the Style for Table of Figures and Bibliography > -- changing the Outline Level from Text Body to Level 1. I compared the TOC settings, the Table of Figures settings and the Bibliography settings in my original odt file with your revised odt file, I cannot see any differences. According to me, it is only possible to change the Outline Level from Text Body to Level 1 in the TOC settings, on the "Type" tab => "Assign styles" button, but I already changed there the level settings for "Bibliography Index Heading" and "Figure Index Heading" to Level 1 in my original file. The Table of Figures settings seem to be identical in both your revised and my original odt file. The Bibliography settings seem to be identical in both your revised and my original odt file. So I do not know which changes you made in your revised odt file. I am using Linux Debian 10.2, if this is of any importance.
Jens, you can change outline level as follows: 1. Open paragraph styles in sidebar 2. Choos Modify in context menu 3. Change outline level in outline and numbering style So for me it's a lack of information in documentation [1]. [1] https://help.libreoffice.org/6.4/en-US/text/shared/01/ref_pdf_export.html?System=WIN&DbPAR=WRITER&HID=filter/ui/pdfgeneralpage/PdfGeneralPage#bm_id1033968 Jens, if you agree, please change satus to NEW
(In reply to Dieter Praas from comment #5) > Jens, you can change outline level as follows: > 1. Open paragraph styles in sidebar > 2. Choos Modify in context menu > 3. Change outline level in outline and numbering style Hi Dieter, thanks for your information to resolve this issue. I am not using the LO Writer Sidebar due to the limited size of my screen (laptop screen), it is permanently closed on my computer. One alternatively can access that option to change the outline to level 1 by right-clicking a heading, then "Paragraph", then "Edit style". The user behind the mail adress sdc.blanco@youmail.dk already informed me about how to solve this issue by email to my mail adress yesterday because he or she thought that I reported this issue to receive help here. Many thanks to sdc.blanco@youmail.dk. > So for me it's a lack of information in documentation [1]. Yes, I agree with you. > [1] > https://help.libreoffice.org/6.4/en-US/text/shared/01/ref_pdf_export. > html?System=WIN&DbPAR=WRITER&HID=filter/ui/pdfgeneralpage/ > PdfGeneralPage#bm_id1033968 How about additionally creating a How-To with a title like "How to manually create an element ("bookmark") of an index heading in the document structure of PDF files"? > Jens, if you agree, please change satus to NEW Yes, I will do that, thanks.
Only "Export bookmarks" ("Export outlines" in 7.1) is needed for what you want. Tagged PDF provides meta-data about the layout of the file. Often used for accessibility. Nothing to do with PDF bookmarks. I will try to adjust the explanation in the help page. Try making a PDF with bookmarks, without using "Tagged PDF", but with "Export bookmarks". You may notice a difference in the size of the PDF file with and without Tagged PDF. Have changed bug summary to better reflect the request, and changed to enhancement.
Seth Chaiklin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/1e2a67f38e12e25fdc9ea26b13680ee2c8c84e5c tdf#128837 add "note" about outline levels and export to PDF bookmarks
Verified. Changes are now part of https://help.libreoffice.org/7.1/en-US/text/shared/01/ref_pdf_export_general.html?&DbPAR=WRITER&System=WIN Seth, thanks for fixing it!