TPDFlibOutlineViewer
Viewer
Description
TPDFlibOutlineViewer (unit Lib\PDFlibViewer.pas, added in v3.126.0) is a bookmark panel for TPDFlibViewer. It lists the document's outline tree with indentation, and clicking a bookmark navigates the attached viewer to the bookmark's destination page
Syntax
Delphi
Uses PDFlibViewer;
OutlinePanel:= TPDFlibOutlineViewer.Create(Self);
OutlinePanel.Parent:= Self;
OutlinePanel.AttachViewer(PDFViewer);The class adds no public members of its own; the full surface is inherited from TPDFlibViewerPanel
Remarks
The panel rebuilds its rows automatically when a document opens in the attached viewer, mirroring the outline hierarchy through indentation. Bookmarks without a destination are listed but do not navigate. Combine it with TPDFlibSearchPanel and TPDFlibThumbnailBar to assemble a classic reader sidebar
See also
TPDFlibViewerPanel, TPDFlibViewer, TPDFlibSearchPanel, TPDFlibThumbnailBar