[Okular-devel] Search overwiew - I want to implement it, Question

Albert Astals Cid aacid at kde.org
Tue Dec 18 23:44:03 UTC 2012


El Dimarts, 18 de desembre de 2012, a les 23:37:37, Jakub Zakrzewski va 
escriure:
> Hey guys,

Hi

> I downloadad source code of ocular and played with it.
> When I do the search using the thumbnail search bar,
> I can get page numbers where the searched phrase exist.
> 
> Now I'd like to display it not in the form:
> page 1: 2 results
> page 2: 5 results,
> but using Table of Contents.
> 
> Is there any way to get a toc item knowing the page?

No, since there can be more than one toc item per page.

Cheers,
  Albert

> I haven't found anything in source code yet.
> 
> Thanks for your response.
> Jakub


More information about the Okular-devel mailing list