Default PDF bookmark state

Post here questions and problems related to editing and publishing DITA content.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

Default PDF bookmark state

Post by mdslup »

I need to generate a PDF where the bookmark bar exists, but is COLLAPSED by default.

The page below explains how to *remove* bookmarks, and how to set what level of bookmarks are expanded.

https://www.oxygenxml.com/doc/versions/ ... mark_state

Neither of those is what I want. I want the bookmarks bar to exist, but be collapsed by default. In other words, I want to force the user to open the bookmarks bar themselves.
julien_lacour
Posts: 681
Joined: Wed Oct 16, 2019 3:47 pm

Re: Default PDF bookmark state

Post by julien_lacour »

Hello,

We added the support for controlling the PDF Viewer in Oxygen 24.0, with this new version you can collapse the bookmark menu by using the following rule:

Code: Select all

:root {
  -oxy-pdf-viewer-page-mode: use-none;
}
This version will be available soon (in a few weeks) so stay tuned!

Regards,
Julien
Post Reply