Detecting bookmarks as chapters on a PDF

Hello to all,
Is it possible to use bookmarks as a way of telling Calibre where a chapter starts on a PDF file?
As a default (at least that`s what happens to me) Calibre simple won't detect the Chapter strecuture of a PDF.
Even if the PDF file already has a table of contents with links to pages on a PDF, Calibre don`t detect them, or points them to cover page of the book.
If is possible to detect bookmarks as chapters how do I do it?
|