Hi, it's not part of the Viewer Preferences so can not be set in the PDF directly. You could inject a JavaScript which is executed when the document opens. As short sample for such JavaScript is available in the examples package for PDFBox 2.0.0 under org.apache.pdfbox.examples.interactive.form.UpdateFieldOnDocumentOpen.
The issue with executing menu items is that this is a restricted function so it might be available if the PDF is not certified. Lookup the function execMenuItem in the Acrobat SDK JavaScript Reference. BR Maruan > Am 21.10.2015 um 18:17 schrieb Gary Grosso <gary.gro...@oberontech.com>: > > I am looking for a way to say in a PDF document that it should open with the > Navigation Pane open. Not sure if this is even possible; it may strictly be a > user preference. > > Thanks, > Gary Grosso > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org