Copy link to clipboard
Copied
Hello,
Can someone please tell me how to change the navigation pane settings for a specific PDF file.
For example, I have some PDF's that display a navigation pane on the left when I open them. I also have some PDF's that do not display a navigation pane on the left when I open them.
I need to make them all the same way by either removing the navigation pane to some or by adding a navigation to some. Please tell me how to do this.
Please see pictures below. Thank you,
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Anyone out there?
Copy link to clipboard
Copied
Change your document properties and view. Then try saving and securing the PDF.
Copy link to clipboard
Copied
The first thing I did was go to the properties, intial view section. However, all of my PDF's have exactly the same settings in the properties, intial view section.
Please see below.
Copy link to clipboard
Copied
Does anyone know how to do this?
Copy link to clipboard
Copied
Does anyone understand what I am explaining?
Copy link to clipboard
Copied
I assume you want control over the different collapsed views--one with icons and one without. Is that correct?
It might be handled by a JavaScript but I can't get a PDF to stay without any icons showing up upon re-opening.
Copy link to clipboard
Copied
Yes, that is corect.
How do I remove the icons from a PDF and save it so they dont appear when I open it?
How do I add the icons from a PDF and save it so they do appear when I open it?
Thank you,
Copy link to clipboard
Copied
I figured it out. All you need to do is either collape or expand the navigation pane to a PDF and check the box "restore last view setting when reopening documents" in the preferences.
Copy link to clipboard
Copied
Is there a way to permanently remove the standards icon from the navigation pane, for a specific document? I only have one document the shows the standards icon in the navigation pane when expanded.
Copy link to clipboard
Copied
Can anyone help me with this?
Copy link to clipboard
Copied
This place is a joke. I will just cancel my subscription.
Copy link to clipboard
Copied
Many of the navigation icons appear only if they are relevant. The Standards icon will always appear when the PDF conforms to one of the special standards like PDF/A, PDF/X.
Copy link to clipboard
Copied
To my knowledge, the navigation panes are not controllable by JavaScript.
Just curious, what about the icons is causing a problem?
Copy link to clipboard
Copied
this does not work
Copy link to clipboard
Copied
What does not work?
Copy link to clipboard
Copied
Keeping sidepane hidden.
Everytime I open Acrobat it is visible.
Copy link to clipboard
Copied
Yes, the navigation pane can be controlled with JavaScript, although it is not documented, and not all setting are available.
So to do this you need to experiment with the "doc.viewState" property to see what works.
First, open a PDF and setup the navigation pane.
Then run this code in the cosole window:
( you'll find a tutoial here on the console window - https://www.pdfscripting.com/public/Free_Videos.cfm#JSIntro)
this.veiwState.toSource();
If the pages panel is open you'll see something like this:
({ocgStates:null, overViewMode:2, overViewPos:240, overViewX:0, overViewY:0, pageViewLayoutMode:1, pageViewPageNum:0, pageViewX:-161, pageViewY:0, pageViewZoom:3.231109619140625, pageViewZoomType:1})
overViewMode and overViewPos indicate the navigation panel displayed and the width of the panel.
Put this code in a document script to setup the viewState when the document is opened.
this.viewState = {overViewMode:2, overViewPos:240};
All this and more is explained in this article (paid for content)
https://www.pdfscripting.com/members/Document-Navigation-using-View-States.cfm
Copy link to clipboard
Copied
thanx