Bug 80657 - UI: Addition of navigator page number field to Page Preview Toolbar
Summary: UI: Addition of navigator page number field to Page Preview Toolbar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: ux-advise (show other bugs)
Version: Inherited From OOo
Hardware: Other All
: low enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: EasyHack DifficultyBeginner SkillCpp ...
Keywords: NEEDINFO
Depends on:
Blocks: 80838
  Show dependency treegraph
 
Reported: 2014-06-28 23:21 UTC by Jay Philips
Modified: 2014-11-26 21:56 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
how the page number field would look on the toolbar (5.57 KB, image/png)
2014-06-28 23:21 UTC, Jay Philips
Details

Description Jay Philips 2014-06-28 23:21:51 UTC
Created attachment 101949 [details]
how the page number field would look on the toolbar

It would be nice to be able to jump to a particular page while in page preview mode without have to use the mouse to scroll to the particular page. So i'd like to suggest the addition to the page preview toolbar, the page number field found in the navigator dialog.
Comment 1 Cor Nouws 2014-06-30 20:54:00 UTC
nice!
Comment 2 Michael Meeks 2014-07-01 11:45:19 UTC
The navigator dialog code is in:

sw/source/uibase/utlui/navipi.cxx:

void SwNavigationPI::GotoPage()
{
...

has some code that we should prolly factor out and re-use somehow =)

In terms of adding a toolbar control with a field in it; here is an example of that:

git grep SvxColorToolBoxControl

Will show you how the Colour Toolbox controls (with their drop down) are created, registered etc.

Thanks !
Comment 3 jeyli 2014-09-22 08:56:45 UTC
I think it's very difficult to re-use code from void SwNavigationPI::GotoPage() in navipi.cxx because there are too many dependencies between variables and methods.
Comment 4 Jay Philips 2014-09-22 11:01:09 UTC
Thanks jeyli for trying. Is it easier to create a new page jump field instead?
Comment 5 Rishabh 2014-11-24 21:37:34 UTC
If this bug is still open, I would like to take it up as my first bug. Any suggestions ?
Comment 6 Jay Philips 2014-11-24 22:25:52 UTC
Yes it is still open Rishabh. Please go for it. :D
Comment 7 Cor Nouws 2014-11-26 17:37:14 UTC
(In reply to Rishabh from comment #5)
> If this bug is still open, I would like to take it up as my first bug. Any
> suggestions ?

Thanks, Please look at comment 2 (here too ;) ) and if you need more suggestions, go to the developer mail list or irc.
Cor


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.