giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.43k stars 468 forks source link

Node as pdf Bookmarks #1894

Open alincrvan opened 2 years ago

alincrvan commented 2 years ago

Is your feature request related to a problem? Please describe. When you export to pdf, there is no Node Tree at all which makes it very difficult to navigate through pages.

Describe the solution you'd like When you export to pdf it will be great to have a bookmark that contain all Nodes and sub Nodes

example:

Screenshot (11)
giuspen commented 2 years ago

it is a valid point but I don't think that the current library supports it ( https://developer-old.gnome.org/gtkmm/3.24/classGtk_1_1PrintOperation.html ) if you find any GTK application that does that it will help this

AnthonyVO commented 2 years ago

@giuspen: I had a similar request. A decent alternative is to create a table of contents and just print that as the first page similar to how you create an index page for the HTML export.

@ony2020: A good manual alternative is to create a Table of Contents node.

  1. Create a node at the top named "Table of Contents"
  2. Include whatever intro text / title information you want in your PDF.
  3. Insert a TOC from the Insert menu.
  4. Export as PDF