Page 1 of 1

Question about initial view

Posted: Fri Oct 07, 2022 8:36 pm
by susannecm
Hi,
Is it possible to customize the view that is used when a PDF document is opened (that is, the layout and magnification settings that are available in the "Initial View" tab of the "Document Properties" dialog box in Adobe Acrobat)?
Kind regards
Susanne

Re: Question about initial view

Posted: Mon Oct 10, 2022 3:31 am
by chrispitude
Hi Susanne,

In the documentation here:

PDF Chemistry > CSS Properties

you will find some -oxy-pdf-viewer-* CSS properties that allow you to configure the default view properties when the PDF is opened:

Code: Select all

-oxy-pdf-viewer-zoom
-oxy-pdf-viewer-hide-toolbar
-oxy-pdf-viewer-hide-menubar
-oxy-pdf-viewer-fit-window
-oxy-pdf-viewer-page-mode
-oxy-pdf-viewer-page-layout

Re: Question about initial view

Posted: Mon Oct 10, 2022 10:12 am
by julien_lacour
Hi Susanne,

There are also some examples available in the How to Control the PDF Viewer topic.

They are in the user-guide related to DITA transformations but they can be applied on all document types.

Regards,
Julien

Re: Question about initial view

Posted: Mon Oct 10, 2022 6:08 pm
by susannecm
Awesome :) - thanks to both of you!