Question about initial view

Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
susannecm
Posts: 114
Joined: Wed Mar 17, 2010 1:04 pm

Question about initial view

Post 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
chrispitude
Posts: 922
Joined: Thu May 02, 2019 2:32 pm

Re: Question about initial view

Post 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
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: Question about initial view

Post 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
susannecm
Posts: 114
Joined: Wed Mar 17, 2010 1:04 pm

Re: Question about initial view

Post by susannecm »

Awesome :) - thanks to both of you!
Post Reply