Problem description: When there is selection of region, show row and column count for it. E.g. if somebody select C6:I19, show information "14R:7C" in status bar (or as hint). This is useful information when I need to copy selection to other place (to know about needed space). Operating System: All Version: 4.0.2.2 release
Thanks for reporting. Looks a valid enhancement request to me. Quite related to the "count selected cells" feature (Bug 61541) http://cgit.freedesktop.org/libreoffice/core/commit/?id=e7a5f5ef80c3e66101cfb063cbed0527c0559319 @Eike: we can convert this to an EasYHack too? Kind regards, Joren
Probably, though I currently have no idea how to add yet another item to the status bar, nor if we really want it there. We already have the Name Box in the upper left that displays the selected cell range, I could imagine to display the CxR info also there, as a tooltip, or when hovering over the selection itself.
I wish to work on this feature. Can someone guide me on how to proceed?
For code pointers you can have a look to bug 61541 and related patch http://cgit.freedesktop.org/libreoffice/core/commit/?id=e7a5f5ef80c3e66101cfb063cbed0527c0559319
I started looking around the code for this bug. I believe, that if it is to be implemented as a tooltip, then some new code pointers will be required. Can someone help me with that?
This bug really misses an important code pointer, and that is how to add the information to the status bar: http://cgit.freedesktop.org/libreoffice/core/commit/?id=ce14342c4292628a641a72d4f63d9c048e030c6a is what was done in Writer; so you want to do something similar in Calc. You have to find the appropriate places in Calc to be able to do that, eg. sc/sdi/scalc.sdi instead of sw/sdi/swriter.sdi, sc/source/ui/app/scdll.cxx instead of sw/source/ui/app/swmodule.cxx, sc/source/ui/view/cellsh.cxx instead of sw/source/ui/uiview/view2.cxx. If you "git grep SID_STATUS_DOCPOS", that should give you some additional idea - that is the 'Sheet 1 / 1' indicator in the status bar.
I would want to work on this. I am new to the open source community. Could omeone please guide me on how to proceed ?
I'm sorry, i won't be able to work on this one for now. Someone else might take it up :) @Abhishek, you should start by cloning the LibreOffice repo and building it. After that, look around the code and with the help of the code pointers provided, hack it up a bit and see what magic it does :) Regards, Rachit Gupta
(In reply to comment #8) Thanks a lot. Will do so.
hi.. i am sujay. i ve been working on this hack for quite some time now.. sorry that i havent been updating my status, i am beginner.. i ve posted the patch to gerrit for review. https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=78b2a288f3c6283fa2a4291e49d98363d6c05f7b is this ok??
Created attachment 95923 [details] calc: showing count of selected rows and columns screenshot This attachment is a screenshot of calc, showing the number of rows and columns selected, in the statusbar.
Created attachment 95924 [details] diff file for this bug : count the selected rows and columns. Hi everyone, I will be submitting this patch to gerrit for review very soon. Please tell whether this code resolves this bug or some other enhancements are required. Please provide suggestions or improvements to be made. Thank you Manmeet Singh
Hi Manmeet, screenshot looks great. That's what I need.
Hi eveyone, I have uploaded patch for this bug on gerrit for review. The link is https://gerrit.libreoffice.org/#/c/8640/. Screenshot showing the working of patch is also attached. Please suggest changes and improvements, if any, to fully meet the requirement of this easy hack (ui: count selected rows and columns). Thank you Manmeet singh
Hi everyone, I have uploaded patch for this bug on gerrit for review. The link is https://gerrit.libreoffice.org/#/c/8640/. Screenshot showing the working of patch is also attached. Please suggest changes and improvements, if any, to fully meet the requirement of this easy hack (ui: count selected rows and columns). Thank you Manmeet singh
gdm.manmeet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=82b5ded699fcc03a09b0930213da204a332285e6 fdo#64290 ui:count selected rows and columns The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: ( EasyHack DifficultyBeginner SkillCpp TopicCleanup ) [NinjaEdit]