pdfcpu / pdfcpu

A PDF processor written in Go.
http://pdfcpu.io/
Apache License 2.0
6.48k stars 457 forks source link

CLI: support folding of bookmarks #883

Open tobwen opened 1 month ago

tobwen commented 1 month ago

description

When exporting bookmarks, the JSON-file doesn't include an information about collapse-state.

actual behavior

Details in the JSON-file:

expected behavior

additionally detail

steps to repoduce

pdfcpu bookmarks export outline-test-2.pdf outline-test-2.json

test file

Created with Acrobat Pro, not edited in any way. outline-test-2.pdf

environment

hhrutter commented 1 month ago

Hello!

Can you describe your use case?

tobwen commented 1 month ago

Can you describe your use case?

Sure, I often need to collapse topics at a specific level or to collapse special chapters, according to layout specifications.