PdfOutlinePanel
fun PdfOutlinePanel(state: PdfViewState, modifier: Modifier = Modifier, outline: List<KiteOutlineItem> = state.document.outline, contentPadding: PaddingValues = PaddingValues(8.dp), textStyle: TextStyle = TextStyle(fontSize = 14.sp), textColor: Color = Color(0xFF202124), disabledTextColor: Color = Color(0xFF9AA0A6), currentPageColor: Color = Color(0xFF4A90D9), indent: Dp = 16.dp, onNavigate: (KiteOutlineItem) -> Unit? = null)
A navigation panel over the document's outline (PDF bookmarks / EPUB table of contents): an indented, clickable column of KiteOutlineItems. Clicking an entry with a resolved page scrolls there (and calls onNavigate); entries without one (unresolvable destinations, grouping labels) render dimmed and unclickable. Plain foundation styling, like every widget here.
Parameters
outline
defaults to the document's own KiteDocument.outline (T-25); pass a subtree to scope the panel.
onNavigate
observe navigation (e.g. to close a drawer). The scroll itself already happened.