Auto-Bookmarks (Pro)
Build a bookmark tree from a document's headings, its contents page, or the title blocks on a set of drawings.
Auto-bookmarks reads the text in your PDF, finds the headings, and proposes a bookmark tree. You check the list before anything is added. It works on PDFs that contain real text. A scanned page has no text to read, so it needs OCR first, which DraftPDF does not have yet.
Add bookmarks automatically
- Choose Document > Auto-bookmarks from headings, or click the wand button in the Bookmarks panel.
- Pick the pages to search. “all” searches the whole document.
- Leave Look for on Automatic and click Detect headings.
- Look through the list. Untick anything that is not a heading, and use the arrows on a row to make it a sub-heading or bring it back out.
- Click Add. The Bookmarks panel opens with the new tree.
What Automatic looks for
If the document has a table of contents page and its entries match the pages they point to, DraftPDF uses that page. It is the most reliable source, and the entries are checked against the headings on the pages they name. Otherwise it looks for headings in the text: lines that are larger than the body text, and lines that start like headings, such as 1.2 Scope, SECTION 03 30 00, ARTICLE IV or Chapter 5. Running headers and footers, and the contents page itself, are left out.
Look for lets you force one of these. Headings in the text ignores the contents page. Table of contents page asks which page the contents starts on, then reads the contents pages (it finds where they end) and then looks at the page each entry points to, so it is much faster than reading a large document. If a page was inserted or is missing part-way through, it notices the page numbers have moved and follows them. Entries whose heading it cannot find are placed by their printed number and listed with lower confidence, so check those in the list.
Drawing sets: teach by example
- Set Look for to Teach by example (drawing sheets). A picture of page 1 appears.
- Use the zoom buttons (zoom out, zoom in, fit whole page) and scroll until the title block is readable.
- With Point at set to Title block field, drag a box round one field, for example the sheet number. Then drag another round the sheet title. Each box gets a number and colour in the order you draw it. Cover the whole field with room for a longer title that wraps to more lines, and leave out the field's label.
- Under the picture, each box shows what it reads on this page. Bookmark text shows how they are combined, such as {1} {2}. Edit it to change the order, or to add your own text, for example {1} – {2}.
- Check the line “This page gives”. It is the bookmark this page will get.
- Click Detect headings. You get one bookmark per sheet, such as “S-101 FOUNDATION PLAN”.
The boxes apply to every page of the same size, because a title block sits in the same place on every sheet. Pages of another size, or with nothing in the boxes you use, are skipped and listed under Look for. You can also set Point at to A heading and click a heading on the page. Every line with the same size, indentation, numbering and capitalisation becomes a bookmark at that level. Pick one sample for each level.