Other PDF Issues

Develop an Acrobat C++ Plug-In to Expand and Collapse PDF Bookmarks

Rana GarciaRana Garcia Nov 19, 2026 869 views

Question details

The developer needs guidance on building a C++ Acrobat plug-in that expands and collapses PDF bookmarks.

Develop an Acrobat C++ Plug-In to Expand and Collapse PDF Bookmarks
Product
Adobe Acrobat SDK
Device & OS
not provided
Scenario
The developer is looking for SDK documentation or examples for controlling bookmark expansion and collapse.
Observed behavior
The developer cannot find implementation guidance for the required bookmark behavior in the SDK documentation.
Before you start

Identify your Acrobat version, SDK version, compiler, operating system, and Acrobat architecture. Decide whether you need to change one bookmark, an entire branch, or all bookmarks, and whether the change should affect the visible navigation pane.

Solution 1Recommended

Review Acrobat SDK bookmark APIs and plug-in examples

Use the SDK documentation and sample projects to investigate the available bookmark and user-interface APIs for your Acrobat version.

PDF bookmark objects and the visible expansion state of the navigation pane are not necessarily controlled by the same API. Check whether your SDK version exposes the specific expand or collapse behavior you need; do not assume that modifying a bookmark object will update the pane.

1
Open the SDK documentation

Visit the Adobe Acrobat SDK documentation at https://opensource.adobe.com/dc-acrobat-sdk-docs/ and open the Acrobat plug-in documentation and API reference.

2
Review the plug-in architecture

Find the plug-in development guide and sample projects for your SDK version. Review how a C++ plug-in is built and loaded into Acrobat before adding bookmark functionality.

3
Investigate bookmark support

Search the API reference for PDBookmark, bookmark actions, and navigation-pane behavior. Check the descriptions and version requirements for any relevant methods, including whether they control visible expansion state.

4
Test the supported behavior

Build an appropriate SDK sample using your supported compiler and test it in your target Acrobat version. Use a PDF with nested bookmarks to verify which operations affect the navigation pane.

Review Acrobat SDK bookmark APIs and plug-in examples
API availability may vary: The public SDK may not expose every Acrobat user-interface behavior. If the documentation does not identify a supported method for expanding or collapsing bookmarks, ask Adobe's SDK community before relying on undocumented behavior.
Free Microsoft Office alternative

Use WPS Office for everyday PDF and document work

WPS Office is a free, lightweight alternative for everyday document and PDF work, with a familiar interface and compatibility that makes moving existing files easier. It does not provide an API for developing Adobe Acrobat plug-ins.

Open and read PDFs alongside your other office documentsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar interface for working with existing filesFree, lightweight office suite for everyday tasks
microsoft office alternative - wps office

Frequently Asked Questions

Where can I find Acrobat plug-in examples?

Open the Acrobat SDK documentation and look for its plug-in development guide and sample projects. Choose examples that match your SDK and Acrobat versions.

Does PDBookmark automatically expand the Acrobat bookmark pane?

Do not assume it does. PDBookmark relates to PDF bookmark objects; check the API reference for your SDK version to see whether a supported method controls the visible pane's expansion state.

What should I include in an Acrobat SDK forum post?

Include your Acrobat version, SDK version, compiler, operating system, architecture, and the exact bookmark behavior you need. Also share relevant code and the documentation or samples you have already checked.

Can WPS Office develop or run an Acrobat plug-in?

WPS Office is an alternative for everyday PDF and office document work, not a development environment or replacement host for Adobe Acrobat plug-ins. Use the Acrobat SDK and a supported C++ development environment for the plug-in.