[Okular-devel] [Bug 187237] possibility to go to "bookpage" instead of "pdf-sheet nr."

Albert Astals Cid tsdgeos at terra.es
Mon Jul 18 20:33:26 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=187237





--- Comment #16 from Albert Astals Cid <tsdgeos terra es>  2011-07-18 18:33:25 ---
Hi Daniel, thanks a lot for the patch, i am not sure i like the look and feel
of the two different line edits there. What do you think about this.

Just one lineedit that shows text in the form of
NUMBER [LABEL]
when the user types something there the following algorithm applies:
 * If a number
   * If valid page number go to that page number
   * else if a valid page label go there
 * else if not a number
   * If a valid page label go there
   * else if "[" + a valid page label + "]" go there

i.e. 
if you want to go to page number 2, you write 2
if you want to go to page with label 2, you write [2]
if you want to go to page with label ii, you write ii or [ii]

What do you think? Do you think you can work on implementing this?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list