[dev] Re: Implementation of Row Exchange Button in Calc
On 15.06.2011 23:19, Martin Hediger wrote: I was thinking, would it be possible to implement some kind of row-row exchange button in Calc? Of course, the same could apply to column-column exchange. It depends on the desired behavior of that button. Probably it can be a combination of insert rows, move cells and delete rows. These are all available via API, so it can be implemented as an extension. How do you want to select the rows to exchange? Anyway, would be cool if someone could point me out to some part of the code where one might start looking at this. See http://wiki.services.openoffice.org/wiki/Extensions_development for general information about extension development. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] How do I get the source code?
Hello, I have been trying to get the source code for the different projects in open office. Where can find the source code? Thanks. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Thanks for the feedback, indeed it makes intuitively sense to check out that part of the API. The simplest way of defining the rows to exchange (that I can think of right now) would be to just to select two rows in the spreadsheet. If more or less than two rows are selected, this would cause an exception. Martin On 16.06.11 10:42, Niklas Nebel wrote: On 15.06.2011 23:19, Martin Hediger wrote: I was thinking, would it be possible to implement some kind of row-row exchange button in Calc? Of course, the same could apply to column-column exchange. It depends on the desired behavior of that button. Probably it can be a combination of insert rows, move cells and delete rows. These are all available via API, so it can be implemented as an extension. How do you want to select the rows to exchange? Anyway, would be cool if someone could point me out to some part of the code where one might start looking at this. See http://wiki.services.openoffice.org/wiki/Extensions_development for general information about extension development. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Hi, maybe this can help: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla/show_bug.cgi?id=40285 have a look at the attached example ;-) Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature