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
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]
Created attachment 155878 [details]
Screenshot of PDF
Created attachment 155879 [details]
revised version of .odt file
Version: 126.96.36.199.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 .
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 firstname.lastname@example.org 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 email@example.com.
> So for me it's a lack of information in documentation .
Yes, I agree with you.
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.