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.
nice!
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 !
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.
Thanks jeyli for trying. Is it easier to create a new page jump field instead?
If this bug is still open, I would like to take it up as my first bug. Any suggestions ?
Yes it is still open Rishabh. Please go for it. :D
(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.