Bug 141992 - When we export pdf from Writer, we should be able to specify how many levels of outline should be included in the bookmarks panel
Summary: When we export pdf from Writer, we should be able to specify how many levels ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2021-04-30 12:33 UTC by NarayanAras
Modified: 2023-02-16 23:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
D:\Downloads\Bookmark panel.jpg (69.50 KB, image/jpeg)
2021-05-06 10:36 UTC, NarayanAras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NarayanAras 2021-04-30 12:33:08 UTC
Description:
When we export the file as pdf, all the outline levels are exported by default. We can only decide how many levels would appear expanded in the initial view, but cannot decide to limit the bookmark tree to the top x levels only.

If the book has deep hierarchy, and if the titles are long, the resultant bookmark tree becomes unwieldy.

It is better to trim the tree to top 3-4 levels.

Secondly, the width of the panel is kept small (about 3"). Within this width, it is impossible to show the trees with deep hierarchies.

Thirdly, the readers never use the bookmarks trees to locate a heading that is at a low (for example, 4th outline level).

Therefore, all things considered, we should have a control that allows us to export the top x level outline. (This is similar to how we can decide how many outline levels to include in a TOC.)

Steps to Reproduce:
1. Take any odt file with a deep outline hierarchy (say 7 levels)
2. Export it as pdf.
3. In the dialog box, look for control that allows us to export only top x levels of outline as bookmarks.

Actual Results:
The "Pdf export" dialog box does not have any control that allows us to select how many outline levels will be exported to bookmark tree.

Expected Results:
Such a control should exist.


Reproducible: Always


User Profile Reset: No



Additional Info:
None
Comment 1 Timur 2021-05-06 07:13:50 UTC
I think this can be safely confirmed. 
Example with levels and ToC and footnote can be attachment 118897 [details].
Comment 2 NarayanAras 2021-05-06 10:36:09 UTC
Created attachment 171686 [details]
D:\Downloads\Bookmark panel.jpg

I think the sample attached to the response is not in line with my point.

I am attaching a screenshot of a bookmark panel that is opened so wide that now it occupies 3" width of the screen (including borders, it is 4" wide). And yet it cannot show more than 4 levels of bookmarks, as shown.

We cannot expect people to use a bookmark panel that is wider than this!