I have a large document with many headings and subheadings. When I export to PDF, all those headings turn into bookmarks, which is great. However, they always start out "open," which means that the bookmarks list in Acrobat is five times longer than the bookmark pane. I don't have Acrobat Pro--it's far outside my price range for software--so I can't just edit the PDF manually.
Is there a way to force the bookmarks to export "closed" instead of "open"?
Is there any other workaround you can think of that will achieve the same effect?
[Solved] Exporting to PDF with Bookmarks "Closed"
-
- Posts: 302
- Joined: Tue Mar 04, 2008 9:43 am
- Location: Vancouver, BC
[Solved] Exporting to PDF with Bookmarks "Closed"
Last edited by TheRealOrion on Sat Dec 19, 2009 1:03 am, edited 1 time in total.
LibreOffice 5.2.5.1 on MacBook OS X 10.12.3, "Sierra"
Re: Exporting to PDF with Bookmarks "Closed"
See the options in File/Export As PDF, Links tab.
LibreOffice 3.5.4 AOo-3.4 on Win 7 Ultimate
-
- Posts: 302
- Joined: Tue Mar 04, 2008 9:43 am
- Location: Vancouver, BC
Re: Exporting to PDF with Bookmarks "Closed"
Yeah, that's where I've been looking. The options I see are:
"Export bookmarks as named destinations."
"Convert document references to PDF targets."
"Export URLs relative to file system."
"Cross-Document Links: Default Mode, Open with PDF reader application, Open with Internet browser."
Does one of those handle open/closed bookmarks? None of the names would seem to suggest that, but I don't entirely understand all of them.
"Export bookmarks as named destinations."
"Convert document references to PDF targets."
"Export URLs relative to file system."
"Cross-Document Links: Default Mode, Open with PDF reader application, Open with Internet browser."
Does one of those handle open/closed bookmarks? None of the names would seem to suggest that, but I don't entirely understand all of them.
LibreOffice 5.2.5.1 on MacBook OS X 10.12.3, "Sierra"
Re: Exporting to PDF with Bookmarks "Closed"
The setting you're looking for is on the Initial view tab of the pdf export dialog. Set Panes to Page only.
Note that not all software will respect this setting. Foxit reader 2.2 does not, while Adobe reader 9.2 does. I'm not at the Mac right now, so I can't check how Preview behaves (my guess is that it disregards this setting, and keeps the state from when it was previously open...). If needed, you can download Adobe reader for Mac OS-X from Adobe's web pages.
Note that not all software will respect this setting. Foxit reader 2.2 does not, while Adobe reader 9.2 does. I'm not at the Mac right now, so I can't check how Preview behaves (my guess is that it disregards this setting, and keeps the state from when it was previously open...). If needed, you can download Adobe reader for Mac OS-X from Adobe's web pages.
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
-
- Posts: 302
- Joined: Tue Mar 04, 2008 9:43 am
- Location: Vancouver, BC
Re: Exporting to PDF with Bookmarks "Closed"
No, that's not what I mean. In the bookmark menu, if you have sub-headings they appear indented, yes? If you click on a heading, its sub-headings appear and disappear. When I export a PDF, the file automatically has all the sub-headings visible. I'd like the bookmark tree to just show all the Heading 1's, which are my chapter titles. Does that make sense now? Is there a way to create that behaviour when I open the file? This is a big, reference book that I give to other people, so I'd like them to just see the chapter titles when they first open it.
LibreOffice 5.2.5.1 on MacBook OS X 10.12.3, "Sierra"
Re: Exporting to PDF with Bookmarks "Closed"
If you cannot find a solution, Orion, you could restructure your bookmarks as follows:
Set up a Table of Contents displaying Chapter Headings only. Clicking on a Chapter would then take you to a page where the subheadings for that chapter were displayed. These subheadings in turn would point to the appropriate place in the document. At the bottom of each of these subpages you might put a Return to Main Contents link for easy navigation.
Set up a Table of Contents displaying Chapter Headings only. Clicking on a Chapter would then take you to a page where the subheadings for that chapter were displayed. These subheadings in turn would point to the appropriate place in the document. At the bottom of each of these subpages you might put a Return to Main Contents link for easy navigation.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Exporting to PDF with Bookmarks "Closed"
At least the free Reader doesn't support this afaik.TheRealOrion wrote:... Is there a way to force the bookmarks to export "closed" instead of "open"?
Is there any other workaround you can think of that will achieve the same effect?
What you can do is to script the reader from outside to close the Bookmarks up to a certain level on open. If you want to deliver the behavior to other people reading your documents, you'd have to give them the script as well.
OOo 3.2.1 on ubuntu 10.4, MsWXP, MsW2k
-
- Posts: 302
- Joined: Tue Mar 04, 2008 9:43 am
- Location: Vancouver, BC
Re: Exporting to PDF with Bookmarks "Closed"
For those who are interested, I found the way to do this! I knew there was a toggle somewhere. It just took me a long time to find it.
If you go through "File" and "Export as PDF..." you get a window with several tabs of options. Under the "User Interface" tab, the last option at the bottom is "Visible Bookmark Levels" and it has a counter next to it. Set that to "1," and the only bookmarks that will be "visible" when you open the file are the ones at level one.
Voila.
If you go through "File" and "Export as PDF..." you get a window with several tabs of options. Under the "User Interface" tab, the last option at the bottom is "Visible Bookmark Levels" and it has a counter next to it. Set that to "1," and the only bookmarks that will be "visible" when you open the file are the ones at level one.
Voila.
LibreOffice 5.2.5.1 on MacBook OS X 10.12.3, "Sierra"
Re: [Solved] Exporting to PDF with Bookmarks "Closed"
You CANNOT (i repeat) CANNOT have underscores (_) in the tags/bookmarks if named destinations!!!!
OpenOffice 4.1.1 Windows 7 64-bit